max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstvalue_h.ads | persan/A-gst | 1 | 1966 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib;
with glib.Values;
with System;
with System;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h;
-- limited with GStreamer.GST_Low_Level.glib_2_0_glib_gdate_h;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstvalue_h is
-- arg-macro: function GST_MAKE_FOURCC (a, b, c, d)
-- return (guint32)((a)or(b)<<8or(c)<<16or(d)<<24);
-- arg-macro: function GST_STR_FOURCC (f)
-- return (guint32)(((f)(0))or((f)(1)<<8)or((f)(2)<<16)or((f)(3)<<24));
GST_FOURCC_FORMAT : aliased constant String := "c%c%c%c" & ASCII.NUL; -- gst/gstvalue.h:73
-- arg-macro: function GST_FOURCC_ARGS (fourcc)
-- return (gchar) ((fourcc) and16#ff#)), ((gchar) (((fourcc)>>8 )and16#ff#)), ((gchar) (((fourcc)>>16)and16#ff#)), ((gchar) (((fourcc)>>24)and16#ff#);
-- arg-macro: function GST_VALUE_HOLDS_FOURCC (x)
-- return G_VALUE_HOLDS((x), gst_fourcc_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_INT_RANGE (x)
-- return G_VALUE_HOLDS((x), gst_int_range_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_INT64_RANGE (x)
-- return G_VALUE_HOLDS((x), gst_int64_range_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_DOUBLE_RANGE (x)
-- return G_VALUE_HOLDS((x), gst_double_range_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_FRACTION_RANGE (x)
-- return G_VALUE_HOLDS((x), gst_fraction_range_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_LIST (x)
-- return G_VALUE_HOLDS((x), gst_value_list_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_ARRAY (x)
-- return G_VALUE_HOLDS((x), gst_value_array_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_CAPS (x)
-- return G_VALUE_HOLDS((x), GST_TYPE_CAPS);
-- arg-macro: function GST_VALUE_HOLDS_STRUCTURE (x)
-- return G_VALUE_HOLDS((x), GST_TYPE_STRUCTURE);
-- arg-macro: function GST_VALUE_HOLDS_BUFFER (x)
-- return G_VALUE_HOLDS((x), GST_TYPE_BUFFER);
-- arg-macro: function GST_VALUE_HOLDS_FRACTION (x)
-- return G_VALUE_HOLDS((x), gst_fraction_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_DATE (x)
-- return G_VALUE_HOLDS((x), gst_date_get_type ());
-- arg-macro: function GST_VALUE_HOLDS_DATE_TIME (x)
-- return G_VALUE_HOLDS((x), gst_date_time_get_type ());
-- unsupported macro: GST_TYPE_FOURCC gst_fourcc_get_type ()
-- unsupported macro: GST_TYPE_INT_RANGE gst_int_range_get_type ()
-- unsupported macro: GST_TYPE_INT64_RANGE gst_int64_range_get_type ()
-- unsupported macro: GST_TYPE_DOUBLE_RANGE gst_double_range_get_type ()
-- unsupported macro: GST_TYPE_FRACTION_RANGE gst_fraction_range_get_type ()
-- unsupported macro: GST_TYPE_LIST gst_value_list_get_type ()
-- unsupported macro: GST_TYPE_ARRAY gst_value_array_get_type ()
-- unsupported macro: GST_TYPE_FRACTION gst_fraction_get_type ()
-- unsupported macro: GST_TYPE_DATE gst_date_get_type ()
-- unsupported macro: GST_TYPE_DATE_TIME gst_date_time_get_type ()
GST_VALUE_LESS_THAN : constant := (-1); -- gst/gstvalue.h:310
GST_VALUE_EQUAL : constant := 0; -- gst/gstvalue.h:318
GST_VALUE_GREATER_THAN : constant := 1; -- gst/gstvalue.h:326
GST_VALUE_UNORDERED : constant := 2; -- gst/gstvalue.h:334
-- GStreamer
-- * Copyright (C) <2003> <NAME> <<EMAIL>>
-- *
-- * This library is free software; you can redistribute it and/or
-- * modify it under the terms of the GNU Library General Public
-- * License as published by the Free Software Foundation; either
-- * version 2 of the License, or (at your option) any later version.
-- *
-- * This library is distributed in the hope that it will be useful,
-- * but WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- * Library General Public License for more details.
-- *
-- * You should have received a copy of the GNU Library General Public
-- * License along with this library; if not, write to the
-- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-- * Boston, MA 02111-1307, USA.
--
--*
-- * GST_MAKE_FOURCC:
-- * @a: the first character
-- * @b: the second character
-- * @c: the third character
-- * @d: the fourth character
-- *
-- * Transform four characters into a #guint32 fourcc value with host
-- * endianness.
-- * <informalexample>
-- * <programlisting>
-- * guint32 fourcc = GST_MAKE_FOURCC ('M', 'J', 'P', 'G');
-- * </programlisting>
-- * </informalexample>
--
--*
-- * GST_STR_FOURCC:
-- * @f: a string with at least four characters
-- *
-- * Transform an input string into a #guint32 fourcc value with host
-- * endianness.
-- * Caller is responsible for ensuring the input string consists of at least
-- * four characters.
-- * <informalexample>
-- * <programlisting>
-- * guint32 fourcc = GST_STR_FOURCC ("MJPG");
-- * </programlisting>
-- * </informalexample>
--
--*
-- * GST_FOURCC_FORMAT:
-- *
-- * Can be used together with #GST_FOURCC_ARGS to properly output a
-- * #guint32 fourcc value in a printf()-style text message.
-- * <informalexample>
-- * <programlisting>
-- * printf ("fourcc: %" GST_FOURCC_FORMAT "\n", GST_FOURCC_ARGS (fcc));
-- * </programlisting>
-- * </informalexample>
--
--*
-- * GST_FOURCC_ARGS:
-- * @fourcc: a #guint32 fourcc value to output
-- *
-- * Can be used together with #GST_FOURCC_FORMAT to properly output a
-- * #guint32 fourcc value in a printf()-style text message.
--
--*
-- * GST_VALUE_HOLDS_FOURCC:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_FOURCC value.
--
--*
-- * GST_VALUE_HOLDS_INT_RANGE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_INT_RANGE value.
--
--*
-- * GST_VALUE_HOLDS_INT64_RANGE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_INT64_RANGE value.
-- *
-- * Since: 0.10.31
--
--*
-- * GST_VALUE_HOLDS_DOUBLE_RANGE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_DOUBLE_RANGE value.
--
--*
-- * GST_VALUE_HOLDS_FRACTION_RANGE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_FRACTION_RANGE value.
--
--*
-- * GST_VALUE_HOLDS_LIST:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_LIST value.
--
--*
-- * GST_VALUE_HOLDS_ARRAY:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_ARRAY value.
--
--*
-- * GST_VALUE_HOLDS_CAPS:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_CAPS value.
--
--*
-- * GST_VALUE_HOLDS_STRUCTURE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_STRUCTURE value.
-- *
-- * Since: 0.10.15
--
--*
-- * GST_VALUE_HOLDS_BUFFER:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_BUFFER value.
--
--*
-- * GST_VALUE_HOLDS_FRACTION:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_FRACTION value.
--
--*
-- * GST_VALUE_HOLDS_DATE:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_DATE value.
--
--*
-- * GST_VALUE_HOLDS_DATE_TIME:
-- * @x: the #GValue to check
-- *
-- * Checks if the given #GValue contains a #GST_TYPE_DATE_TIME value.
-- *
-- * Since: 0.10.31
--
--*
-- * GST_TYPE_FOURCC:
-- *
-- * a #GValue type that represents 4 byte identifier (e.g. used for codecs)
-- *
-- * Returns: the #GType of GstFourcc
--
--*
-- * GST_TYPE_INT_RANGE:
-- *
-- * a #GValue type that represents an integer range
-- *
-- * Returns: the #GType of GstIntRange
--
--*
-- * GST_TYPE_INT64_RANGE:
-- *
-- * a #GValue type that represents an #gint64 range
-- *
-- * Returns: the #GType of GstInt64Range
-- *
-- * Since: 0.10.31
--
--*
-- * GST_TYPE_DOUBLE_RANGE:
-- *
-- * a #GValue type that represents a floating point range with double precission
-- *
-- * Returns: the #GType of GstIntRange
--
--*
-- * GST_TYPE_FRACTION_RANGE:
-- *
-- * a #GValue type that represents a GstFraction range
-- *
-- * Returns: the #GType of GstFractionRange
--
--*
-- * GST_TYPE_LIST:
-- *
-- * a #GValue type that represents an unordered list of #GValue values. This
-- * is used for example to express a list of possible values for a field in
-- * a caps structure, like a list of possible sample rates, of which only one
-- * will be chosen in the end. This means that all values in the list are
-- * meaningful on their own.
-- *
-- * Returns: the #GType of GstValueList (which is not explicitly typed)
--
--*
-- * GST_TYPE_ARRAY:
-- *
-- * a #GValue type that represents an ordered list of #GValue values. This is
-- * used to express a set of values that is meaningful only in their specific
-- * combination and order of values. Each value on its own is not particularly
-- * meaningful, only the ordered array in its entirety is meaningful. This is
-- * used for example to express channel layouts for multichannel audio where
-- * each channel needs to be mapped to a position in the room.
-- *
-- * Returns: the #GType of GstArrayList (which is not explicitly typed)
--
--*
-- * GST_TYPE_FRACTION:
-- *
-- * a #GValue type that represents a fraction of an integer numerator over
-- * an integer denominator
-- *
-- * Returns: the #GType of GstFraction (which is not explicitly typed)
--
--*
-- * GST_TYPE_DATE:
-- *
-- * a boxed #GValue type for #GDate that represents a date.
-- *
-- * Returns: the #GType of GstDate
--
--*
-- * GST_TYPE_DATE_TIME:
-- *
-- * a boxed #GValue type for #GstDateTime that represents a date and time.
-- *
-- * Returns: the #GType of GstDateTime
-- * Since: 0.10.31
--
--*
-- * GST_VALUE_LESS_THAN:
-- *
-- * Indicates that the first value provided to a comparison function
-- * (gst_value_compare()) is lesser than the second one.
--
--*
-- * GST_VALUE_EQUAL:
-- *
-- * Indicates that the first value provided to a comparison function
-- * (gst_value_compare()) is equal to the second one.
--
--*
-- * GST_VALUE_GREATER_THAN:
-- *
-- * Indicates that the first value provided to a comparison function
-- * (gst_value_compare()) is greater than the second one.
--
--*
-- * GST_VALUE_UNORDERED:
-- *
-- * Indicates that the comparison function (gst_value_compare()) can not
-- * determine a order for the two provided values.
--
--*
-- * GstValueCompareFunc:
-- * @value1: first value for comparison
-- * @value2: second value for comparison
-- *
-- * Used together with gst_value_compare() to compare #GValue items.
-- *
-- * Returns: one of GST_VALUE_LESS_THAN, GST_VALUE_EQUAL, GST_VALUE_GREATER_THAN
-- * or GST_VALUE_UNORDERED
--
type GstValueCompareFunc is access function (arg1 : access constant Glib.Values.GValue; arg2 : access constant Glib.Values.GValue) return GLIB.gint;
pragma Convention (C, GstValueCompareFunc); -- gst/gstvalue.h:346
--*
-- * GstValueSerializeFunc:
-- * @value1: a #GValue
-- *
-- * Used by gst_value_serialize() to obtain a non-binary form of the #GValue.
-- *
-- * Free-function: g_free
-- *
-- * Returns: (transfer full): the string representation of the value
--
type GstValueSerializeFunc is access function (arg1 : access constant Glib.Values.GValue) return access GLIB.gchar;
pragma Convention (C, GstValueSerializeFunc); -- gst/gstvalue.h:359
--*
-- * GstValueDeserializeFunc:
-- * @dest: a #GValue
-- * @s: a string
-- *
-- * Used by gst_value_deserialize() to parse a non-binary form into the #GValue.
-- *
-- * Returns: %TRUE for success
--
type GstValueDeserializeFunc is access function (arg1 : access Glib.Values.GValue; arg2 : access GLIB.gchar) return GLIB.gboolean;
pragma Convention (C, GstValueDeserializeFunc); -- gst/gstvalue.h:370
--*
-- * GstValueUnionFunc:
-- * @dest: a #GValue for the result
-- * @value1: a #GValue operand
-- * @value2: a #GValue operand
-- *
-- * Used by gst_value_union() to perform unification for a specific #GValue
-- * type. Register a new implementation with gst_value_register_union_func().
-- *
-- * Returns: %TRUE if a union was successful
--
type GstValueUnionFunc is access function
(arg1 : access Glib.Values.GValue;
arg2 : access constant Glib.Values.GValue;
arg3 : access constant Glib.Values.GValue) return GLIB.gboolean;
pragma Convention (C, GstValueUnionFunc); -- gst/gstvalue.h:384
--*
-- * GstValueIntersectFunc:
-- * @dest: (out caller-allocates): a #GValue for the result
-- * @value1: a #GValue operand
-- * @value2: a #GValue operand
-- *
-- * Used by gst_value_intersect() to perform intersection for a specific #GValue
-- * type. If the intersection is non-empty, the result is
-- * placed in @dest and TRUE is returned. If the intersection is
-- * empty, @dest is unmodified and FALSE is returned.
-- * Register a new implementation with gst_value_register_intersect_func().
-- *
-- * Returns: %TRUE if the values can intersect
--
type GstValueIntersectFunc is access function
(arg1 : access Glib.Values.GValue;
arg2 : access constant Glib.Values.GValue;
arg3 : access constant Glib.Values.GValue) return GLIB.gboolean;
pragma Convention (C, GstValueIntersectFunc); -- gst/gstvalue.h:402
--*
-- * GstValueSubtractFunc:
-- * @dest: (out caller-allocates): a #GValue for the result
-- * @minuend: a #GValue operand
-- * @subtrahend: a #GValue operand
-- *
-- * Used by gst_value_subtract() to perform subtraction for a specific #GValue
-- * type. Register a new implementation with gst_value_register_subtract_func().
-- *
-- * Returns: %TRUE if the subtraction is not empty
--
type GstValueSubtractFunc is access function
(arg1 : access Glib.Values.GValue;
arg2 : access constant Glib.Values.GValue;
arg3 : access constant Glib.Values.GValue) return GLIB.gboolean;
pragma Convention (C, GstValueSubtractFunc); -- gst/gstvalue.h:417
type GstValueTable;
type u_GstValueTable_u_gst_reserved_array is array (0 .. 3) of System.Address;
--subtype GstValueTable is u_GstValueTable; -- gst/gstvalue.h:421
--*
-- * GstValueTable:
-- * @type: a #GType
-- * @compare: a #GstValueCompareFunc
-- * @serialize: a #GstValueSerializeFunc
-- * @deserialize: a #GstValueDeserializeFunc
-- *
-- * VTable for the #GValue @type.
--
type GstValueTable is record
c_type : aliased GLIB.GType; -- gst/gstvalue.h:432
compare : GstValueCompareFunc; -- gst/gstvalue.h:433
serialize : GstValueSerializeFunc; -- gst/gstvalue.h:434
deserialize : GstValueDeserializeFunc; -- gst/gstvalue.h:435
u_gst_reserved : u_GstValueTable_u_gst_reserved_array; -- gst/gstvalue.h:438
end record;
pragma Convention (C_Pass_By_Copy, GstValueTable); -- gst/gstvalue.h:431
--< private >
function gst_int_range_get_type return GLIB.GType; -- gst/gstvalue.h:441
pragma Import (C, gst_int_range_get_type, "gst_int_range_get_type");
function gst_int64_range_get_type return GLIB.GType; -- gst/gstvalue.h:442
pragma Import (C, gst_int64_range_get_type, "gst_int64_range_get_type");
function gst_double_range_get_type return GLIB.GType; -- gst/gstvalue.h:443
pragma Import (C, gst_double_range_get_type, "gst_double_range_get_type");
function gst_fraction_range_get_type return GLIB.GType; -- gst/gstvalue.h:444
pragma Import (C, gst_fraction_range_get_type, "gst_fraction_range_get_type");
function gst_fourcc_get_type return GLIB.GType; -- gst/gstvalue.h:445
pragma Import (C, gst_fourcc_get_type, "gst_fourcc_get_type");
function gst_fraction_get_type return GLIB.GType; -- gst/gstvalue.h:446
pragma Import (C, gst_fraction_get_type, "gst_fraction_get_type");
function gst_value_list_get_type return GLIB.GType; -- gst/gstvalue.h:447
pragma Import (C, gst_value_list_get_type, "gst_value_list_get_type");
function gst_value_array_get_type return GLIB.GType; -- gst/gstvalue.h:448
pragma Import (C, gst_value_array_get_type, "gst_value_array_get_type");
function gst_date_get_type return GLIB.GType; -- gst/gstvalue.h:450
pragma Import (C, gst_date_get_type, "gst_date_get_type");
function gst_date_time_get_type return GLIB.GType; -- gst/gstvalue.h:451
pragma Import (C, gst_date_time_get_type, "gst_date_time_get_type");
procedure gst_value_register (table : access constant GstValueTable); -- gst/gstvalue.h:453
pragma Import (C, gst_value_register, "gst_value_register");
procedure gst_value_init_and_copy (dest : access Glib.Values.GValue; src : access constant Glib.Values.GValue); -- gst/gstvalue.h:454
pragma Import (C, gst_value_init_and_copy, "gst_value_init_and_copy");
function gst_value_serialize (value : access constant Glib.Values.GValue) return access GLIB.gchar; -- gst/gstvalue.h:457
pragma Import (C, gst_value_serialize, "gst_value_serialize");
function gst_value_deserialize (dest : access Glib.Values.GValue; src : access GLIB.gchar) return GLIB.gboolean; -- gst/gstvalue.h:458
pragma Import (C, gst_value_deserialize, "gst_value_deserialize");
-- list
procedure gst_value_list_append_value (value : access Glib.Values.GValue; append_value : access constant Glib.Values.GValue); -- gst/gstvalue.h:462
pragma Import (C, gst_value_list_append_value, "gst_value_list_append_value");
procedure gst_value_list_prepend_value (value : access Glib.Values.GValue; prepend_value : access constant Glib.Values.GValue); -- gst/gstvalue.h:464
pragma Import (C, gst_value_list_prepend_value, "gst_value_list_prepend_value");
procedure gst_value_list_concat
(dest : access Glib.Values.GValue;
value1 : access constant Glib.Values.GValue;
value2 : access constant Glib.Values.GValue); -- gst/gstvalue.h:466
pragma Import (C, gst_value_list_concat, "gst_value_list_concat");
procedure gst_value_list_merge
(dest : access Glib.Values.GValue;
value1 : access constant Glib.Values.GValue;
value2 : access constant Glib.Values.GValue); -- gst/gstvalue.h:469
pragma Import (C, gst_value_list_merge, "gst_value_list_merge");
function gst_value_list_get_size (value : access constant Glib.Values.GValue) return GLIB.guint; -- gst/gstvalue.h:472
pragma Import (C, gst_value_list_get_size, "gst_value_list_get_size");
function gst_value_list_get_value (value : access constant Glib.Values.GValue; index : GLIB.guint) return access constant Glib.Values.GValue; -- gst/gstvalue.h:473
pragma Import (C, gst_value_list_get_value, "gst_value_list_get_value");
-- array
procedure gst_value_array_append_value (value : access Glib.Values.GValue; append_value : access constant Glib.Values.GValue); -- gst/gstvalue.h:477
pragma Import (C, gst_value_array_append_value, "gst_value_array_append_value");
procedure gst_value_array_prepend_value (value : access Glib.Values.GValue; prepend_value : access constant Glib.Values.GValue); -- gst/gstvalue.h:479
pragma Import (C, gst_value_array_prepend_value, "gst_value_array_prepend_value");
function gst_value_array_get_size (value : access constant Glib.Values.GValue) return GLIB.guint; -- gst/gstvalue.h:481
pragma Import (C, gst_value_array_get_size, "gst_value_array_get_size");
function gst_value_array_get_value (value : access constant Glib.Values.GValue; index : GLIB.guint) return access constant Glib.Values.GValue; -- gst/gstvalue.h:482
pragma Import (C, gst_value_array_get_value, "gst_value_array_get_value");
-- fourcc
procedure gst_value_set_fourcc (value : access Glib.Values.GValue; fourcc : GLIB.guint32); -- gst/gstvalue.h:486
pragma Import (C, gst_value_set_fourcc, "gst_value_set_fourcc");
function gst_value_get_fourcc (value : access constant Glib.Values.GValue) return GLIB.guint32; -- gst/gstvalue.h:488
pragma Import (C, gst_value_get_fourcc, "gst_value_get_fourcc");
-- int range
procedure gst_value_set_int_range
(value : access Glib.Values.GValue;
start : GLIB.gint;
c_end : GLIB.gint); -- gst/gstvalue.h:491
pragma Import (C, gst_value_set_int_range, "gst_value_set_int_range");
function gst_value_get_int_range_min (value : access constant Glib.Values.GValue) return GLIB.gint; -- gst/gstvalue.h:494
pragma Import (C, gst_value_get_int_range_min, "gst_value_get_int_range_min");
function gst_value_get_int_range_max (value : access constant Glib.Values.GValue) return GLIB.gint; -- gst/gstvalue.h:495
pragma Import (C, gst_value_get_int_range_max, "gst_value_get_int_range_max");
-- int64 range
procedure gst_value_set_int64_range
(value : access Glib.Values.GValue;
start : GLIB.gint64;
c_end : GLIB.gint64); -- gst/gstvalue.h:498
pragma Import (C, gst_value_set_int64_range, "gst_value_set_int64_range");
function gst_value_get_int64_range_min (value : access constant Glib.Values.GValue) return GLIB.gint64; -- gst/gstvalue.h:501
pragma Import (C, gst_value_get_int64_range_min, "gst_value_get_int64_range_min");
function gst_value_get_int64_range_max (value : access constant Glib.Values.GValue) return GLIB.gint64; -- gst/gstvalue.h:502
pragma Import (C, gst_value_get_int64_range_max, "gst_value_get_int64_range_max");
-- double range
procedure gst_value_set_double_range
(value : access Glib.Values.GValue;
start : GLIB.gdouble;
c_end : GLIB.gdouble); -- gst/gstvalue.h:505
pragma Import (C, gst_value_set_double_range, "gst_value_set_double_range");
function gst_value_get_double_range_min (value : access constant Glib.Values.GValue) return GLIB.gdouble; -- gst/gstvalue.h:508
pragma Import (C, gst_value_get_double_range_min, "gst_value_get_double_range_min");
function gst_value_get_double_range_max (value : access constant Glib.Values.GValue) return GLIB.gdouble; -- gst/gstvalue.h:509
pragma Import (C, gst_value_get_double_range_max, "gst_value_get_double_range_max");
-- caps
function gst_value_get_caps (value : access constant Glib.Values.GValue) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps; -- gst/gstvalue.h:512
pragma Import (C, gst_value_get_caps, "gst_value_get_caps");
procedure gst_value_set_caps (value : access Glib.Values.GValue; caps : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h.GstCaps); -- gst/gstvalue.h:513
pragma Import (C, gst_value_set_caps, "gst_value_set_caps");
-- structure
function gst_value_get_structure (value : access constant Glib.Values.GValue) return access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h.GstStructure; -- gst/gstvalue.h:518
pragma Import (C, gst_value_get_structure, "gst_value_get_structure");
procedure gst_value_set_structure (value : access Glib.Values.GValue; structure : access constant GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h.GstStructure); -- gst/gstvalue.h:519
pragma Import (C, gst_value_set_structure, "gst_value_set_structure");
-- fraction
procedure gst_value_set_fraction
(value : access Glib.Values.GValue;
numerator : GLIB.gint;
denominator : GLIB.gint); -- gst/gstvalue.h:523
pragma Import (C, gst_value_set_fraction, "gst_value_set_fraction");
function gst_value_get_fraction_numerator (value : access constant Glib.Values.GValue) return GLIB.gint; -- gst/gstvalue.h:526
pragma Import (C, gst_value_get_fraction_numerator, "gst_value_get_fraction_numerator");
function gst_value_get_fraction_denominator (value : access constant Glib.Values.GValue) return GLIB.gint; -- gst/gstvalue.h:527
pragma Import (C, gst_value_get_fraction_denominator, "gst_value_get_fraction_denominator");
function gst_value_fraction_multiply
(product : access Glib.Values.GValue;
factor1 : access constant Glib.Values.GValue;
factor2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:528
pragma Import (C, gst_value_fraction_multiply, "gst_value_fraction_multiply");
function gst_value_fraction_subtract
(dest : access Glib.Values.GValue;
minuend : access constant Glib.Values.GValue;
subtrahend : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:531
pragma Import (C, gst_value_fraction_subtract, "gst_value_fraction_subtract");
-- fraction range
procedure gst_value_set_fraction_range
(value : access Glib.Values.GValue;
start : access constant Glib.Values.GValue;
c_end : access constant Glib.Values.GValue); -- gst/gstvalue.h:536
pragma Import (C, gst_value_set_fraction_range, "gst_value_set_fraction_range");
procedure gst_value_set_fraction_range_full
(value : access Glib.Values.GValue;
numerator_start : GLIB.gint;
denominator_start : GLIB.gint;
numerator_end : GLIB.gint;
denominator_end : GLIB.gint); -- gst/gstvalue.h:539
pragma Import (C, gst_value_set_fraction_range_full, "gst_value_set_fraction_range_full");
function gst_value_get_fraction_range_min (value : access constant Glib.Values.GValue) return access constant Glib.Values.GValue; -- gst/gstvalue.h:544
pragma Import (C, gst_value_get_fraction_range_min, "gst_value_get_fraction_range_min");
function gst_value_get_fraction_range_max (value : access constant Glib.Values.GValue) return access constant Glib.Values.GValue; -- gst/gstvalue.h:545
pragma Import (C, gst_value_get_fraction_range_max, "gst_value_get_fraction_range_max");
-- date
function gst_value_get_date (value : access constant Glib.Values.GValue) return access constant GStreamer.GST_Low_Level.glib_2_0_glib_gdate_h.GDate; -- gst/gstvalue.h:548
pragma Import (C, gst_value_get_date, "gst_value_get_date");
procedure gst_value_set_date (value : access Glib.Values.GValue; date : access constant GStreamer.GST_Low_Level.glib_2_0_glib_gdate_h.GDate); -- gst/gstvalue.h:549
pragma Import (C, gst_value_set_date, "gst_value_set_date");
-- compare
function gst_value_compare (value1 : access constant Glib.Values.GValue; value2 : access constant Glib.Values.GValue) return GLIB.gint; -- gst/gstvalue.h:553
pragma Import (C, gst_value_compare, "gst_value_compare");
function gst_value_can_compare (value1 : access constant Glib.Values.GValue; value2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:555
pragma Import (C, gst_value_can_compare, "gst_value_can_compare");
-- union
function gst_value_union
(dest : access Glib.Values.GValue;
value1 : access constant Glib.Values.GValue;
value2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:558
pragma Import (C, gst_value_union, "gst_value_union");
function gst_value_can_union (value1 : access constant Glib.Values.GValue; value2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:561
pragma Import (C, gst_value_can_union, "gst_value_can_union");
procedure gst_value_register_union_func
(type1 : GLIB.GType;
type2 : GLIB.GType;
func : GstValueUnionFunc); -- gst/gstvalue.h:563
pragma Import (C, gst_value_register_union_func, "gst_value_register_union_func");
-- intersection
function gst_value_intersect
(dest : access Glib.Values.GValue;
value1 : access constant Glib.Values.GValue;
value2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:568
pragma Import (C, gst_value_intersect, "gst_value_intersect");
function gst_value_can_intersect (value1 : access constant Glib.Values.GValue; value2 : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:571
pragma Import (C, gst_value_can_intersect, "gst_value_can_intersect");
procedure gst_value_register_intersect_func
(type1 : GLIB.GType;
type2 : GLIB.GType;
func : GstValueIntersectFunc); -- gst/gstvalue.h:573
pragma Import (C, gst_value_register_intersect_func, "gst_value_register_intersect_func");
-- subtraction
function gst_value_subtract
(dest : access Glib.Values.GValue;
minuend : access constant Glib.Values.GValue;
subtrahend : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:578
pragma Import (C, gst_value_subtract, "gst_value_subtract");
function gst_value_can_subtract (minuend : access constant Glib.Values.GValue; subtrahend : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:581
pragma Import (C, gst_value_can_subtract, "gst_value_can_subtract");
procedure gst_value_register_subtract_func
(minuend_type : GLIB.GType;
subtrahend_type : GLIB.GType;
func : GstValueSubtractFunc); -- gst/gstvalue.h:583
pragma Import (C, gst_value_register_subtract_func, "gst_value_register_subtract_func");
-- fixation
function gst_value_is_fixed (value : access constant Glib.Values.GValue) return GLIB.gboolean; -- gst/gstvalue.h:588
pragma Import (C, gst_value_is_fixed, "gst_value_is_fixed");
end GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstvalue_h;
|
PRG/levels/Sky/5-7.asm | narfman0/smb3_pp1 | 0 | 82926 | ; Original address was $AEB8
; 5-7 upper
.word W507_LowerL ; Alternate level layout
.word W507_LowerO ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_180
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBANK_INDEX(13) | LEVEL4_INITACT_NOTHING
.byte LEVEL5_BGM_ATHLETIC | LEVEL5_TIME_300
.byte $0A, $02, $02, $0C, $0E, $02, $0F, $03, $02, $12, $04, $02, $12, $0C, $02, $0E
.byte $7A, $02, $11, $7D, $02, $14, $78, $02, $6F, $00, $46, $05, $76, $00, $42, $0F
.byte $79, $00, $40, $2B, $79, $00, $21, $2B, $0A, $1C, $02, $0C, $1E, $02, $11, $19
.byte $02, $11, $1F, $02, $12, $10, $02, $73, $12, $40, $01, $73, $1F, $45, $02, $77
.byte $18, $42, $06, $35, $19, $03, $35, $1B, $20, $35, $1D, $20, $37, $10, $10, $38
.byte $10, $10, $39, $10, $10, $3A, $10, $10, $36, $14, $10, $37, $14, $10, $38, $14
.byte $10, $39, $14, $10, $3A, $14, $10, $39, $18, $10, $39, $1A, $10, $39, $1C, $10
.byte $39, $1E, $10, $3A, $18, $16, $0C, $28, $02, $0E, $28, $02, $11, $29, $02, $6F
.byte $26, $41, $03, $76, $22, $42, $09, $71, $31, $49, $0F, $35, $25, $03, $35, $27
.byte $20, $35, $29, $20, $3A, $22, $10, $34, $2E, $14, $35, $2E, $14, $36, $2C, $16
.byte $37, $2C, $16, $38, $2C, $16, $39, $2C, $16, $3A, $2C, $16, $38, $22, $10, $39
.byte $22, $10, $57, $22, $04, $0C, $32, $02, $6F, $3A, $41, $0B, $34, $33, $42, $34
.byte $39, $43, $37, $34, $03, $37, $33, $0B, $37, $3A, $21, $37, $3A, $03, $3A, $34
.byte $46, $3A, $3C, $40, $33, $3F, $10, $35, $3D, $17, $36, $3D, $17, $37, $3D, $17
.byte $38, $3D, $17, $39, $3D, $17, $0E, $42, $02, $10, $4A, $02, $0A, $52, $02, $0D
.byte $51, $02, $11, $51, $02, $11, $5B, $02, $71, $41, $43, $03, $75, $45, $45, $0F
.byte $33, $43, $10, $34, $3D, $17, $3A, $3D, $1C, $33, $50, $09, $37, $45, $09, $0B
.byte $63, $02, $0F, $63, $02, $13, $65, $02, $76, $55, $44, $15, $34, $55, $10, $3A
.byte $5A, $1F, $58, $60, $31, $79, $6B, $21, $24, $57, $66, $30, $38, $62, $11, $38
.byte $65, $11, $38, $68, $11, $39, $62, $18, $3A, $6A, $10, $38, $36, $91, $E3, $12
.byte $20, $37, $50, $A2, $38, $7D, $E2, $E7, $73, $25, $3A, $4C, $1B, $FF
|
programs/oeis/164/A164284.asm | karttu/loda | 1 | 29463 | ; A164284: a(n) = 15*n-7.
; 8,23,38,53,68,83,98,113,128,143,158,173,188,203,218,233,248,263,278,293,308,323,338,353,368,383,398,413,428,443,458,473,488,503,518,533,548,563,578,593,608,623,638,653,668,683,698,713,728,743,758,773,788,803,818,833,848,863,878,893,908,923,938,953,968,983,998,1013,1028,1043,1058,1073,1088,1103,1118,1133,1148,1163,1178,1193,1208,1223,1238,1253,1268,1283,1298,1313,1328,1343,1358,1373,1388,1403,1418,1433,1448,1463,1478,1493,1508,1523,1538,1553,1568,1583,1598,1613,1628,1643,1658,1673,1688,1703,1718,1733,1748,1763,1778,1793,1808,1823,1838,1853,1868,1883,1898,1913,1928,1943,1958,1973,1988,2003,2018,2033,2048,2063,2078,2093,2108,2123,2138,2153,2168,2183,2198,2213,2228,2243,2258,2273,2288,2303,2318,2333,2348,2363,2378,2393,2408,2423,2438,2453,2468,2483,2498,2513,2528,2543,2558,2573,2588,2603,2618,2633,2648,2663,2678,2693,2708,2723,2738,2753,2768,2783,2798,2813,2828,2843,2858,2873,2888,2903,2918,2933,2948,2963,2978,2993,3008,3023,3038,3053,3068,3083,3098,3113,3128,3143,3158,3173,3188,3203,3218,3233,3248,3263,3278,3293,3308,3323,3338,3353,3368,3383,3398,3413,3428,3443,3458,3473,3488,3503,3518,3533,3548,3563,3578,3593,3608,3623,3638,3653,3668,3683,3698,3713,3728,3743
mov $1,$0
mul $1,15
add $1,8
|
programs/oeis/002/A002409.asm | neoneye/loda | 22 | 84000 | <gh_stars>10-100
; A002409: a(n) = 2^n*C(n+6,6). Number of 6D hypercubes in an (n+6)-dimensional hypercube.
; 1,14,112,672,3360,14784,59136,219648,768768,2562560,8200192,25346048,76038144,222265344,635043840,1778122752,4889837568,13231325184,35283533824,92851404800,241413652480,620777963520,1580162088960,3984756572160,9961891430400,24705490747392,60813515685888,148655260565504,361019918516224,871427389521920,2091425734852608,4992435625132032,11857034609688576,28025718168354816,65942866278481920,154494715281014784,360487668989034496,837890257650188288,1940377438768857088,4477794089466593280,10298926405773164544,23612172735187255296,53970680537570869248,123002946341440585728,279552150776001331200,633651541758936350720,1432603485715856097280,3230978074167675453440,7269700666877269770240,16319736190948972953600,36556209067725699416064,81713879092563328106496,182284807206487424237568,405841646233311623774208,901870324962914719498240,2000512357190465377796096,4429705933778887622262784,9791981537827014743949312,21609890290376860124577792,47615012504220200274493440,104753027509284440603885568,230113207971215000670830592,504764456194923227277950976,1105674523093641354989797376,2418663019267340464040181760,5283848442091728398364704768,11528396600927407414613901312,25121580652767186306472083456,54676381420728581961145122816,118861698740714308611185049600,258099688694122498698573250560,559821859984434715487046205440,1212947363299608550221933445120,2625283334264906177192677867520,5676288290302499842578762956800,12260782707053399659970127986688,26457478473115230845198697234432,57038200344638030133804983648256,122851508434604987980503041703936,264364005492187948818804013793280,568382611808204089960428629655552,1220970054995401378433513352593408,2620618654624276129320711586054144,5620121934013507843603453762863104,12043118430028945379150258063278080,25786441814885506576533493735489536,55170991789987595466071661015465984,117951775551007962720566999412375552,251987884131698829448484044199165952,537951662753064916800134476380241920
mov $1,-2
pow $1,$0
mov $2,-7
bin $2,$0
mul $1,$2
mov $0,$1
|
scripts/SMS/models_20210203/sat_46_20_6_3_3_2.als | eskang/alloy-maxsat-benchmark | 0 | 2332 |
abstract sig Task {
frags: set Frag,
r: Int,
d: Int,
first: Frag,
final: Frag,
deps: set Task
}
sig Completed in Task {}
one sig T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45 extends Task {}
fact {
frags =
T0 -> T0_0 +
T1 -> T1_0 + T1 -> T1_1 +
T2 -> T2_0 + T2 -> T2_1 +
T3 -> T3_0 +
T4 -> T4_0 + T4 -> T4_1 +
T5 -> T5_0 +
T6 -> T6_0 +
T7 -> T7_0 +
T8 -> T8_0 + T8 -> T8_1 +
T9 -> T9_0 +
T10 -> T10_0 + T10 -> T10_1 +
T11 -> T11_0 + T11 -> T11_1 + T11 -> T11_2 +
T12 -> T12_0 +
T13 -> T13_0 + T13 -> T13_1 +
T14 -> T14_0 +
T15 -> T15_0 +
T16 -> T16_0 + T16 -> T16_1 +
T17 -> T17_0 + T17 -> T17_1 +
T18 -> T18_0 + T18 -> T18_1 + T18 -> T18_2 +
T19 -> T19_0 + T19 -> T19_1 + T19 -> T19_2 +
T20 -> T20_0 + T20 -> T20_1 +
T21 -> T21_0 + T21 -> T21_1 + T21 -> T21_2 +
T22 -> T22_0 + T22 -> T22_1 +
T23 -> T23_0 +
T24 -> T24_0 + T24 -> T24_1 +
T25 -> T25_0 +
T26 -> T26_0 +
T27 -> T27_0 + T27 -> T27_1 + T27 -> T27_2 +
T28 -> T28_0 + T28 -> T28_1 + T28 -> T28_2 +
T29 -> T29_0 +
T30 -> T30_0 + T30 -> T30_1 +
T31 -> T31_0 + T31 -> T31_1 + T31 -> T31_2 +
T32 -> T32_0 +
T33 -> T33_0 +
T34 -> T34_0 +
T35 -> T35_0 + T35 -> T35_1 + T35 -> T35_2 +
T36 -> T36_0 +
T37 -> T37_0 +
T38 -> T38_0 +
T39 -> T39_0 + T39 -> T39_1 + T39 -> T39_2 +
T40 -> T40_0 + T40 -> T40_1 + T40 -> T40_2 +
T41 -> T41_0 + T41 -> T41_1 +
T42 -> T42_0 +
T43 -> T43_0 + T43 -> T43_1 + T43 -> T43_2 +
T44 -> T44_0 +
T45 -> T45_0 + T45 -> T45_1
r = T0 -> 7 + T1 -> 0 + T2 -> 15 + T3 -> 13 + T4 -> 4 + T5 -> 13 + T6 -> 2 + T7 -> 10 + T8 -> 13 + T9 -> 8 + T10 -> 2 + T11 -> 17 + T12 -> 12 + T13 -> 13 + T14 -> 19 + T15 -> 10 + T16 -> 5 + T17 -> 5 + T18 -> 13 + T19 -> 10 + T20 -> 5 + T21 -> 19 + T22 -> 15 + T23 -> 16 + T24 -> 7 + T25 -> 9 + T26 -> 20 + T27 -> 15 + T28 -> 1 + T29 -> 20 + T30 -> 12 + T31 -> 9 + T32 -> 13 + T33 -> 7 + T34 -> 5 + T35 -> 10 + T36 -> 9 + T37 -> 2 + T38 -> 5 + T39 -> 11 + T40 -> 19 + T41 -> 12 + T42 -> 20 + T43 -> 20 + T44 -> 12 + T45 -> 12
d = T0 -> 16 + T1 -> 12 + T2 -> 20 + T3 -> 17 + T4 -> 7 + T5 -> 15 + T6 -> 3 + T7 -> 19 + T8 -> 19 + T9 -> 12 + T10 -> 20 + T11 -> 23 + T12 -> 21 + T13 -> 23 + T14 -> 23 + T15 -> 16 + T16 -> 17 + T17 -> 15 + T18 -> 25 + T19 -> 18 + T20 -> 23 + T21 -> 22 + T22 -> 20 + T23 -> 31 + T24 -> 11 + T25 -> 12 + T26 -> 21 + T27 -> 21 + T28 -> 19 + T29 -> 21 + T30 -> 14 + T31 -> 19 + T32 -> 16 + T33 -> 9 + T34 -> 6 + T35 -> 18 + T36 -> 27 + T37 -> 4 + T38 -> 11 + T39 -> 20 + T40 -> 31 + T41 -> 14 + T42 -> 26 + T43 -> 23 + T44 -> 16 + T45 -> 21
first = T0 -> T0_0 + T1 -> T1_0 + T2 -> T2_0 + T3 -> T3_0 + T4 -> T4_0 + T5 -> T5_0 + T6 -> T6_0 + T7 -> T7_0 + T8 -> T8_0 + T9 -> T9_0 + T10 -> T10_0 + T11 -> T11_0 + T12 -> T12_0 + T13 -> T13_0 + T14 -> T14_0 + T15 -> T15_0 + T16 -> T16_0 + T17 -> T17_0 + T18 -> T18_0 + T19 -> T19_0 + T20 -> T20_0 + T21 -> T21_0 + T22 -> T22_0 + T23 -> T23_0 + T24 -> T24_0 + T25 -> T25_0 + T26 -> T26_0 + T27 -> T27_0 + T28 -> T28_0 + T29 -> T29_0 + T30 -> T30_0 + T31 -> T31_0 + T32 -> T32_0 + T33 -> T33_0 + T34 -> T34_0 + T35 -> T35_0 + T36 -> T36_0 + T37 -> T37_0 + T38 -> T38_0 + T39 -> T39_0 + T40 -> T40_0 + T41 -> T41_0 + T42 -> T42_0 + T43 -> T43_0 + T44 -> T44_0 + T45 -> T45_0
final = T0 -> T0_0 + T1 -> T1_1 + T2 -> T2_1 + T3 -> T3_0 + T4 -> T4_1 + T5 -> T5_0 + T6 -> T6_0 + T7 -> T7_0 + T8 -> T8_1 + T9 -> T9_0 + T10 -> T10_1 + T11 -> T11_2 + T12 -> T12_0 + T13 -> T13_1 + T14 -> T14_0 + T15 -> T15_0 + T16 -> T16_1 + T17 -> T17_1 + T18 -> T18_2 + T19 -> T19_2 + T20 -> T20_1 + T21 -> T21_2 + T22 -> T22_1 + T23 -> T23_0 + T24 -> T24_1 + T25 -> T25_0 + T26 -> T26_0 + T27 -> T27_2 + T28 -> T28_2 + T29 -> T29_0 + T30 -> T30_1 + T31 -> T31_2 + T32 -> T32_0 + T33 -> T33_0 + T34 -> T34_0 + T35 -> T35_2 + T36 -> T36_0 + T37 -> T37_0 + T38 -> T38_0 + T39 -> T39_2 + T40 -> T40_2 + T41 -> T41_1 + T42 -> T42_0 + T43 -> T43_2 + T44 -> T44_0 + T45 -> T45_1
deps =
T7 -> T10 +
T11 -> T18
}
abstract sig Frag {
s: Int,
c: Int,
prev: lone Frag
} {
s < 31
}
one sig T0_0 extends Frag {}
one sig T1_0,T1_1 extends Frag {}
one sig T2_0,T2_1 extends Frag {}
one sig T3_0 extends Frag {}
one sig T4_0,T4_1 extends Frag {}
one sig T5_0 extends Frag {}
one sig T6_0 extends Frag {}
one sig T7_0 extends Frag {}
one sig T8_0,T8_1 extends Frag {}
one sig T9_0 extends Frag {}
one sig T10_0,T10_1 extends Frag {}
one sig T11_0,T11_1,T11_2 extends Frag {}
one sig T12_0 extends Frag {}
one sig T13_0,T13_1 extends Frag {}
one sig T14_0 extends Frag {}
one sig T15_0 extends Frag {}
one sig T16_0,T16_1 extends Frag {}
one sig T17_0,T17_1 extends Frag {}
one sig T18_0,T18_1,T18_2 extends Frag {}
one sig T19_0,T19_1,T19_2 extends Frag {}
one sig T20_0,T20_1 extends Frag {}
one sig T21_0,T21_1,T21_2 extends Frag {}
one sig T22_0,T22_1 extends Frag {}
one sig T23_0 extends Frag {}
one sig T24_0,T24_1 extends Frag {}
one sig T25_0 extends Frag {}
one sig T26_0 extends Frag {}
one sig T27_0,T27_1,T27_2 extends Frag {}
one sig T28_0,T28_1,T28_2 extends Frag {}
one sig T29_0 extends Frag {}
one sig T30_0,T30_1 extends Frag {}
one sig T31_0,T31_1,T31_2 extends Frag {}
one sig T32_0 extends Frag {}
one sig T33_0 extends Frag {}
one sig T34_0 extends Frag {}
one sig T35_0,T35_1,T35_2 extends Frag {}
one sig T36_0 extends Frag {}
one sig T37_0 extends Frag {}
one sig T38_0 extends Frag {}
one sig T39_0,T39_1,T39_2 extends Frag {}
one sig T40_0,T40_1,T40_2 extends Frag {}
one sig T41_0,T41_1 extends Frag {}
one sig T42_0 extends Frag {}
one sig T43_0,T43_1,T43_2 extends Frag {}
one sig T44_0 extends Frag {}
one sig T45_0,T45_1 extends Frag {}
fact {
c =
T0_0 -> 3 +
T1_0 -> 2 + T1_1 -> 2 +
T2_0 -> 3 + T2_1 -> 2 +
T3_0 -> 4 +
T4_0 -> 2 + T4_1 -> 1 +
T5_0 -> 1 +
T6_0 -> 1 +
T7_0 -> 3 +
T8_0 -> 1 + T8_1 -> 1 +
T9_0 -> 2 +
T10_0 -> 3 + T10_1 -> 3 +
T11_0 -> 1 + T11_1 -> 1 + T11_2 -> 1 +
T12_0 -> 3 +
T13_0 -> 3 + T13_1 -> 2 +
T14_0 -> 4 +
T15_0 -> 2 +
T16_0 -> 2 + T16_1 -> 2 +
T17_0 -> 2 + T17_1 -> 3 +
T18_0 -> 4 + T18_1 -> 1 + T18_2 -> 1 +
T19_0 -> 1 + T19_1 -> 1 + T19_2 -> 2 +
T20_0 -> 3 + T20_1 -> 3 +
T21_0 -> 1 + T21_1 -> 1 + T21_2 -> 1 +
T22_0 -> 2 + T22_1 -> 3 +
T23_0 -> 5 +
T24_0 -> 1 + T24_1 -> 1 +
T25_0 -> 1 +
T26_0 -> 1 +
T27_0 -> 1 + T27_1 -> 2 + T27_2 -> 3 +
T28_0 -> 2 + T28_1 -> 2 + T28_2 -> 2 +
T29_0 -> 1 +
T30_0 -> 1 + T30_1 -> 1 +
T31_0 -> 2 + T31_1 -> 2 + T31_2 -> 1 +
T32_0 -> 1 +
T33_0 -> 1 +
T34_0 -> 1 +
T35_0 -> 1 + T35_1 -> 1 + T35_2 -> 2 +
T36_0 -> 6 +
T37_0 -> 2 +
T38_0 -> 2 +
T39_0 -> 1 + T39_1 -> 1 + T39_2 -> 1 +
T40_0 -> 1 + T40_1 -> 2 + T40_2 -> 1 +
T41_0 -> 1 + T41_1 -> 1 +
T42_0 -> 2 +
T43_0 -> 1 + T43_1 -> 1 + T43_2 -> 1 +
T44_0 -> 4 +
T45_0 -> 2 + T45_1 -> 1
prev =
T1_1 -> T1_0 +
T2_1 -> T2_0 +
T4_1 -> T4_0 +
T8_1 -> T8_0 +
T10_1 -> T10_0 +
T11_1 -> T11_0 + T11_2 -> T11_1 +
T13_1 -> T13_0 +
T16_1 -> T16_0 +
T17_1 -> T17_0 +
T18_1 -> T18_0 + T18_2 -> T18_1 +
T19_1 -> T19_0 + T19_2 -> T19_1 +
T20_1 -> T20_0 +
T21_1 -> T21_0 + T21_2 -> T21_1 +
T22_1 -> T22_0 +
T24_1 -> T24_0 +
T27_1 -> T27_0 + T27_2 -> T27_1 +
T28_1 -> T28_0 + T28_2 -> T28_1 +
T30_1 -> T30_0 +
T31_1 -> T31_0 + T31_2 -> T31_1 +
T35_1 -> T35_0 + T35_2 -> T35_1 +
T39_1 -> T39_0 + T39_2 -> T39_1 +
T40_1 -> T40_0 + T40_2 -> T40_1 +
T41_1 -> T41_0 +
T43_1 -> T43_0 + T43_2 -> T43_1 +
T45_1 -> T45_0
}
pred StartAfterRelease {
all t: Completed | t.first.s >= t.r
}
pred StartAfterPrevFrag {
all t: Completed, f1, f2: t.frags | f1 -> f2 in prev implies
f1.s >= plus[f2.s, f2.c]
}
pred SingleFrag {
all disj t1, t2: Completed, f1: t1.frags, f2: t2.frags |
f2.s >= plus[f1.s, f1.c] or f1.s >= plus[f2.s, f2.c]
}
pred TaskDep {
all t1: Completed, t2: t1.deps {
t1.first.s >= plus[t2.final.s, t2.final.c]
t2 in Completed
}
}
pred Deadline {
all t: Completed | t.d >= plus[t.final.s, t.final.c]
}
run {
StartAfterRelease
StartAfterPrevFrag
SingleFrag
TaskDep
Deadline
some Completed
} for 7 Int
|
src/Implicits/Resolution/Deterministic/Semantics.agda | metaborg/ts.agda | 4 | 3031 | <reponame>metaborg/ts.agda
open import Prelude
open import Data.List.Properties
open import Data.List.Any hiding (map)
open import Data.List.All as All hiding (map; lookup)
open import Data.Vec
open import Extensions.Vec
module Implicits.Resolution.Deterministic.Semantics where
open import Implicits.Syntax
open import Implicits.Resolution.Deterministic.Resolution
open import Implicits.Substitutions
open import Implicits.Substitutions.Lemmas
open import Implicits.Semantics
open import Implicits.Semantics.Lemmas
open import Extensions.ListFirst
open import SystemF.Everything as F using ()
module DerivationSemantics where
⟦_,_⟧r : ∀ {ν n} {K : Ktx ν n} {a} → (proj₂ K) ⊢ᵣ a → K# K →
∃ λ t → ⟦ proj₁ K ⟧ctx→ F.⊢ t ∈ ⟦ a ⟧tp→
⟦_,_⟧r {K = K} (r-simp {ρ = r} r∈Δ r↓τ) m with ∈⟶index (All.lookup m (proj₁ $ first⟶∈ r∈Δ))
⟦_,_⟧r {K = K} (r-simp {ρ = r} r∈Δ r↓τ) m | i , lookup-i≡r =
⟦ subst (λ u → _ F.⊢ F.var i ∈ u) eq (F.var i) , r↓τ , m ⟧r↓
where
eq = begin
lookup i ⟦ proj₁ K ⟧ctx→
≡⟨ sym $ lookup-⟦⟧ctx→ (proj₁ K) i ⟩
⟦ lookup i (proj₁ K) ⟧tp→
≡⟨ cong ⟦_⟧tp→ lookup-i≡r ⟩
⟦ r ⟧tp→ ∎
⟦_,_,_⟧r↓ : ∀ {ν n} {K : Ktx ν n} {a ta τ} →
⟦ proj₁ K ⟧ctx→ F.⊢ ta ∈ ⟦ a ⟧tp→ → (proj₂ K) ⊢ a ↓ τ → K# K →
∃ λ tτ → ⟦ proj₁ K ⟧ctx→ F.⊢ tτ ∈ ⟦ simpl τ ⟧tp→
⟦ ⊢ta , i-simp τ , m ⟧r↓ = , ⊢ta
⟦ ⊢ta , i-iabs {ρ₁ = a} ⊢ᵣa b↓τ , m ⟧r↓ =
, (proj₂ ⟦ ⊢ta F.· (proj₂ ⟦ ⊢ᵣa , m ⟧r) , b↓τ , m ⟧r↓)
⟦ ⊢ta , i-tabs {ρ = a} b p , m ⟧r↓ =
⟦ subst (λ u → _ F.⊢ _ ∈ u) (sym $ ⟦a/sub⟧tp→ a b) (⊢ta F.[ ⟦ b ⟧tp→ ]) , p , m ⟧r↓
⟦ r-iabs a {ρ₂ = b} ⊢b , m ⟧r = , F.λ' ⟦ a ⟧tp→ (proj₂ ⟦ ⊢b , #ivar a m ⟧r)
⟦_,_⟧r {K = K} (r-tabs {ρ = r} p) m with ⟦ p , #tvar m ⟧r
⟦_,_⟧r {K = K} (r-tabs {ρ = r} p) m | _ , x =
, F.Λ (subst (λ u → u F.⊢ _ ∈ ⟦ r ⟧tp→) (⟦weaken⟧ctx→ (proj₁ K)) x)
open Semantics _⊢ᵣ_ DerivationSemantics.⟦_,_⟧r public
|
tests/auto_counters_suite-refcounted_kvflyweights_tests.adb | jhumphry/auto_counters | 5 | 12066 | <filename>tests/auto_counters_suite-refcounted_kvflyweights_tests.adb<gh_stars>1-10
-- Auto_Counters_Suite.Refcounted_KVFlyweights_Tests
-- Unit tests for Auto_Counters Refcounted KVFlyweights packages
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
with Ada.Containers, Ada.Finalization;
with AUnit.Assertions;
with Basic_Refcounted_KVFlyweights;
with Protected_Refcounted_KVFlyweights;
package body Auto_Counters_Suite.Refcounted_KVFlyweights_Tests is
subtype Hash_Type is Ada.Containers.Hash_Type;
use type Ada.Containers.Hash_Type;
use AUnit.Assertions;
Resources_Released : Natural := 0;
subtype TestKey_Type is Hash_Type;
type TestValue_Type is new Ada.Finalization.Controlled with
record
Value : Hash_Type;
end record;
type TestValue_Access is access TestValue_Type;
function Hash (E : TestKey_Type) return Ada.Containers.Hash_Type is (E);
pragma Warnings (Off, "not dispatching");
function Factory (E : in TestKey_Type) return TestValue_Access is
(new TestValue_Type'(Ada.Finalization.Controlled with Value => E));
pragma Warnings (On, "not dispatching");
overriding procedure Finalize (Object : in out TestValue_Type) is
begin
Resources_Released := Resources_Released + 1;
Object.Value := 999;
end Finalize;
package TestObj_Basic_KVFlyweights is
new Basic_Refcounted_KVFlyweights(Key => TestKey_Type,
Value => TestValue_Type,
Value_Access => TestValue_Access,
Factory => Factory,
Hash => Hash,
Capacity => 4);
use type TestObj_Basic_KVFlyweights.Value_Ptr;
use type TestObj_Basic_KVFlyweights.Value_Ref;
package TestObj_Protected_KVFlyweights is
new Protected_Refcounted_KVFlyweights(Key => TestKey_Type,
Value => TestValue_Type,
Value_Access => TestValue_Access,
Factory => Factory,
Hash => Hash,
Capacity => 4);
use type TestObj_Protected_KVFlyweights.Value_Ptr;
use type TestObj_Protected_KVFlyweights.Value_Ref;
--------------------
-- Register_Tests --
--------------------
procedure Register_Tests (T: in out Refcounted_KVFlyweights_Test) is
use AUnit.Test_Cases.Registration;
begin
Register_Routine (T, Check_Basic_Usage'Access,
"Check Basic_Refcounted_KVFlyweights");
Register_Routine (T, Check_Basic_Refs_Usage'Access,
"Check Basic_Refcounted_KVFlyweights Element_Refs");
Register_Routine (T, Check_Protected_Usage'Access,
"Check Protected_Refcounted_KVFlyweights");
Register_Routine (T, Check_Protected_Refs_Usage'Access,
"Check Protected_Refcounted_KVFlyweights Element_Refs");
end Register_Tests;
----------
-- Name --
----------
function Name (T : Refcounted_KVFlyweights_Test) return Test_String is
pragma Unreferenced (T);
begin
return Format ("Tests of Refcounted FKVlyweights packages");
end Name;
------------
-- Set_Up --
------------
procedure Set_Up (T : in out Refcounted_KVFlyweights_Test) is
begin
null;
end Set_Up;
-----------------------
-- Check_Basic_Usage --
-----------------------
procedure Check_Basic_Usage (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced(T);
use TestObj_Basic_KVFlyweights;
F : aliased KVFlyweight;
P : array (Integer range 0..3) of Value_Ptr;
begin
-- Tests where elements are spread between buckets.
Resources_Released := 0;
for I in 0..3 loop
P(I) := Insert_Ptr(F => F,
K => Hash_Type(I));
end loop;
Assert(Resources_Released = 0,
"Resources being released on insertion into an empty KVFlyweight.");
for I in 0..3 loop
Assert(P(I).Get.Value = Hash_Type(I),
"Flyweight not storing values correctly.");
Assert(P(I).P.Value = Hash_Type(I),
"Flyweight not storing values correctly.");
end loop;
Resources_Released := 0;
declare
Q : Value_Ptr := Insert_Ptr(F, 0);
pragma Unreferenced(Q);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting duplicate key into a " &
"KVFlyweight.");
end;
Resources_Released := 0;
declare
R : Value_Ptr := Insert_Ptr(F, 4);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into a " &
"KVFlyweight despite it not being a duplicate key.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last pointer is destroyed.");
Resources_Released := 0;
declare
Q : constant Value_Ptr := Insert_Ptr(F, P(1).Get.Value);
begin
Assert(Q = P(1),
"Inserting a key value that is already in the KVFlyweight " &
"does not return the same Element_Ptr as already exists.");
Assert(Resources_Released = 0,
"Inserting a key value that is already in the KVFlyweight " &
"deallocates something.");
end;
-- Tests where all values hit same hash bucket
for I in 0..3 loop
P(I) := Insert_Ptr(F, Hash_Type(I * 4));
end loop;
for I in 0..3 loop
Assert(P(I).P.Value = Hash_Type(I * 4),
"Flyweight not storing values correctly.");
end loop;
Resources_Released := 0;
declare
Q : Value_Ptr := Insert_Ptr(F, 0);
pragma Unreferenced(Q);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting duplicate key into a " &
"KVFlyweight.");
end;
Resources_Released := 0;
declare
R : Value_Ptr := Insert_Ptr(F, 99);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into a " &
"KVFlyweight despite it not being a duplicate key.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last pointer is destroyed.");
Resources_Released := 0;
declare
Q : constant Value_Ptr := Insert_Ptr(F,P(1).Get.Value);
begin
Assert(Q = P(1),
"Inserting a key value that is already in the KVFlyweight " &
"does not return the same Value_Ptr as already exists.");
Assert(Resources_Released = 0,
"Inserting a key value that is already in the KVFlyweight " &
"deallocates something.");
end;
end Check_Basic_Usage;
----------------------------
-- Check_Basic_Refs_Usage --
----------------------------
procedure Check_Basic_Refs_Usage (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced(T);
use TestObj_Basic_KVFlyweights;
F : aliased KVFlyweight;
begin
declare
P1 : constant Value_Ptr := Insert_Ptr(F, 0);
R1 : constant Value_Ref := Make_Ref(P1);
begin
Assert(P1.Get = R1.Get,
"Value_Ref created from Value_Ptr does not point to the" &
"same value");
Assert(P1.Get.all = R1,
"Value_Ref created from Value_Ptr does not dereference to " &
"the same value");
end;
declare
R2 : constant Value_Ref := Insert_Ref(F, 1);
P2 : constant Value_Ptr := Make_Ptr(R2);
begin
Assert(P2.Get = R2.Get,
"Value_Ptr created from Value_Ref does not point to the" &
"same value");
Assert(P2.Get.all = R2,
"Value_Ptr created from Value_Ref does not dereference to " &
"the same value");
end;
Resources_Released := 0;
declare
R : Value_Ref := Insert_Ref(F, 4);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into " &
"KVFlyweight despite it not being a duplicate.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last Value_Ref is destroyed.");
end Check_Basic_Refs_Usage;
---------------------------
-- Check_Protected_Usage --
---------------------------
procedure Check_Protected_Usage (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced(T);
use TestObj_Protected_KVFlyweights;
F : aliased KVFlyweight;
P : array (Integer range 0..3) of Value_Ptr;
begin
-- Tests where elements are spread between buckets.
Resources_Released := 0;
for I in 0..3 loop
P(I) := Insert_Ptr(F => F,
K => Hash_Type(I));
end loop;
Assert(Resources_Released = 0,
"Resources being released on insertion into an empty KVFlyweight.");
for I in 0..3 loop
Assert(P(I).Get.Value = Hash_Type(I),
"Flyweight not storing values correctly.");
Assert(P(I).P.Value = Hash_Type(I),
"Flyweight not storing values correctly.");
end loop;
Resources_Released := 0;
declare
Q : Value_Ptr := Insert_Ptr(F, 0);
pragma Unreferenced(Q);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting duplicate key into a " &
"KVFlyweight.");
end;
Resources_Released := 0;
declare
R : Value_Ptr := Insert_Ptr(F, 4);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into a " &
"KVFlyweight despite it not being a duplicate key.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last pointer is destroyed.");
Resources_Released := 0;
declare
Q : constant Value_Ptr := Insert_Ptr(F, P(1).Get.Value);
begin
Assert(Q = P(1),
"Inserting a key value that is already in the KVFlyweight " &
"does not return the same Element_Ptr as already exists.");
Assert(Resources_Released = 0,
"Inserting a key value that is already in the KVFlyweight " &
"deallocates something.");
end;
-- Tests where all values hit same hash bucket
for I in 0..3 loop
P(I) := Insert_Ptr(F, Hash_Type(I * 4));
end loop;
for I in 0..3 loop
Assert(P(I).P.Value = Hash_Type(I * 4),
"Flyweight not storing values correctly.");
end loop;
Resources_Released := 0;
declare
Q : Value_Ptr := Insert_Ptr(F, 0);
pragma Unreferenced(Q);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting duplicate key into a " &
"KVFlyweight.");
end;
Resources_Released := 0;
declare
R : Value_Ptr := Insert_Ptr(F, 99);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into a " &
"KVFlyweight despite it not being a duplicate key.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last pointer is destroyed.");
Resources_Released := 0;
declare
Q : constant Value_Ptr := Insert_Ptr(F,P(1).Get.Value);
begin
Assert(Q = P(1),
"Inserting a key value that is already in the KVFlyweight " &
"does not return the same Value_Ptr as already exists.");
Assert(Resources_Released = 0,
"Inserting a key value that is already in the KVFlyweight " &
"deallocates something.");
end;
end Check_Protected_Usage;
--------------------------------
-- Check_Protected_Refs_Usage --
--------------------------------
procedure Check_Protected_Refs_Usage (T : in out Test_Cases.Test_Case'Class) is
pragma Unreferenced(T);
use TestObj_Protected_KVFlyweights;
F : aliased KVFlyweight;
begin
declare
P1 : constant Value_Ptr := Insert_Ptr(F, 0);
R1 : constant Value_Ref := Make_Ref(P1);
begin
Assert(P1.Get = R1.Get,
"Value_Ref created from Value_Ptr does not point to the" &
"same value");
Assert(P1.Get.all = R1,
"Value_Ref created from Value_Ptr does not dereference to " &
"the same value");
end;
declare
R2 : constant Value_Ref := Insert_Ref(F, 1);
P2 : constant Value_Ptr := Make_Ptr(R2);
begin
Assert(P2.Get = R2.Get,
"Value_Ptr created from Value_Ref does not point to the" &
"same value");
Assert(P2.Get.all = R2,
"Value_Ptr created from Value_Ref does not dereference to " &
"the same value");
end;
Resources_Released := 0;
declare
R : Value_Ref := Insert_Ref(F, 4);
pragma Unreferenced (R);
begin
Assert(Resources_Released = 0,
"Resources being released on inserting resource into " &
"KVFlyweight despite it not being a duplicate.");
end;
Assert(Resources_Released = 1,
"Resources not being released when last Value_Ref is destroyed.");
end Check_Protected_Refs_Usage;
end Auto_Counters_Suite.Refcounted_KVFlyweights_Tests;
|
programs/oeis/047/A047620.asm | neoneye/loda | 22 | 247299 | ; A047620: Numbers that are congruent to {0, 1, 2, 5} mod 8.
; 0,1,2,5,8,9,10,13,16,17,18,21,24,25,26,29,32,33,34,37,40,41,42,45,48,49,50,53,56,57,58,61,64,65,66,69,72,73,74,77,80,81,82,85,88,89,90,93,96,97,98,101,104,105,106,109,112,113,114,117,120,121,122
seq $0,47546 ; Numbers that are congruent to {2, 3, 4, 7} mod 8.
sub $0,2
|
src/data/sample_scripts/benchmark_letters_infinite.asm | ambertide/SASVM | 0 | 169189 | <filename>src/data/sample_scripts/benchmark_letters_infinite.asm
load RF, 60h
load RF, 60h |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_896.asm | ljhsiun2/medusa | 9 | 168402 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x166ee, %rcx
nop
nop
nop
nop
sub %r13, %r13
mov $0x6162636465666768, %r12
movq %r12, %xmm6
movups %xmm6, (%rcx)
nop
nop
nop
and $40388, %rdi
lea addresses_UC_ht+0x13656, %rdx
nop
nop
nop
nop
add $53144, %rbx
mov (%rdx), %rax
nop
nop
nop
sub %rbx, %rbx
lea addresses_WC_ht+0x1eeee, %rdx
nop
nop
nop
inc %rax
movw $0x6162, (%rdx)
nop
nop
nop
xor %rdx, %rdx
lea addresses_normal_ht+0x4c5d, %r13
cmp %rdx, %rdx
mov $0x6162636465666768, %rax
movq %rax, %xmm5
movups %xmm5, (%r13)
nop
nop
nop
nop
nop
cmp $43272, %rax
lea addresses_WT_ht+0x3b6e, %rdx
nop
nop
nop
xor %r12, %r12
movl $0x61626364, (%rdx)
nop
nop
nop
nop
xor $40393, %rdi
lea addresses_UC_ht+0x1b45e, %rsi
lea addresses_UC_ht+0x12fe6, %rdi
nop
nop
nop
nop
nop
cmp $26602, %r13
mov $109, %rcx
rep movsb
nop
nop
add %rbx, %rbx
lea addresses_D_ht+0x1953b, %rsi
nop
nop
nop
nop
nop
lfence
movw $0x6162, (%rsi)
inc %rcx
lea addresses_UC_ht+0xc2ee, %rsi
lea addresses_normal_ht+0x133ea, %rdi
nop
nop
sub %rdx, %rdx
mov $41, %rcx
rep movsb
nop
nop
nop
nop
nop
inc %r13
lea addresses_normal_ht+0x1884e, %rbx
nop
nop
nop
sub $32927, %rdx
vmovups (%rbx), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdi
and %rbx, %rbx
lea addresses_normal_ht+0xf60e, %r13
nop
nop
sub $48553, %rdx
movb $0x61, (%r13)
inc %rcx
lea addresses_UC_ht+0x28a6, %rsi
lea addresses_UC_ht+0xe62e, %rdi
nop
nop
nop
nop
nop
and %rdx, %rdx
mov $59, %rcx
rep movsl
add %rsi, %rsi
lea addresses_WT_ht+0xceee, %rsi
lea addresses_WT_ht+0x9f6e, %rdi
sub %rdx, %rdx
mov $114, %rcx
rep movsq
nop
nop
cmp $28214, %r12
lea addresses_D_ht+0xe6ee, %rbx
nop
nop
nop
nop
nop
dec %r12
mov $0x6162636465666768, %rax
movq %rax, %xmm3
movups %xmm3, (%rbx)
nop
add %r12, %r12
lea addresses_UC_ht+0x590e, %rdi
nop
dec %r13
mov (%rdi), %si
add $57860, %r13
lea addresses_WT_ht+0xbd2a, %rsi
lea addresses_normal_ht+0x1e6ee, %rdi
clflush (%rsi)
nop
add $12533, %rdx
mov $99, %rcx
rep movsb
nop
nop
nop
nop
cmp %r12, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r8
push %r9
push %rbx
push %rdx
push %rsi
// Faulty Load
lea addresses_A+0x106ee, %r8
nop
sub $63151, %r14
mov (%r8), %bx
lea oracles, %r9
and $0xff, %rbx
shlq $12, %rbx
mov (%r9,%rbx,1), %rbx
pop %rsi
pop %rdx
pop %rbx
pop %r9
pop %r8
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 6}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 5}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 9}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
|
src/static/antlr4/grammars/CallExpression.g4 | jlenoble/ecmascript-parser | 0 | 3718 | /* Source: ECMAScript® 2018 Language Specification - Annex A-2 */
grammar CallExpression;
// CallExpression[Yield, Await]:
// CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await]
// SuperCall[?Yield, ?Await]
// CallExpression[?Yield, ?Await] Arguments[?Yield, ?Await]
// CallExpression[?Yield, ?Await] [ Expression[+In, ?Yield, ?Await] ]
// CallExpression[?Yield, ?Await] . IdentifierName
// CallExpression[?Yield, ?Await] TemplateLiteral[?Yield, ?Await]
/* callExpression
: coverCallExpressionAndAsyncArrowHead
| superCall
| callExpression arguments
| callExpression OpenBracket expressionList CloseBracket
| callExpression Dot identifierName
| callExpression templateLiteral
;*/
// SuperCall[Yield, Await]:
// super Arguments[?Yield, ?Await]
/* superCall
: Super arguments
;*/
// Arguments[Yield, Await]:
// ( )
// ( ArgumentList[?Yield, ?Await] )
// ( ArgumentList[?Yield, ?Await] , )
arguments
: OpenParen (argumentList Comma?)? CloseParen
;
// ArgumentList[Yield, Await]:
// AssignmentExpression[+In, ?Yield, ?Await]
// ... AssignmentExpression[+In, ?Yield, ?Await]
// ArgumentList[?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await]
// ArgumentList[?Yield, ?Await] , ... AssignmentExpression[+In, ?Yield, ?Await]
argumentList
: Spread? expressionList (Comma Spread expressionList)*
;
|
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/rewind_unlocked.asm | jpoikela/z88dk | 640 | 168011 |
; void rewind_unlocked(FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC _rewind_unlocked
EXTERN _rewind_unlocked_fastcall
_rewind_unlocked:
pop af
pop hl
push hl
push af
jp _rewind_unlocked_fastcall
|
dino/lcs/123p/68.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 11919 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
010748 move.w A2, ($68,A3)
01074C move.b #$3c, ($cb,A3) [123p+ 68]
010EAC move.w A2, ($68,A3) [123p+ C5]
010EB0 move.b #$3c, ($cb,A3) [123p+ 68]
01165E movea.w ($68,A3), A4
011662 cmpa.w A2, A4 [123p+ 68]
011696 move.w A2, ($68,A3)
01169A move.b #$3c, ($cb,A3) [123p+ 68]
011D76 movea.w ($68,A3), A4
011D7A cmpa.w A2, A4 [123p+ 68]
011DAE move.w A2, ($68,A3)
011DB2 move.b #$3c, ($cb,A3) [123p+ 68]
0125DE move.w A6, ($68,A3)
0125E2 move.b #$2, ($0,A3) [123p+ 68]
016B18 movea.w ($68,A6), A0
016B1C tst.b ($82,A0) [123p+ 68]
01C06E movea.w ($68,A6), A0
01C072 moveq #$0, D1 [123p+ 68]
01C130 movea.w ($68,A6), A0
01C134 moveq #$0, D1 [123p+ 68]
01C1D0 movea.w ($68,A6), A0
01C1D4 moveq #$0, D1 [123p+ 68]
01C3B0 movea.w ($68,A6), A0
01C3B4 moveq #$0, D1 [123p+ 68]
01C704 movea.w ($68,A6), A0
01C708 moveq #$0, D1 [123p+ 68]
01C8EA movea.w ($68,A6), A1 [123p+ 80]
01C8EE moveq #$0, D1 [123p+ 68]
03C22E movea.w ($68,A0), A1
03C232 cmpa.l A1, A6 [123p+ 68]
0AAACA move.l (A0), D2
0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, enemy+DE, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1]
0AAACE move.w D0, ($2,A0)
0AAAD2 cmp.l (A0), D0
0AAAD4 bne $aaafc
0AAAD8 move.l D2, (A0)+
0AAADA cmpa.l A0, A1 [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, enemy+DE, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1]
0AAAE6 move.l (A0), D2
0AAAE8 move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, enemy+DE, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1]
0AAAF4 move.l D2, (A0)+
0AAAF6 cmpa.l A0, A1 [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, enemy+DE, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1]
copyright zengfr site:http://github.com/zengfr/romhack
|
src/rejuvenation-simple_factory.adb | TNO/Rejuvenation-Ada | 1 | 26837 | with Ada.Directories; use Ada.Directories;
with GNATCOLL.Projects; use GNATCOLL.Projects;
with GNATCOLL.VFS; use GNATCOLL.VFS;
with Libadalang.Project_Provider; use Libadalang.Project_Provider;
with Rejuvenation.File_Utils; use Rejuvenation.File_Utils;
package body Rejuvenation.Simple_Factory is
function Diagnostics_To_String (Unit : Analysis_Unit'Class) return String;
-- Diagnostics to string
-- ends with line feed
function Diagnostics_To_String (Unit : Analysis_Unit'Class) return String is
Message : Unbounded_String;
begin
for Diagnostic of Unit.Diagnostics loop
Message :=
Message & Unit.Format_GNU_Diagnostic (Diagnostic) & ASCII.LF;
end loop;
return To_String (Message);
end Diagnostics_To_String;
procedure Put_Diagnostics (File : File_Type; Unit : Analysis_Unit) is
begin
Put (File, Diagnostics_To_String (Unit));
end Put_Diagnostics;
procedure Put_Diagnostics (Unit : Analysis_Unit) is
begin
Put (Diagnostics_To_String (Unit));
end Put_Diagnostics;
function Analyze_Fragment
(Fragment : String; Rule : Grammar_Rule := Default_Grammar_Rule)
return Analysis_Unit
is
Context : constant Analysis_Context := Create_Context;
Unit : constant Analysis_Unit :=
Context.Get_From_Buffer ("Fragment", "", Fragment, Rule);
begin
if Unit.Has_Diagnostics then
Put_Line ("On");
Put_Line (Fragment);
Put_Line ("Parse Exception");
Put_Diagnostics (Unit);
raise Parse_Exception
with Diagnostics_To_String (Unit) & "On" & ASCII.LF & Fragment;
else
return Unit;
end if;
end Analyze_Fragment;
function Analyze_File_In_Context
(Filename : String; Context : Analysis_Context'Class)
return Analysis_Unit;
function Analyze_File_In_Context
(Filename : String; Context : Analysis_Context'Class) return Analysis_Unit
is
Unit : constant Analysis_Unit := Context.Get_From_File (Filename);
begin
if Unit.Has_Diagnostics then
raise Parse_Exception
with Diagnostics_To_String (Unit) & "In" & ASCII.LF & Filename;
else
return Unit;
end if;
end Analyze_File_In_Context;
function Analyze_File (Filename : String) return Analysis_Unit is
Context : constant Analysis_Context := Create_Context;
begin
return Analyze_File_In_Context (Filename, Context);
end Analyze_File;
function Analyze_File_In_Project
(Filename : String; Project_Filename : String) return Analysis_Unit
is
Project_File : constant Virtual_File := Create (+Project_Filename);
Env : Project_Environment_Access;
Project : constant Project_Tree_Access := new Project_Tree;
begin
Initialize (Env);
Project.Load (Project_File, Env);
declare
Provider : constant Unit_Provider_Reference :=
Create_Project_Unit_Provider (Project, Project.Root_Project, Env);
Context : constant Analysis_Context :=
Create_Context (Unit_Provider => Provider);
begin
return Analyze_File_In_Context (Filename, Context);
end;
end Analyze_File_In_Project;
function Is_Ada_File
(Tree : Project_Tree_Access; File : Virtual_File) return Boolean;
function Is_Ada_File
(Tree : Project_Tree_Access; File : Virtual_File) return Boolean
is
Info : constant File_Info :=
Tree.Info (Create (+File.Display_Full_Name));
begin
return Info.Language = "ada";
end Is_Ada_File;
function Get_Ada_Source_Files_From_Project
(Project_Filename : String; Recursive : Boolean := True)
return Unbounded_Strings.Vector
is
Project_File : constant Virtual_File := Create (+Project_Filename);
Env : Project_Environment_Access;
Project : constant Project_Tree_Access := new Project_Tree;
Results : Unbounded_Strings.Vector;
begin
Initialize (Env);
Project.Load (Project_File, Env);
for File of Project.Root_Project.Source_Files
(Recursive => Recursive, Include_Externally_Built => False).all
loop
if Is_Ada_File (Project, File) then
Results.Append (To_Unbounded_String (+File.Full_Name));
end if;
end loop;
return Results;
end Get_Ada_Source_Files_From_Project;
function Get_Ada_Source_Files_From_Directory
(Directory_Name : String; Recursive : Boolean := True)
return Unbounded_Strings.Vector
is
Results : Unbounded_Strings.Vector;
procedure Append (Item : Directory_Entry_Type);
procedure Append (Item : Directory_Entry_Type) is
begin
Results.Append (To_Unbounded_String (Full_Name (Item)));
end Append;
begin
Walk_Files
(Directory_Name, File_Pattern => "*.ad[bs]",
Process_File => Append'Access, Recursive => Recursive);
return Results;
end Get_Ada_Source_Files_From_Directory;
function Analyze_Project
(Project_Filename : String; Recursive : Boolean := True)
return Analysis_Units.Vector
is
Project_File : constant Virtual_File := Create (+Project_Filename);
Env : Project_Environment_Access;
Project : constant Project_Tree_Access := new Project_Tree;
begin
Initialize (Env);
Project.Load (Project_File, Env);
declare
Provider : constant Unit_Provider_Reference :=
Create_Project_Unit_Provider (Project, Project.Root_Project, Env);
Context : constant Analysis_Context :=
Create_Context (Unit_Provider => Provider);
Results : Analysis_Units.Vector;
begin
for File of Project.Root_Project.Source_Files
(Recursive => Recursive, Include_Externally_Built => False).all
loop
if Is_Ada_File (Project, File) then
Results.Append
(Analyze_File_In_Context (+File.Full_Name, Context));
end if;
end loop;
return Results;
end;
end Analyze_Project;
end Rejuvenation.Simple_Factory;
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_679.asm | ljhsiun2/medusa | 9 | 179491 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16659, %rsi
lea addresses_A_ht+0x6a59, %rdi
clflush (%rdi)
nop
sub $15541, %rbx
mov $120, %rcx
rep movsb
cmp $291, %r12
lea addresses_A_ht+0xc659, %rsi
lea addresses_normal_ht+0x10cbf, %rdi
clflush (%rdi)
nop
xor $11035, %r10
mov $32, %rcx
rep movsq
nop
nop
nop
inc %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rsi
// Store
lea addresses_WT+0x196c1, %r9
nop
nop
xor $59104, %r8
movb $0x51, (%r9)
nop
nop
nop
nop
dec %rbx
// Faulty Load
lea addresses_US+0xfe59, %r8
nop
nop
nop
nop
nop
and %r11, %r11
vmovntdqa (%r8), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r13
lea oracles, %r8
and $0xff, %r13
shlq $12, %r13
mov (%r8,%r13,1), %r13
pop %rsi
pop %rbx
pop %r9
pop %r8
pop %r15
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'AVXalign': True, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': True, 'size': 1, 'NT': False, 'same': False, 'congruent': 2}}
[Faulty Load]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 32, 'NT': True, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
SVD2ada/svd/stm32_svd-vrefbuf.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 18777 | <reponame>JCGobbi/Nucleo-STM32H743ZI
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.VREFBUF is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CSR_VRS_Field is HAL.UInt3;
-- VREFBUF control and status register
type CSR_Register is record
-- Voltage reference buffer mode enable This bit is used to enable the
-- voltage reference buffer mode.
ENVR : Boolean := False;
-- High impedance mode This bit controls the analog switch to connect or
-- not the VREF+ pin. Refer to Table196: VREF buffer modes for the mode
-- descriptions depending on ENVR bit configuration.
HIZ : Boolean := True;
-- unspecified
Reserved_2_2 : HAL.Bit := 16#0#;
-- Read-only. Voltage reference buffer ready
VRR : Boolean := False;
-- Voltage reference scale These bits select the value generated by the
-- voltage reference buffer. Other: Reserved
VRS : CSR_VRS_Field := 16#0#;
-- unspecified
Reserved_7_31 : HAL.UInt25 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CSR_Register use record
ENVR at 0 range 0 .. 0;
HIZ at 0 range 1 .. 1;
Reserved_2_2 at 0 range 2 .. 2;
VRR at 0 range 3 .. 3;
VRS at 0 range 4 .. 6;
Reserved_7_31 at 0 range 7 .. 31;
end record;
subtype CCR_TRIM_Field is HAL.UInt6;
-- VREFBUF calibration control register
type CCR_Register is record
-- Trimming code These bits are automatically initialized after reset
-- with the trimming value stored in the Flash memory during the
-- production test. Writing into these bits allows to tune the internal
-- reference buffer voltage.
TRIM : CCR_TRIM_Field := 16#0#;
-- unspecified
Reserved_6_31 : HAL.UInt26 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CCR_Register use record
TRIM at 0 range 0 .. 5;
Reserved_6_31 at 0 range 6 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- VREFBUF
type VREFBUF_Peripheral is record
-- VREFBUF control and status register
CSR : aliased CSR_Register;
-- VREFBUF calibration control register
CCR : aliased CCR_Register;
end record
with Volatile;
for VREFBUF_Peripheral use record
CSR at 16#0# range 0 .. 31;
CCR at 16#4# range 0 .. 31;
end record;
-- VREFBUF
VREFBUF_Periph : aliased VREFBUF_Peripheral
with Import, Address => VREFBUF_Base;
end STM32_SVD.VREFBUF;
|
alloy4fun_models/trashltl/models/18/Akbr9Aq6WfBLHrvE8.als | Kaixi26/org.alloytools.alloy | 0 | 508 | open main
pred idAkbr9Aq6WfBLHrvE8_prop19 {
always (all f : File | f in Protected until f in Trash)
}
pred __repair { idAkbr9Aq6WfBLHrvE8_prop19 }
check __repair { idAkbr9Aq6WfBLHrvE8_prop19 <=> prop19o } |
non_regression/other_x64_macosx_1.s.asm | LRGH/plasmasm | 1 | 11633 | <gh_stars>1-10
.macosx_version_min 10, 11
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _toto
_toto:
pushq %rbp
Ltmp0:
Ltmp1:
movq %rsp, %rbp
Ltmp2:
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
movl (%rdi), %eax
addl $1, %eax
movl %eax, (%rdi)
popq %rbp
ret
# ----------------------
.align 4, 0x90
.globl _tata
_tata:
pushq %rbp
Ltmp3:
Ltmp4:
movq %rsp, %rbp
Ltmp5:
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
movl (%rdi), %eax
addl $-1, %eax
movl %eax, (%rdi)
popq %rbp
ret
# ----------------------
.align 4, 0x90
.globl _main
_main:
pushq %rbp
Ltmp6:
Ltmp7:
movq %rsp, %rbp
Ltmp8:
subq $64, %rsp
leaq -52(%rbp), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, -8(%rbp)
movl $0, -36(%rbp)
movl %edi, -40(%rbp)
movq %rsi, -48(%rbp)
movl $0, -52(%rbp)
movq l_main.t(%rip), %rcx
movq %rcx, -32(%rbp)
movq l_main.t+8(%rip), %rcx
movq %rcx, -24(%rbp)
movl -40(%rbp), %edi
subl $1, %edi
movslq %edi, %rcx
movq %rax, %rdi
call *-32(%rbp,%rcx,8)
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movl -52(%rbp), %edx
movq (%rax), %rax
cmpq -8(%rbp), %rax
movl %edx, -56(%rbp)
jne LBB2_2
movl -56(%rbp), %eax
addq $64, %rsp
popq %rbp
ret
LBB2_2:
call ___stack_chk_fail
# ----------------------
.section __DATA,__const
.align 4
l_main.t:
.quad _toto
.quad _tata
# ----------------------
.subsections_via_symbols
|
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_337.asm | ljhsiun2/medusa | 9 | 19194 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rdi
lea addresses_D_ht+0x13ca8, %r9
clflush (%r9)
dec %r14
mov (%r9), %r11
nop
nop
and $12075, %rdi
lea addresses_WT_ht+0x528, %rbp
nop
nop
cmp %r11, %r11
movups (%rbp), %xmm6
vpextrq $0, %xmm6, %rdi
nop
nop
nop
nop
nop
add %r14, %r14
pop %rdi
pop %rbp
pop %r9
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rdi
// Store
lea addresses_PSE+0x19718, %rax
nop
nop
nop
xor %rdi, %rdi
movl $0x51525354, (%rax)
nop
and %rbp, %rbp
// Faulty Load
lea addresses_D+0x1f4a8, %r14
nop
nop
nop
add $41211, %rbx
movb (%r14), %r13b
lea oracles, %rdi
and $0xff, %r13
shlq $12, %r13
mov (%rdi,%r13,1), %r13
pop %rdi
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_PSE', 'size': 4, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 1, 'AVXalign': True}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': True, 'congruent': 11, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
|
src/fot/DistributiveLaws/Lemma6-ATP.agda | asr/fotc | 11 | 10615 | ------------------------------------------------------------------------------
-- Distributive laws on a binary operation: Lemma 6
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module DistributiveLaws.Lemma6-ATP where
open import DistributiveLaws.Base
------------------------------------------------------------------------------
postulate
lemma₆ : ∀ u x y z →
(((x · y) · (z · u)) · ((x · y) · (z · u))) ≡ (x · y) · (z · u)
{-# ATP prove lemma₆ #-}
|
lib/target/msx/classic/msxdos.asm | dikdom/z88dk | 1 | 7898 |
defc TAR__clib_exit_stack_size = 32
defc TAR__register_sp = -1
IFNDEF CRT_ORG_CODE
defc CRT_ORG_CODE = $100 ; MSXDOS
ENDIF
; For MSXDOS 1 limit the number of open files to 3 to reduce memory usage
; This can be overridden with -pragma-define:CLIB_OPEN_MAX=NN where NN
; is your chosen number
IF CLIB_MSXDOS = 1
IF !DEFINED_CLIB_OPEN_MAX
defc DEFINED_CLIB_OPEN_MAX = 1
defc CLIB_OPEN_MAX = 3
ENDIF
ENDIF
IF !DEFINED_MSXDOS
defc MSXDOS = 5
ENDIF
IF !DEFINED_CRT_DISABLELOADER
defc CRT_DISABLELOADER = 1
ENDIF
PUBLIC MSXDOS
INCLUDE "crt/classic/crt_rules.inc"
org CRT_ORG_CODE
;----------------------
; Execution starts here
;----------------------
start:
IF !DEFINED_noprotectmsdos
; This protection takes little less than 50 bytes
defb $eb,$04 ;MS DOS protection... JMPS to MS-DOS message if Intel
ex de,hl
jp begin ;First decent instruction for Z80, it survived up to here !
defb $b4,$09 ;DOS protection... MOV AH,9 (Err msg for MS-DOS)
defb $ba
defw dosmessage ;DOS protection... MOV DX,OFFSET dosmessage
defb $cd,$21 ;DOS protection... INT 21h.
defb $cd,$20 ;DOS protection... INT 20h.
dosmessage:
defm "This program is for MSXDOS."
defb 13,10,'$'
begin:
ENDIF
ld (__restore_sp_onexit+1),sp
INCLUDE "crt/classic/crt_init_sp.asm"
INCLUDE "crt/classic/crt_init_atexit.asm"
call crt0_init_bss
ld (exitsp),sp
IF CRT_DISABLELOADER != 1
call loadbanks
jp c,cleanup
ENDIF
IF DEFINED_USING_amalloc
INCLUDE "crt/classic/crt_init_amalloc.asm"
ENDIF
;ld a,($F306)
;ld (defltdsk),a
IF CRT_ENABLE_COMMANDLINE = 1
ld hl,$80
ld a,(hl)
ld b,0
and a
jp z,argv_done
ld c,a
inc hl
add hl,bc ;now points to the end of the command line
INCLUDE "crt/classic/crt_command_line.asm"
push hl ;argv
push bc ;argc
ELSE
ld hl,0
push hl ;argv
push hl ;argc
ENDIF
call _main ;Call user code
pop bc ;kill argv
pop bc ;kill argc
cleanup:
call crt0_exit
__restore_sp_onexit:
ld sp,0
jp 0
l_dcal:
jp (hl)
IF CRT_DISABLELOADER != 1
PUBLIC banked_call
banked_call:
pop hl ; Get the return address
ld (mainsp),sp
ld sp,(tempsp)
call GET_P2
push af ; Push the current bank onto the stack
ld e,(hl) ; Fetch the call address
inc hl
ld d,(hl)
inc hl
ld a,(hl) ; ...and page
inc hl
inc hl ; Yes this should be here
push hl ; Push the real return address
ld hl,bank_mappings ; Mapping 0-255 to actual segment ids
add l
ld l,a
ld a,0
adc h
ld h,a
ld a,(hl) ;Get the real bank
ld (tempsp),sp
ld sp,(mainsp)
call PUT_P2
ld l,e
ld h,d
call l_dcal ; jp(hl)
ld (mainsp),sp
ld sp,(tempsp)
pop bc ; Get the return address
pop af ; Pop the old bank
ld (tempsp),sp
ld sp,(mainsp)
call PUT_P2
push bc
ret
hexit:
ld c,a
rrca
rrca
rrca
rrca
call dohex
ld a,c
dohex:
and 15
ld b,'0'
cp 10
jr c,not_alpha
ld b,'A' - 10
not_alpha:
add b
ld (hl),a
inc hl
ret
print_message_pop:
pop af
print_message:
ld c,9
call 5
scf
ret
msg_bankstart:
defm "Starting to load banks\r\n$"
msg_noextbios:
defm "Cannot detect extended BIOS\r\n$"
msg_nomapper:
defm "Cannot locate mapper\r\n$"
msg_cantallocate:
defm "Cannot allocate segment\r\n$"
msg_loading:
defm "Loading....$"
msg_lf:
defm "\r\n$"
loadbanks:
ld de,msg_bankstart
call print_message
; Setup mapper, extract info etc
ld a,($FB20) ;HOKVLD
rrca
ld de,msg_noextbios
jp nc,print_message
xor a
ld de,$0401
call $FFCA ;EXTBIO
xor a
ld de,$0402
call $FFCA ;EXTBIO
and a
ld de,msg_nomapper
jp z,print_message
ld de,dos2_jump
ld bc,dos2_end - dos2_jump
ldir
ld hl,__crt_loader_filename
find_ext:
ld a,(hl)
cp '.'
inc hl
jr nz,find_ext
ld (extension),hl
ld a,0 ;Bank number to start loading from
load_loop:
push af ;Bank number
ld hl,(extension)
call hexit
inc hl
ld (hl),'$'
ld de,__crt_loader_filename
ld a,1 ;READ only
ld c,$43 ;OPEN
call 5
and a
jp nz,next_file
push bc ;b=fd
; Allocate a bank
ld b,0 ;Primary mapper
ld a,0 ;Allocate user segment
call ALL_SEG
pop bc
ld de,msg_cantallocate
jp c,print_message_pop
ld c,a ;Save allocated segment
pop af
push af
ld e,a
ld hl,bank_mappings
ld d,0
add hl,de
ld (hl),c ;Save mapping
ld a,c
call PUT_P2
push bc
ld de,msg_loading
call print_message
ld de,__crt_loader_filename
call print_message
ld de,msg_lf
call print_message
pop bc
; b = file handler
ld de,32768 ;Just read a banks worth, don't care how much really
ld hl,16384
ld c,$48 ;Read
push bc
call 5
pop bc
close_file:
ld c,$45 ;Close
call 5
next_file:
pop af
inc a
jr nz,load_loop
and a
ret
; Populated by appmake
PUBLIC __crt_loader_filename
extension:
defw 0
__crt_loader_filename:
defm "BANK.00"
defs 12
bank_mappings:
defs 256 ;This is far too many
; Jump table (copied from on high)
dos2_jump:
ALL_SEG: defs 3 ;Allocate a 16k segment.
FRE_SEG: defs 3 ;Free a 16k segment.
RD_SEG: defs 3 ;Read byte from address A:HL to A
WR_SEG: defs 3 ;Write byte from E to address A:HL.
CAL_SEG: defs 3 ;Inter-segment call. Address in IYh:IX
CALLS: defs 3 ;Inter-segment call. Address in line after the call instruction.
PUT_PH: defs 3 ;Put segment into page (HL).
GET_PH: defs 3 ;Get current segment for page (HL)
PUT_P0: defs 3 ;Put segment into page 0.
GET_P0: defs 3 ;Get current segment for page 0.
PUT_P1: defs 3 ;Put segment into page 1.
GET_P1: defs 3 ;Get current segment for page 1.
PUT_P2: defs 3 ;Put segment into page 2.
GET_P2: defs 3 ;Get current segment for page 2.
PUT_P3: defs 3 ;Not supported since page-3 must never be changed. Acts like a "NOP" if called.
GET_P3: defs 3 ;Get current segment for page 3.
dos2_end:
mainsp: defw 0
tempstack: defs CLIB_BANKING_STACK_SIZE
tempsp: defw tempstack + CLIB_BANKING_STACK_SIZE
ENDIF
INCLUDE "crt/classic/crt_runtime_selection.asm"
INCLUDE "crt/classic/crt_section.asm"
IF CLIB_MSXDOS = 1
INCLUDE "crt/classic/crt_cpm_fcntl.asm"
ENDIF
SECTION bss_crt
PUBLIC brksave
brksave: defb 1
IF CRT_DISABLELOADER != 1
; Include a lot of banks (org to 0x8000)
INCLUDE "target/msx/classic/megarom.asm"
ENDIF
|
tests/syntax_examples/src/test_operator_attribute.ads | TNO/Dependency_Graph_Extractor-Ada | 1 | 1460 | package Test_Operator_Attribute is
procedure Test;
end Test_Operator_Attribute;
|
src/smk-files.adb | LionelDraghi/smk | 10 | 28372 | <reponame>LionelDraghi/smk
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-- http://www.apache.org/licenses/LICENSE-2.0
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- -----------------------------------------------------------------------------
with File_Utilities;
with Smk.IO;
with Smk.Settings;
with Ada.Calendar; use Ada.Calendar;
with Ada.Directories;
with Ada.Strings.Fixed;
package body Smk.Files is
-- --------------------------------------------------------------------------
function "+" (Name : File_Name) return String is
(To_String (Name));
function "+" (Name : String) return File_Name is
(File_Name'(To_Unbounded_String (Name)));
-- --------------------------------------------------------------------------
function Shorten (Name : String) return String is
(if Settings.Shorten_File_Names
then File_Utilities.Short_Path (From_Dir => Settings.Initial_Directory,
To_File => Name)
else Name);
function Shorten (Name : File_Name) return String is
(Shorten (+Name));
-- --------------------------------------------------------------------------
function Modification_Time (File_Name : String) return Time is
use Ada.Directories;
begin
if Exists (File_Name) and then Kind (File_Name) /= Special_File
-- Trying to get Modification_Time of /dev/urandom
-- raise Name_Error
then
return Ada.Directories.Modification_Time (File_Name);
else
return Clock;
end if;
end Modification_Time;
-- --------------------------------------------------------------------------
function Create (File : File_Name;
Role : File_Role) return File_Type is
((Time_Tag => Modification_Time (+File),
Is_Dir => Is_Dir (+File),
Is_System => Settings.Is_System (+File),
Is_Source => Role = Source,
Is_Target => Role = Target,
Status => New_File));
-- --------------------------------------------------------------------------
function Time_Tag (File : File_Type) return Time is (File.Time_Tag);
function Is_Dir (File : File_Type) return Boolean is (File.Is_Dir);
function Is_System (File : File_Type) return Boolean is (File.Is_System);
function Role (File : File_Type) return File_Role is
(if Is_Source (File) then Source
else (if Is_Target (File) then Target
else Unused));
function Status (File : File_Type) return File_Status is (File.Status);
function Is_Source (File : File_Type) return Boolean is (File.Is_Source);
function Is_Target (File : File_Type) return Boolean is (File.Is_Target);
-- -----------------------------------------------------------------------
function Has_Target (Name : File_Name;
Target : String) return Boolean is
begin
if Target = "" then
return False;
elsif Ada.Strings.Fixed.Tail (+Name, Target'Length) = Target then
IO.Put_Line ("File " & (+Name) & " match Target "
& Target & ".", Level => IO.Verbose);
return True;
else
return False;
end if;
end Has_Target;
-- --------------------------------------------------------------------------
function File_Image (Name : File_Name;
File : File_Type;
Prefix : String := "") return String is
Left : constant String :=
(if Settings.Long_Listing_Format
then Prefix
& (if Is_Dir (File) then "[Dir] " else "[Fil] ")
& (if Is_System (File) then "[System] " else "[Normal] ")
& "[" & Role_Image (Role (File)) & "] "
& "[" & Status_Image (File.Status) & "] "
& "[" & IO.Image (File.Time_Tag) & "] "
else Prefix);
begin
return Left & Shorten (Name);
end File_Image;
-- --------------------------------------------------------------------------
function Is_Dir (File_Name : in String) return Boolean is
use Ada.Directories;
begin
return Exists (File_Name) and then Kind (File_Name) = Directory;
end Is_Dir;
-- --------------------------------------------------------------------------
procedure Update_File_Status (Name : in File_Name;
File : in out File_Type;
Previous_Status : out File_Status;
Current_Status : out File_Status)
is
Fl_Name : constant String := +Name;
use Ada.Directories;
begin
Previous_Status := File.Status;
if not Exists (Fl_Name) then
File.Status := Missing;
elsif Modification_Time (Fl_Name) > File.Time_Tag then
File.Status := Updated;
else
File.Status := Identical;
end if;
Current_Status := File.Status;
IO.Put_Line (Item => "[" & Short_Status_Image (Previous_Status) & " -> "
& Short_Status_Image (Current_Status) & "] "
& (+Name),
Level => IO.Debug);
end Update_File_Status;
end Smk.Files;
|
src/ado-objects.adb | My-Colaborations/ada-ado | 0 | 758 | -----------------------------------------------------------------------
-- ADO Objects -- Database objects
-- Copyright (C) 2009 - 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Strings.Unbounded.Hash;
with Ada.Unchecked_Deallocation;
with ADO.Sessions.Factory;
package body ADO.Objects is
use type ADO.Schemas.Class_Mapping_Access;
-- ------------------------------
-- Compute the hash of the object key.
-- ------------------------------
function Hash (Key : Object_Key) return Ada.Containers.Hash_Type is
use Ada.Containers;
Result : Ada.Containers.Hash_Type;
begin
case Key.Of_Type is
when KEY_INTEGER =>
if Key.Id < 0 then
Result := Hash_Type (-Key.Id);
else
Result := Hash_Type (Key.Id);
end if;
when KEY_STRING =>
Result := Ada.Strings.Unbounded.Hash (Key.Str);
end case;
-- Merge with the class mapping hash so that two key values of different
-- tables will result in a different hash.
Result := Result xor ADO.Schemas.Hash (Key.Of_Class);
return Result;
end Hash;
-- ------------------------------
-- Compare whether the two objects pointed to by Left and Right have the same
-- object key. The object key is identical if the object key type, the class
-- mapping and the key value are identical.
-- ------------------------------
function Equivalent_Elements (Left, Right : Object_Key)
return Boolean is
use Ada.Strings.Unbounded;
begin
if Left.Of_Type /= Right.Of_Type then
return False;
end if;
if Left.Of_Class /= Right.Of_Class then
return False;
end if;
case Left.Of_Type is
when KEY_INTEGER =>
return Left.Id = Right.Id;
when KEY_STRING =>
return Left.Str = Right.Str;
end case;
end Equivalent_Elements;
-- ------------------------------
-- Get the key value
-- ------------------------------
function Get_Value (Key : Object_Key) return Identifier is
begin
return Key.Id;
end Get_Value;
-- ------------------------------
-- Get the key value
-- ------------------------------
function Get_Value (Key : Object_Key) return Ada.Strings.Unbounded.Unbounded_String is
begin
return Key.Str;
end Get_Value;
-- ------------------------------
-- Set the key value
-- ------------------------------
procedure Set_Value (Key : in out Object_Key;
Value : in Identifier) is
begin
case Key.Of_Type is
when KEY_INTEGER =>
Key.Id := Value;
when KEY_STRING =>
Key.Str := Ada.Strings.Unbounded.To_Unbounded_String (Identifier'Image (Value));
end case;
end Set_Value;
-- ------------------------------
-- Set the key value
-- ------------------------------
procedure Set_Value (Key : in out Object_Key;
Value : in String) is
begin
case Key.Of_Type is
when KEY_INTEGER =>
Key.Id := Identifier'Value (Value);
when KEY_STRING =>
Key.Str := Ada.Strings.Unbounded.To_Unbounded_String (Value);
end case;
end Set_Value;
-- ------------------------------
-- Get the key as a string
-- ------------------------------
function To_String (Key : Object_Key) return String is
begin
case Key.Of_Type is
when KEY_INTEGER =>
return Identifier'Image (Key.Id);
when KEY_STRING =>
return Ada.Strings.Unbounded.To_String (Key.Str);
end case;
end To_String;
-- ------------------------------
-- Return the key value in a bean object.
-- ------------------------------
function To_Object (Key : Object_Key) return Util.Beans.Objects.Object is
begin
case Key.Of_Type is
when KEY_INTEGER =>
return Util.Beans.Objects.To_Object (Long_Long_Integer (Key.Id));
when KEY_STRING =>
return Util.Beans.Objects.To_Object (Key.Str);
end case;
end To_Object;
-- ------------------------------
-- Increment the reference counter when an object is copied
-- ------------------------------
overriding
procedure Adjust (Object : in out Object_Ref) is
begin
if Object.Object /= null then
Util.Concurrent.Counters.Increment (Object.Object.Counter);
end if;
end Adjust;
-- ------------------------------
-- Decrement the reference counter and release the object record.
-- ------------------------------
overriding
procedure Finalize (Object : in out Object_Ref) is
procedure Free is new
Ada.Unchecked_Deallocation (Object => Object_Record'Class,
Name => Object_Record_Access);
Is_Zero : Boolean;
begin
if Object.Object /= null then
Util.Concurrent.Counters.Decrement (Object.Object.Counter, Is_Zero);
if Is_Zero then
Free (Object.Object);
end if;
end if;
end Finalize;
-- ------------------------------
-- Mark the field identified by <b>Field</b> as modified.
-- ------------------------------
procedure Set_Field (Object : in out Object_Ref'Class;
Field : in Column_Index) is
begin
if Object.Object = null then
Object.Allocate;
Object.Object.Is_Loaded := True;
elsif not Object.Object.Is_Loaded then
Object.Lazy_Load;
end if;
Object.Object.Modified (Field) := True;
end Set_Field;
-- ------------------------------
-- Prepare the object to be modified. If the reference is empty, an object record
-- instance is allocated by calling <b>Allocate</b>.
-- ------------------------------
procedure Prepare_Modify (Object : in out Object_Ref'Class;
Result : out Object_Record_Access) is
begin
if Object.Object = null then
Object.Allocate;
Object.Object.Is_Loaded := True;
elsif not Object.Object.Is_Loaded then
Object.Lazy_Load;
end if;
Result := Object.Object;
end Prepare_Modify;
-- ------------------------------
-- Check whether this object is initialized or not.
-- ------------------------------
function Is_Null (Object : in Object_Ref'Class) return Boolean is
begin
return Object.Object = null;
end Is_Null;
-- ------------------------------
-- Check whether this object is saved in the database.
-- Returns True if the object was saved in the database.
-- ------------------------------
function Is_Inserted (Object : in Object_Ref'Class) return Boolean is
begin
if Object.Object = null then
return False;
else
return Object.Object.Is_Created;
end if;
end Is_Inserted;
-- ------------------------------
-- Check whether this object is loaded from the database.
-- ------------------------------
function Is_Loaded (Object : in Object_Ref'Class) return Boolean is
begin
if Object.Object = null then
return False;
else
return Object.Object.Is_Loaded;
end if;
end Is_Loaded;
-- ------------------------------
-- Check if at least one field is modified and the object must be saved.
-- ------------------------------
function Is_Modified (Object : in Object_Ref'Class) return Boolean is
begin
if Object.Object = null then
return False;
else
return Object.Object.Is_Modified;
end if;
end Is_Modified;
-- ------------------------------
-- Load the object from the database if it was not already loaded.
-- For a lazy association, the <b>Object_Record</b> is allocated and holds the primary key.
-- The <b>Is_Loaded</b> boolean is cleared thus indicating the other values are not loaded.
-- This procedure makes sure these values are loaded by invoking <b>Load</b> if necessary.
-- Raises Session_Error if the session associated with the object is closed.
-- ------------------------------
procedure Lazy_Load (Ref : in Object_Ref'Class) is
begin
if Ref.Object = null then
raise NULL_ERROR;
elsif not Ref.Object.Is_Loaded then
if Ref.Object.Session = null then
raise ADO.Sessions.Session_Error;
end if;
if Ref.Object.Session.Session = null then
raise ADO.Sessions.Session_Error;
end if;
declare
S : ADO.Sessions.Session
:= ADO.Sessions.Factory.Get_Session (Ref.Object.Session.Session.all'Access);
begin
Ref.Object.Load (S);
end;
end if;
end Lazy_Load;
-- ------------------------------
-- Internal method to get the object record instance and make sure it is fully loaded.
-- If the object was not yet loaded, calls <b>Lazy_Load</b> to get the values from the
-- database. Raises Session_Error if the session associated with the object is closed.
-- ------------------------------
function Get_Load_Object (Ref : in Object_Ref'Class) return Object_Record_Access is
begin
Ref.Lazy_Load;
return Ref.Object;
end Get_Load_Object;
-- ------------------------------
-- Internal method to get the object record instance.
-- ------------------------------
function Get_Object (Ref : in Object_Ref'Class) return Object_Record_Access is
begin
return Ref.Object;
end Get_Object;
-- ------------------------------
-- Get the object key
-- ------------------------------
function Get_Key (Ref : in Object_Ref'Class) return Object_Key is
begin
return Ref.Object.Key;
end Get_Key;
-- ------------------------------
-- Set the object key.
-- ------------------------------
procedure Set_Key_Value (Ref : in out Object_Ref'Class;
Value : in Identifier;
Session : in ADO.Sessions.Session'Class) is
begin
if Ref.Object = null then
Ref.Allocate;
end if;
Ref.Object.Is_Created := True;
Ref.Object.Set_Key_Value (Value);
Ref.Object.Session := Session.Get_Session_Proxy;
Util.Concurrent.Counters.Increment (Ref.Object.Session.Counter);
end Set_Key_Value;
-- ------------------------------
-- Set the object key.
-- ------------------------------
procedure Set_Key_Value (Ref : in out Object_Ref'Class;
Value : in Ada.Strings.Unbounded.Unbounded_String;
Session : in ADO.Sessions.Session'Class) is
begin
if Ref.Object = null then
Ref.Allocate;
end if;
Ref.Object.Is_Created := True;
Ref.Object.Set_Key_Value (Value);
Ref.Object.Session := Session.Get_Session_Proxy;
Util.Concurrent.Counters.Increment (Ref.Object.Session.Counter);
end Set_Key_Value;
-- ------------------------------
-- Check if the two objects are the same database objects.
-- The comparison is only made on the primary key.
-- Returns true if the two objects have the same primary key.
-- ------------------------------
function "=" (Left : Object_Ref; Right : Object_Ref) return Boolean is
begin
-- Same target object
if Left.Object = Right.Object then
return True;
end if;
-- One of the target object is null
if Left.Object = null or Right.Object = null then
return False;
end if;
return Left.Object.Key = Right.Object.Key;
end "=";
procedure Set_Object (Ref : in out Object_Ref'Class;
Object : in Object_Record_Access) is
Is_Zero : Boolean;
begin
if Ref.Object /= null and Ref.Object /= Object then
Util.Concurrent.Counters.Decrement (Ref.Object.Counter, Is_Zero);
if Is_Zero then
Destroy (Ref.Object);
end if;
end if;
Ref.Object := Object;
end Set_Object;
procedure Set_Object (Ref : in out Object_Ref'Class;
Object : in Object_Record_Access;
Session : in ADO.Sessions.Session'Class) is
begin
if Object /= null and then Object.Session = null then
Object.Session := Session.Get_Session_Proxy;
Util.Concurrent.Counters.Increment (Object.Session.Counter);
end if;
Ref.Set_Object (Object);
end Set_Object;
-- ------------------------------
-- Get the object primary key in a bean object.
-- ------------------------------
function To_Object (Object : in Object_Ref'Class) return Util.Beans.Objects.Object is
begin
if Object.Object = null then
return Util.Beans.Objects.Null_Object;
else
return To_Object (Object.Object.Get_Key);
end if;
end To_Object;
-- ------------------------------
-- Get the object key
-- ------------------------------
function Get_Key (Ref : in Object_Record'Class) return Object_Key is
begin
return Ref.Key;
end Get_Key;
-- ------------------------------
-- Set the object key
-- ------------------------------
procedure Set_Key (Ref : in out Object_Record'Class;
Key : in Object_Key) is
begin
Ref.Key := Key;
end Set_Key;
-- ------------------------------
-- Get the object key value as an identifier
-- ------------------------------
function Get_Key_Value (Ref : in Object_Record'Class)
return Identifier is
begin
return Ref.Key.Id;
end Get_Key_Value;
function Get_Key_Value (Ref : in Object_Record'Class)
return Ada.Strings.Unbounded.Unbounded_String is
begin
return Ref.Key.Str;
end Get_Key_Value;
procedure Set_Key_Value (Ref : in out Object_Record'Class;
Value : in Identifier) is
begin
Set_Value (Ref.Key, Value);
end Set_Key_Value;
procedure Set_Key_Value (Ref : in out Object_Record'Class;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
begin
Ref.Key.Str := Value;
end Set_Key_Value;
procedure Set_Key_Value (Ref : in out Object_Record'Class;
Value : in String) is
begin
Ref.Key.Str := Ada.Strings.Unbounded.To_Unbounded_String (Value);
end Set_Key_Value;
-- ------------------------------
-- Get the table name associated with the object record.
-- ------------------------------
function Get_Table_Name (Ref : in Object_Record'Class) return Util.Strings.Name_Access is
begin
if Ref.Key.Of_Class = null then
return null;
else
return Ref.Key.Of_Class.Table;
end if;
end Get_Table_Name;
-- ------------------------------
-- Check if this is a new object.
-- Returns True if an insert is necessary to persist this object.
-- ------------------------------
function Is_Created (Ref : in Object_Record'Class) return Boolean is
begin
return Ref.Is_Created;
end Is_Created;
-- ------------------------------
-- Mark the object as created in the database.
-- ------------------------------
procedure Set_Created (Ref : in out Object_Record'Class) is
begin
Ref.Is_Created := True;
Ref.Is_Loaded := True;
Ref.Modified := (others => False);
end Set_Created;
-- ------------------------------
-- Check if at least one field is modified and the object must be saved.
-- ------------------------------
function Is_Modified (Ref : in Object_Record'Class) return Boolean is
begin
return (for some Modified_Field of Ref.Modified => Modified_Field);
end Is_Modified;
-- ------------------------------
-- Check if the field at position <b>Field</b> was modified.
-- ------------------------------
function Is_Modified (Ref : in Object_Record'Class;
Field : in Column_Index) return Boolean is
begin
return Ref.Modified (Field);
end Is_Modified;
-- ------------------------------
-- Clear the modification flag associated with the field at
-- position <b>Field</b>.
-- ------------------------------
procedure Clear_Modified (Ref : in out Object_Record'Class;
Field : in Column_Index) is
begin
Ref.Modified (Field) := False;
end Clear_Modified;
-- ------------------------------
-- Release the session proxy, deleting the instance if it is no longer used.
-- The <tt>Detach</tt> parameter controls whether the session proxy must be detached
-- from the database session. When set, the session proxy is no longer linked to the
-- database session and trying to load the lazy object will raise the Session_Error
-- exception.
-- ------------------------------
procedure Release_Proxy (Proxy : in out Session_Proxy_Access;
Detach : in Boolean := False) is
procedure Free is new
Ada.Unchecked_Deallocation (Object => Session_Proxy,
Name => Session_Proxy_Access);
Is_Zero : Boolean;
begin
if Proxy /= null then
Util.Concurrent.Counters.Decrement (Proxy.Counter, Is_Zero);
if Detach then
Proxy.Session := null;
end if;
if Is_Zero then
Free (Proxy);
end if;
Proxy := null;
end if;
end Release_Proxy;
-- ------------------------------
-- Release the object.
-- ------------------------------
overriding
procedure Finalize (Object : in out Object_Record) is
begin
Release_Proxy (Object.Session);
end Finalize;
-- ------------------------------
-- Copy the source object record into the target.
-- ------------------------------
procedure Copy (To : in out Object_Record;
From : in Object_Record'Class) is
begin
To.Session := From.Session;
To.Is_Created := From.Is_Created;
To.Is_Loaded := From.Is_Loaded;
To.Modified := From.Modified;
To.Key := From.Key;
end Copy;
function Create_Session_Proxy (S : access ADO.Sessions.Session_Record)
return Session_Proxy_Access is
Result : constant Session_Proxy_Access := new Session_Proxy;
begin
Result.Session := S;
return Result;
end Create_Session_Proxy;
-- ------------------------------
-- Set the object field to the new value in <b>Into</b>. If the new value is identical,
-- the operation does nothing. Otherwise, the new value <b>Value</b> is copied
-- to <b>Into</b> and the field identified by <b>Field</b> is marked as modified on
-- the object.
-- ------------------------------
procedure Set_Field_Unbounded_String (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Ada.Strings.Unbounded.Unbounded_String;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
use Ada.Strings.Unbounded;
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Unbounded_String;
procedure Set_Field_String (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Ada.Strings.Unbounded.Unbounded_String;
Value : in String) is
use Ada.Strings.Unbounded;
begin
if Into /= Value then
Ada.Strings.Unbounded.Set_Unbounded_String (Into, Value);
Object.Modified (Field) := True;
end if;
end Set_Field_String;
procedure Set_Field_String (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Nullable_String;
Value : in String) is
use Ada.Strings.Unbounded;
begin
if Into.Is_Null or else Into.Value /= Value then
Into.Is_Null := False;
Ada.Strings.Unbounded.Set_Unbounded_String (Into.Value, Value);
Object.Modified (Field) := True;
end if;
end Set_Field_String;
procedure Set_Field_String (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Nullable_String;
Value : in ADO.Nullable_String) is
use Ada.Strings.Unbounded;
begin
if Into.Is_Null then
if not Value.Is_Null then
Into := Value;
Object.Modified (Field) := True;
end if;
elsif Value.Is_Null then
Into.Is_Null := True;
Object.Modified (Field) := True;
elsif Into.Value /= Value.Value then
Into.Value := Value.Value;
Object.Modified (Field) := True;
end if;
end Set_Field_String;
procedure Set_Field_Time (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Ada.Calendar.Time;
Value : in Ada.Calendar.Time) is
use Ada.Calendar;
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Time;
procedure Set_Field_Time (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Nullable_Time;
Value : in ADO.Nullable_Time) is
use Ada.Calendar;
begin
if Into.Is_Null then
if not Value.Is_Null then
Into := Value;
Object.Modified (Field) := True;
end if;
elsif Value.Is_Null then
Into.Is_Null := True;
Object.Modified (Field) := True;
elsif Into.Value /= Value.Value then
Into.Value := Value.Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Time;
procedure Set_Field_Integer (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Integer;
Value : in Integer) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Integer;
procedure Set_Field_Integer (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Nullable_Integer;
Value : in ADO.Nullable_Integer) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Integer;
procedure Set_Field_Natural (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Natural;
Value : in Natural) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Natural;
procedure Set_Field_Positive (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Positive;
Value : in Positive) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Positive;
procedure Set_Field_Boolean (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Boolean;
Value : in Boolean) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Boolean;
procedure Set_Field_Boolean (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Nullable_Boolean;
Value : in Nullable_Boolean) is
begin
if Into.Is_Null then
if not Value.Is_Null then
Into := Value;
Object.Modified (Field) := True;
end if;
elsif Value.Is_Null then
Into.Is_Null := True;
Object.Modified (Field) := True;
elsif Into.Value /= Value.Value then
Into.Value := Value.Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Boolean;
procedure Set_Field_Float (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Float;
Value : in Float) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Float;
procedure Set_Field_Long_Float (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Long_Float;
Value : in Long_Float) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Long_Float;
procedure Set_Field_Object (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out Object_Ref'Class;
Value : in Object_Ref'Class) is
begin
if Into.Object /= Value.Object then
Set_Object (Into, Value.Object);
if Into.Object /= null then
Util.Concurrent.Counters.Increment (Into.Object.Counter);
end if;
Object.Modified (Field) := True;
end if;
end Set_Field_Object;
procedure Set_Field_Identifier (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Identifier;
Value : in ADO.Identifier) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Identifier;
procedure Set_Field_Entity_Type (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Entity_Type;
Value : in ADO.Entity_Type) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Entity_Type;
procedure Set_Field_Entity_Type (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Nullable_Entity_Type;
Value : in ADO.Nullable_Entity_Type) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Entity_Type;
procedure Set_Field_Blob (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out ADO.Blob_Ref;
Value : in ADO.Blob_Ref) is
use type ADO.Blob_Ref;
begin
if Value /= Into then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Blob;
procedure Set_Field_Key_Value (Object : in out Object_Record'Class;
Field : in Column_Index;
Value : in ADO.Identifier) is
begin
if Object.Get_Key_Value /= Value then
Set_Key_Value (Object, Value);
Object.Modified (Field) := True;
end if;
end Set_Field_Key_Value;
procedure Set_Field_Key_Value (Object : in out Object_Record'Class;
Field : in Column_Index;
Value : in String) is
use Ada.Strings.Unbounded;
begin
if Object.Key.Str /= Value then
Set_Key_Value (Object, Value);
Object.Modified (Field) := True;
end if;
end Set_Field_Key_Value;
procedure Set_Field_Key_Value (Object : in out Object_Record'Class;
Field : in Column_Index;
Value : in Ada.Strings.Unbounded.Unbounded_String) is
use Ada.Strings.Unbounded;
begin
if Object.Key.Str /= Value then
Set_Key_Value (Object, Value);
Object.Modified (Field) := True;
end if;
end Set_Field_Key_Value;
procedure Set_Field_Operation (Object : in out Object_Record'Class;
Field : in Column_Index;
Into : in out T;
Value : in T) is
begin
if Into /= Value then
Into := Value;
Object.Modified (Field) := True;
end if;
end Set_Field_Operation;
-- ------------------------------
-- Mark the field identified by <b>Field</b> as modified.
-- ------------------------------
procedure Set_Field (Object : in out Object_Record'Class;
Field : in Column_Index) is
begin
Object.Modified (Field) := True;
end Set_Field;
end ADO.Objects;
|
source/RASCAL-Mode.ads | bracke/Meaning | 0 | 565 | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- --
-- This library is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU Lesser General Public --
-- License as published by the Free Software Foundation; either --
-- version 2.1 of the License, or (at your option) any later version. --
-- --
-- This library is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU --
-- Lesser General Public License for more details. --
-- --
-- You should have received a copy of the GNU Lesser General Public --
-- License along with this library; if not, write to the Free Software --
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --
-- --
--------------------------------------------------------------------------------
-- @brief Mode types and methods.
-- $Author$
-- $Date$
-- $Revision$
with RASCAL.OS; use RASCAL.OS;
package RASCAL.Mode is
No_Mode_Variable : Exception;
type Mode_Unit_Type is (Pixel,OSUnits);
--
-- Wimp_SetMode causes this message to be broadcasted. You should {*}not{*} acnowledge this message.
--After sending this message, the Wimp sends an Open_Window_Request event for each window.
--You must not delete any window.
--If you want to delete a window, then just mark it to be deleted, and do the deed when you receive the Open window request.
--
type Message_ModeChange is
record
Header : Message_Event_Header;
end record;
pragma Convention (C, Message_ModeChange);
type Message_ModeChange_Pointer is access Message_ModeChange;
type AMEL_Message_ModeChange is abstract new
Message_EventListener(Message_Event_ModeChange) with
record
Event : Message_ModeChange_Pointer;
end record;
--
-- This message is broadcasted by the palette utility when the RGB value for one or more physical colours have changed.
--Message_ModeChange is broadcast {*}instead{*} of this message at a mode change.
--In 256 colour modes, it is not the physical colour which changes, but only the mapping from logical to physical colour.
--In that case the palette utility itself forces a redraw of the whole screen.
--
type Message_PaletteChange is
record
Header : Message_Event_Header;
end record;
pragma Convention (C, Message_PaletteChange);
type Message_PaletteChange_Pointer is access Message_PaletteChange;
type AMEL_Message_PaletteChange is abstract new
Message_EventListener(Message_Event_PaletteChange) with
record
Event : Message_PaletteChange_Pointer;
end record;
--
-- Returns the horisontal resolution of the current mode.
--
function Get_X_Resolution (Unit : Mode_Unit_Type := Pixel) return Integer;
--
-- Returns the vertical resolution of the current mode.
--
function Get_Y_Resolution (Unit : Mode_Unit_Type := Pixel) return Integer;
--
-- Returns horisontal eigen factor.
--
function Get_X_Eig_Factor return Integer;
--
-- Returns vertical eigen factor.
--
function Get_Y_Eig_Factor return Integer;
procedure Handle (The : in AMEL_Message_ModeChange) is abstract;
procedure Handle (The : in AMEL_Message_PaletteChange) is abstract;
end RASCAL.Mode;
|
test/Fail/TerminationInfiniteRecord.agda | hborum/agda | 3 | 6500 | -- 2010-10-02, see issue 334
module TerminationInfiniteRecord where
record Empty : Set where
inductive
constructor empty
field
fromEmpty : Empty
elimEmpty : Empty -> Set
elimEmpty (empty e) = elimEmpty e
-- this no longer termination checks
-- and it should not, since it is translated to
-- elimEmpty e' = elimEmpty (fromEmpty e')
|
programs/oeis/108/A108581.asm | neoneye/loda | 22 | 163568 | ; A108581: Positive triangular numbers repeated their own number of times.
; 1,3,3,3,6,6,6,6,6,6,10,10,10,10,10,10,10,10,10,10,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28
add $0,1
lpb $0
add $2,1
add $1,$2
trn $0,$1
lpe
mov $0,$1
|
src/map.asm | Gegel85/BTTGB | 1 | 25333 | allMaps::
dw MapTuto
db BANK(MapTuto)
dw Map1
db BANK(Map1)
dw Map2
db BANK(Map2)
dw Map3
db BANK(Map3)
dw Map4
db BANK(Map4)
dw Map5
db BANK(Map5)
dw Map6
db BANK(Map6)
allMapsEnd::
copyMap::
ld a, [hli]
ld b, a
ld a, [hli]
add $49
ld c, a
ld a, b
adc $00
ld b, a
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
inc hl
call copyMemory
; Copies a map column
; Params:
; a -> Size of the column
; de -> Address to place the column in
; hl -> Position of the map column to copy
; c -> Offset between each byte
; Return:
; de -> The address of the next sprite
; Registers:
; af -> Not preserved
; bc -> Not preserved
; de -> Not preserved
; hl -> Not preserved
copyMapColumn::
push af
ld a, [MAP + MAP_SIZE_X_OFF]
ld b, a
pop af
push af
.loop::
ld a, [hl]
push bc
ld c, a
reg VRAM_BANK_SELECT, 1
ld a, c
and TILE_PALETTE
rra
rra
rra
rra
rra
ld [de], a
reset VRAM_BANK_SELECT
ld a, c
and TILE_TEXTURE
ld [de], a
pop bc
ld a, e
add c
ld e, a
ld a, d
adc $00
ld d, a
ld a, l
add b
ld l, a
ld a, h
adc $00
ld h, a
pop af
dec a
push af
jr nz, .loop
pop af
ret
; Loads a map
; Params:
; a -> ROM bank where the map is stored
; hl -> Address of the map to load
; Return:
; None
; Registers:
; af -> Not preserved
; bc -> Not preserved
; de -> Not preserved
; hl -> Not preserved
loadMap::
push hl
ld [ROM_BANK_SWITCH], a
call waitVBLANK
reset LCD_CONTROL
ld de, MAP
call copyMap
pop de
inc de
inc de
ld hl, MAP_PTR_H
ld a, [de]
ld [hli], a
inc de
ld a, [de]
ld [hl], a
inc de ;MAP_PTR_L
ld hl, BOTTOM_LEFT_VRAM_START_L
ld a, MAP_VRAM_START_BOTTOM_LEFT & $FF
ld [hli], a ; BOTTOM_LEFT_VRAM_START_L
ld a, MAP_VRAM_START_BOTTOM_LEFT >> 8
ld [hli], a ; BOTTOM_LEFT_VRAM_START_H
ld a, [de]
inc de
ld [hli], a ; BOTTOM_LEFT_MAP_START_L
ld a, [de]
inc de
ld [hli], a ; BOTTOM_LEFT_MAP_START_H
ld a, MAP_VRAM_START_TOP_RIGHT & $FF
ld [hli], a ; TOP_RIGHT_VRAM_START_L
ld a, MAP_VRAM_START_TOP_RIGHT >> 8
ld [hli], a ; TOP_RIGHT_VRAM_START_H
ld a, [de]
inc de
ld [hli], a ; TOP_RIGHT_MAP_START_L
ld a, [de]
inc de
ld [hli], a ; TOP_RIGHT_MAP_START_H
ld a, MAP_VRAM_START_LEFT_LEFT & $FF
ld [hli], a ; LEFT_LEFT_VRAM_START_L
ld a, MAP_VRAM_START_LEFT_LEFT >> 8
ld [hli], a ; LEFT_LEFT_VRAM_START_H
ld a, [de]
inc de
ld [hli], a ; LEFT_LEFT_MAP_START_L
ld a, [de]
inc de
ld [hli], a ; LEFT_LEFT_MAP_START_H
ld a, MAP_VRAM_START_TOP_LEFT & $FF
ld [hli], a ; TOP_LEFT_VRAM_START_L
ld a, MAP_VRAM_START_TOP_LEFT >> 8
ld [hli], a ; TOP_LEFT_VRAM_START_H
ld a, [de]
inc de
ld [hli], a ; TOP_LEFT_MAP_START_L
ld a, [de]
inc de
ld [hli], a ; TOP_LEFT_MAP_START_H
ld hl, MAP + MAP_PAL_OFF
ld bc, $40
ld a, 0
ld e, BGPI & $FF
call setGBCPalette
reg SCROLL_X, $8
ld [SCROLL_Y], a
ld [OLD_SCROLL_X], a
ld [OLD_SCROLL_Y], a
ld de, VRAM_BG_START
ld b, 20
ld a, [TOP_LEFT_MAP_START_H]
ld h, a
ld a, [TOP_LEFT_MAP_START_L]
ld l, a
dec hl
.loop:
ld c, 22
.copyLoop:
ld a, [hli]
push bc
ld b, a
and TILE_TEXTURE
ld [de], a
reg VRAM_BANK_SELECT, 1
ld a, b
and TILE_PALETTE
rra
rra
rra
rra
rra
ld [de], a
reset VRAM_BANK_SELECT
pop bc
inc de
dec c
jr nz, .copyLoop
ld a, e
add 10
ld e, a
ld a, d
adc $00
ld d, a
push hl
ld hl, MAP + MAP_SIZE_X_OFF
ld a, [hl]
pop hl
sub 22
add l
ld l, a
ld a, h
adc $00
ld h, a
dec b
jr nz, .loop
reg ROM_BANK_SWITCH, 1
ret |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_934.asm | ljhsiun2/medusa | 9 | 178719 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x7f0e, %rsi
lea addresses_normal_ht+0x147de, %rdi
nop
nop
nop
nop
nop
and %r15, %r15
mov $111, %rcx
rep movsb
add $20979, %rbp
lea addresses_normal_ht+0x12c0e, %r9
nop
nop
add %rbp, %rbp
movups (%r9), %xmm4
vpextrq $1, %xmm4, %r15
and $44601, %rdi
lea addresses_UC_ht+0x1d33a, %r9
nop
inc %rbx
mov $0x6162636465666768, %rdi
movq %rdi, (%r9)
nop
nop
xor $22514, %r9
lea addresses_A_ht+0x14ba8, %rsi
lea addresses_WC_ht+0x17f0e, %rdi
nop
nop
nop
nop
cmp $25037, %r8
mov $117, %rcx
rep movsl
nop
xor %rdi, %rdi
lea addresses_normal_ht+0x1550e, %r15
clflush (%r15)
nop
xor %rsi, %rsi
movups (%r15), %xmm4
vpextrq $1, %xmm4, %r8
nop
nop
add $54982, %r8
lea addresses_UC_ht+0xf946, %rbp
nop
nop
nop
cmp %rdi, %rdi
movl $0x61626364, (%rbp)
nop
nop
dec %rbp
lea addresses_D_ht+0x15b0e, %rbp
nop
xor $47181, %r15
movups (%rbp), %xmm7
vpextrq $1, %xmm7, %rcx
dec %rbp
lea addresses_D_ht+0x236e, %rbp
dec %r15
vmovups (%rbp), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %r8
nop
nop
nop
nop
nop
cmp $7661, %rbp
lea addresses_normal_ht+0x6a8e, %r9
clflush (%r9)
nop
xor $7946, %rsi
mov $0x6162636465666768, %r8
movq %r8, (%r9)
nop
nop
nop
and %r15, %r15
lea addresses_UC_ht+0xe70e, %rdi
nop
nop
add $9607, %r15
vmovups (%rdi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %rsi
nop
add %r9, %r9
lea addresses_normal_ht+0x10b8e, %rsi
lea addresses_WT_ht+0x1366a, %rdi
clflush (%rdi)
xor %r15, %r15
mov $59, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %r8
lea addresses_normal_ht+0xa80e, %r15
nop
nop
nop
nop
nop
and $15897, %r9
movb (%r15), %r8b
nop
nop
nop
cmp %r8, %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_normal+0x13018, %r14
nop
nop
cmp %rdi, %rdi
mov $0x5152535455565758, %rbx
movq %rbx, (%r14)
nop
nop
dec %r14
// REPMOV
lea addresses_normal+0xd70e, %rsi
lea addresses_PSE+0xd00e, %rdi
and %r11, %r11
mov $22, %rcx
rep movsq
nop
nop
nop
xor $59420, %rdi
// Load
lea addresses_normal+0xcb0e, %r14
clflush (%r14)
sub $36341, %rcx
mov (%r14), %rdi
cmp $34874, %rax
// Store
lea addresses_WT+0xf256, %rsi
nop
nop
nop
nop
nop
and %rax, %rax
movl $0x51525354, (%rsi)
nop
nop
nop
nop
cmp %rax, %rax
// Load
lea addresses_A+0x1922e, %r11
nop
inc %rcx
movb (%r11), %bl
nop
nop
nop
add %rbx, %rbx
// Faulty Load
lea addresses_RW+0xa70e, %rax
nop
nop
nop
cmp %rdi, %rdi
mov (%rax), %rbx
lea oracles, %r11
and $0xff, %rbx
shlq $12, %rbx
mov (%r11,%rbx,1), %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': True, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'}
{'src': {'congruent': 11, 'same': False, 'type': 'addresses_normal'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8, 'same': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 2, 'same': False, 'type': 'addresses_WT'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 10, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
ln.asm | joeofportland/project4-3 | 0 | 167807 |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%esp
if(argc != 3){
9: 83 7d 08 03 cmpl $0x3,0x8(%ebp)
d: 74 19 je 28 <main+0x28>
printf(2, "Usage: ln old new\n");
f: c7 44 24 04 6d 08 00 movl $0x86d,0x4(%esp)
16: 00
17: c7 04 24 02 00 00 00 movl $0x2,(%esp)
1e: e8 7e 04 00 00 call 4a1 <printf>
exit();
23: e8 b9 02 00 00 call 2e1 <exit>
}
if(link(argv[1], argv[2]) < 0)
28: 8b 45 0c mov 0xc(%ebp),%eax
2b: 83 c0 08 add $0x8,%eax
2e: 8b 10 mov (%eax),%edx
30: 8b 45 0c mov 0xc(%ebp),%eax
33: 83 c0 04 add $0x4,%eax
36: 8b 00 mov (%eax),%eax
38: 89 54 24 04 mov %edx,0x4(%esp)
3c: 89 04 24 mov %eax,(%esp)
3f: e8 fd 02 00 00 call 341 <link>
44: 85 c0 test %eax,%eax
46: 79 2c jns 74 <main+0x74>
printf(2, "link %s %s: failed\n", argv[1], argv[2]);
48: 8b 45 0c mov 0xc(%ebp),%eax
4b: 83 c0 08 add $0x8,%eax
4e: 8b 10 mov (%eax),%edx
50: 8b 45 0c mov 0xc(%ebp),%eax
53: 83 c0 04 add $0x4,%eax
56: 8b 00 mov (%eax),%eax
58: 89 54 24 0c mov %edx,0xc(%esp)
5c: 89 44 24 08 mov %eax,0x8(%esp)
60: c7 44 24 04 80 08 00 movl $0x880,0x4(%esp)
67: 00
68: c7 04 24 02 00 00 00 movl $0x2,(%esp)
6f: e8 2d 04 00 00 call 4a1 <printf>
exit();
74: e8 68 02 00 00 call 2e1 <exit>
00000079 <stosb>:
"cc");
}
static inline void
stosb(void *addr, int data, int cnt)
{
79: 55 push %ebp
7a: 89 e5 mov %esp,%ebp
7c: 57 push %edi
7d: 53 push %ebx
asm volatile("cld; rep stosb" :
7e: 8b 4d 08 mov 0x8(%ebp),%ecx
81: 8b 55 10 mov 0x10(%ebp),%edx
84: 8b 45 0c mov 0xc(%ebp),%eax
87: 89 cb mov %ecx,%ebx
89: 89 df mov %ebx,%edi
8b: 89 d1 mov %edx,%ecx
8d: fc cld
8e: f3 aa rep stos %al,%es:(%edi)
90: 89 ca mov %ecx,%edx
92: 89 fb mov %edi,%ebx
94: 89 5d 08 mov %ebx,0x8(%ebp)
97: 89 55 10 mov %edx,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"0" (addr), "1" (cnt), "a" (data) :
"memory", "cc");
}
9a: 5b pop %ebx
9b: 5f pop %edi
9c: 5d pop %ebp
9d: c3 ret
0000009e <strcpy>:
#include "user.h"
#include "x86.h"
char*
strcpy(char *s, char *t)
{
9e: 55 push %ebp
9f: 89 e5 mov %esp,%ebp
a1: 83 ec 10 sub $0x10,%esp
char *os;
os = s;
a4: 8b 45 08 mov 0x8(%ebp),%eax
a7: 89 45 fc mov %eax,-0x4(%ebp)
while((*s++ = *t++) != 0)
aa: 90 nop
ab: 8b 45 08 mov 0x8(%ebp),%eax
ae: 8d 50 01 lea 0x1(%eax),%edx
b1: 89 55 08 mov %edx,0x8(%ebp)
b4: 8b 55 0c mov 0xc(%ebp),%edx
b7: 8d 4a 01 lea 0x1(%edx),%ecx
ba: 89 4d 0c mov %ecx,0xc(%ebp)
bd: 0f b6 12 movzbl (%edx),%edx
c0: 88 10 mov %dl,(%eax)
c2: 0f b6 00 movzbl (%eax),%eax
c5: 84 c0 test %al,%al
c7: 75 e2 jne ab <strcpy+0xd>
;
return os;
c9: 8b 45 fc mov -0x4(%ebp),%eax
}
cc: c9 leave
cd: c3 ret
000000ce <strcmp>:
int
strcmp(const char *p, const char *q)
{
ce: 55 push %ebp
cf: 89 e5 mov %esp,%ebp
while(*p && *p == *q)
d1: eb 08 jmp db <strcmp+0xd>
p++, q++;
d3: 83 45 08 01 addl $0x1,0x8(%ebp)
d7: 83 45 0c 01 addl $0x1,0xc(%ebp)
}
int
strcmp(const char *p, const char *q)
{
while(*p && *p == *q)
db: 8b 45 08 mov 0x8(%ebp),%eax
de: 0f b6 00 movzbl (%eax),%eax
e1: 84 c0 test %al,%al
e3: 74 10 je f5 <strcmp+0x27>
e5: 8b 45 08 mov 0x8(%ebp),%eax
e8: 0f b6 10 movzbl (%eax),%edx
eb: 8b 45 0c mov 0xc(%ebp),%eax
ee: 0f b6 00 movzbl (%eax),%eax
f1: 38 c2 cmp %al,%dl
f3: 74 de je d3 <strcmp+0x5>
p++, q++;
return (uchar)*p - (uchar)*q;
f5: 8b 45 08 mov 0x8(%ebp),%eax
f8: 0f b6 00 movzbl (%eax),%eax
fb: 0f b6 d0 movzbl %al,%edx
fe: 8b 45 0c mov 0xc(%ebp),%eax
101: 0f b6 00 movzbl (%eax),%eax
104: 0f b6 c0 movzbl %al,%eax
107: 29 c2 sub %eax,%edx
109: 89 d0 mov %edx,%eax
}
10b: 5d pop %ebp
10c: c3 ret
0000010d <strlen>:
uint
strlen(char *s)
{
10d: 55 push %ebp
10e: 89 e5 mov %esp,%ebp
110: 83 ec 10 sub $0x10,%esp
int n;
for(n = 0; s[n]; n++)
113: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
11a: eb 04 jmp 120 <strlen+0x13>
11c: 83 45 fc 01 addl $0x1,-0x4(%ebp)
120: 8b 55 fc mov -0x4(%ebp),%edx
123: 8b 45 08 mov 0x8(%ebp),%eax
126: 01 d0 add %edx,%eax
128: 0f b6 00 movzbl (%eax),%eax
12b: 84 c0 test %al,%al
12d: 75 ed jne 11c <strlen+0xf>
;
return n;
12f: 8b 45 fc mov -0x4(%ebp),%eax
}
132: c9 leave
133: c3 ret
00000134 <memset>:
void*
memset(void *dst, int c, uint n)
{
134: 55 push %ebp
135: 89 e5 mov %esp,%ebp
137: 83 ec 0c sub $0xc,%esp
stosb(dst, c, n);
13a: 8b 45 10 mov 0x10(%ebp),%eax
13d: 89 44 24 08 mov %eax,0x8(%esp)
141: 8b 45 0c mov 0xc(%ebp),%eax
144: 89 44 24 04 mov %eax,0x4(%esp)
148: 8b 45 08 mov 0x8(%ebp),%eax
14b: 89 04 24 mov %eax,(%esp)
14e: e8 26 ff ff ff call 79 <stosb>
return dst;
153: 8b 45 08 mov 0x8(%ebp),%eax
}
156: c9 leave
157: c3 ret
00000158 <strchr>:
char*
strchr(const char *s, char c)
{
158: 55 push %ebp
159: 89 e5 mov %esp,%ebp
15b: 83 ec 04 sub $0x4,%esp
15e: 8b 45 0c mov 0xc(%ebp),%eax
161: 88 45 fc mov %al,-0x4(%ebp)
for(; *s; s++)
164: eb 14 jmp 17a <strchr+0x22>
if(*s == c)
166: 8b 45 08 mov 0x8(%ebp),%eax
169: 0f b6 00 movzbl (%eax),%eax
16c: 3a 45 fc cmp -0x4(%ebp),%al
16f: 75 05 jne 176 <strchr+0x1e>
return (char*)s;
171: 8b 45 08 mov 0x8(%ebp),%eax
174: eb 13 jmp 189 <strchr+0x31>
}
char*
strchr(const char *s, char c)
{
for(; *s; s++)
176: 83 45 08 01 addl $0x1,0x8(%ebp)
17a: 8b 45 08 mov 0x8(%ebp),%eax
17d: 0f b6 00 movzbl (%eax),%eax
180: 84 c0 test %al,%al
182: 75 e2 jne 166 <strchr+0xe>
if(*s == c)
return (char*)s;
return 0;
184: b8 00 00 00 00 mov $0x0,%eax
}
189: c9 leave
18a: c3 ret
0000018b <gets>:
char*
gets(char *buf, int max)
{
18b: 55 push %ebp
18c: 89 e5 mov %esp,%ebp
18e: 83 ec 28 sub $0x28,%esp
int i, cc;
char c;
for(i=0; i+1 < max; ){
191: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
198: eb 4c jmp 1e6 <gets+0x5b>
cc = read(0, &c, 1);
19a: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp)
1a1: 00
1a2: 8d 45 ef lea -0x11(%ebp),%eax
1a5: 89 44 24 04 mov %eax,0x4(%esp)
1a9: c7 04 24 00 00 00 00 movl $0x0,(%esp)
1b0: e8 44 01 00 00 call 2f9 <read>
1b5: 89 45 f0 mov %eax,-0x10(%ebp)
if(cc < 1)
1b8: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
1bc: 7f 02 jg 1c0 <gets+0x35>
break;
1be: eb 31 jmp 1f1 <gets+0x66>
buf[i++] = c;
1c0: 8b 45 f4 mov -0xc(%ebp),%eax
1c3: 8d 50 01 lea 0x1(%eax),%edx
1c6: 89 55 f4 mov %edx,-0xc(%ebp)
1c9: 89 c2 mov %eax,%edx
1cb: 8b 45 08 mov 0x8(%ebp),%eax
1ce: 01 c2 add %eax,%edx
1d0: 0f b6 45 ef movzbl -0x11(%ebp),%eax
1d4: 88 02 mov %al,(%edx)
if(c == '\n' || c == '\r')
1d6: 0f b6 45 ef movzbl -0x11(%ebp),%eax
1da: 3c 0a cmp $0xa,%al
1dc: 74 13 je 1f1 <gets+0x66>
1de: 0f b6 45 ef movzbl -0x11(%ebp),%eax
1e2: 3c 0d cmp $0xd,%al
1e4: 74 0b je 1f1 <gets+0x66>
gets(char *buf, int max)
{
int i, cc;
char c;
for(i=0; i+1 < max; ){
1e6: 8b 45 f4 mov -0xc(%ebp),%eax
1e9: 83 c0 01 add $0x1,%eax
1ec: 3b 45 0c cmp 0xc(%ebp),%eax
1ef: 7c a9 jl 19a <gets+0xf>
break;
buf[i++] = c;
if(c == '\n' || c == '\r')
break;
}
buf[i] = '\0';
1f1: 8b 55 f4 mov -0xc(%ebp),%edx
1f4: 8b 45 08 mov 0x8(%ebp),%eax
1f7: 01 d0 add %edx,%eax
1f9: c6 00 00 movb $0x0,(%eax)
return buf;
1fc: 8b 45 08 mov 0x8(%ebp),%eax
}
1ff: c9 leave
200: c3 ret
00000201 <stat>:
int
stat(char *n, struct stat *st)
{
201: 55 push %ebp
202: 89 e5 mov %esp,%ebp
204: 83 ec 28 sub $0x28,%esp
int fd;
int r;
fd = open(n, O_RDONLY);
207: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
20e: 00
20f: 8b 45 08 mov 0x8(%ebp),%eax
212: 89 04 24 mov %eax,(%esp)
215: e8 07 01 00 00 call 321 <open>
21a: 89 45 f4 mov %eax,-0xc(%ebp)
if(fd < 0)
21d: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
221: 79 07 jns 22a <stat+0x29>
return -1;
223: b8 ff ff ff ff mov $0xffffffff,%eax
228: eb 23 jmp 24d <stat+0x4c>
r = fstat(fd, st);
22a: 8b 45 0c mov 0xc(%ebp),%eax
22d: 89 44 24 04 mov %eax,0x4(%esp)
231: 8b 45 f4 mov -0xc(%ebp),%eax
234: 89 04 24 mov %eax,(%esp)
237: e8 fd 00 00 00 call 339 <fstat>
23c: 89 45 f0 mov %eax,-0x10(%ebp)
close(fd);
23f: 8b 45 f4 mov -0xc(%ebp),%eax
242: 89 04 24 mov %eax,(%esp)
245: e8 bf 00 00 00 call 309 <close>
return r;
24a: 8b 45 f0 mov -0x10(%ebp),%eax
}
24d: c9 leave
24e: c3 ret
0000024f <atoi>:
int
atoi(const char *s)
{
24f: 55 push %ebp
250: 89 e5 mov %esp,%ebp
252: 83 ec 10 sub $0x10,%esp
int n;
n = 0;
255: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
while('0' <= *s && *s <= '9')
25c: eb 25 jmp 283 <atoi+0x34>
n = n*10 + *s++ - '0';
25e: 8b 55 fc mov -0x4(%ebp),%edx
261: 89 d0 mov %edx,%eax
263: c1 e0 02 shl $0x2,%eax
266: 01 d0 add %edx,%eax
268: 01 c0 add %eax,%eax
26a: 89 c1 mov %eax,%ecx
26c: 8b 45 08 mov 0x8(%ebp),%eax
26f: 8d 50 01 lea 0x1(%eax),%edx
272: 89 55 08 mov %edx,0x8(%ebp)
275: 0f b6 00 movzbl (%eax),%eax
278: 0f be c0 movsbl %al,%eax
27b: 01 c8 add %ecx,%eax
27d: 83 e8 30 sub $0x30,%eax
280: 89 45 fc mov %eax,-0x4(%ebp)
atoi(const char *s)
{
int n;
n = 0;
while('0' <= *s && *s <= '9')
283: 8b 45 08 mov 0x8(%ebp),%eax
286: 0f b6 00 movzbl (%eax),%eax
289: 3c 2f cmp $0x2f,%al
28b: 7e 0a jle 297 <atoi+0x48>
28d: 8b 45 08 mov 0x8(%ebp),%eax
290: 0f b6 00 movzbl (%eax),%eax
293: 3c 39 cmp $0x39,%al
295: 7e c7 jle 25e <atoi+0xf>
n = n*10 + *s++ - '0';
return n;
297: 8b 45 fc mov -0x4(%ebp),%eax
}
29a: c9 leave
29b: c3 ret
0000029c <memmove>:
void*
memmove(void *vdst, void *vsrc, int n)
{
29c: 55 push %ebp
29d: 89 e5 mov %esp,%ebp
29f: 83 ec 10 sub $0x10,%esp
char *dst, *src;
dst = vdst;
2a2: 8b 45 08 mov 0x8(%ebp),%eax
2a5: 89 45 fc mov %eax,-0x4(%ebp)
src = vsrc;
2a8: 8b 45 0c mov 0xc(%ebp),%eax
2ab: 89 45 f8 mov %eax,-0x8(%ebp)
while(n-- > 0)
2ae: eb 17 jmp 2c7 <memmove+0x2b>
*dst++ = *src++;
2b0: 8b 45 fc mov -0x4(%ebp),%eax
2b3: 8d 50 01 lea 0x1(%eax),%edx
2b6: 89 55 fc mov %edx,-0x4(%ebp)
2b9: 8b 55 f8 mov -0x8(%ebp),%edx
2bc: 8d 4a 01 lea 0x1(%edx),%ecx
2bf: 89 4d f8 mov %ecx,-0x8(%ebp)
2c2: 0f b6 12 movzbl (%edx),%edx
2c5: 88 10 mov %dl,(%eax)
{
char *dst, *src;
dst = vdst;
src = vsrc;
while(n-- > 0)
2c7: 8b 45 10 mov 0x10(%ebp),%eax
2ca: 8d 50 ff lea -0x1(%eax),%edx
2cd: 89 55 10 mov %edx,0x10(%ebp)
2d0: 85 c0 test %eax,%eax
2d2: 7f dc jg 2b0 <memmove+0x14>
*dst++ = *src++;
return vdst;
2d4: 8b 45 08 mov 0x8(%ebp),%eax
}
2d7: c9 leave
2d8: c3 ret
000002d9 <fork>:
name: \
movl $SYS_ ## name, %eax; \
int $T_SYSCALL; \
ret
SYSCALL(fork)
2d9: b8 01 00 00 00 mov $0x1,%eax
2de: cd 40 int $0x40
2e0: c3 ret
000002e1 <exit>:
SYSCALL(exit)
2e1: b8 02 00 00 00 mov $0x2,%eax
2e6: cd 40 int $0x40
2e8: c3 ret
000002e9 <wait>:
SYSCALL(wait)
2e9: b8 03 00 00 00 mov $0x3,%eax
2ee: cd 40 int $0x40
2f0: c3 ret
000002f1 <pipe>:
SYSCALL(pipe)
2f1: b8 04 00 00 00 mov $0x4,%eax
2f6: cd 40 int $0x40
2f8: c3 ret
000002f9 <read>:
SYSCALL(read)
2f9: b8 05 00 00 00 mov $0x5,%eax
2fe: cd 40 int $0x40
300: c3 ret
00000301 <write>:
SYSCALL(write)
301: b8 10 00 00 00 mov $0x10,%eax
306: cd 40 int $0x40
308: c3 ret
00000309 <close>:
SYSCALL(close)
309: b8 15 00 00 00 mov $0x15,%eax
30e: cd 40 int $0x40
310: c3 ret
00000311 <kill>:
SYSCALL(kill)
311: b8 06 00 00 00 mov $0x6,%eax
316: cd 40 int $0x40
318: c3 ret
00000319 <exec>:
SYSCALL(exec)
319: b8 07 00 00 00 mov $0x7,%eax
31e: cd 40 int $0x40
320: c3 ret
00000321 <open>:
SYSCALL(open)
321: b8 0f 00 00 00 mov $0xf,%eax
326: cd 40 int $0x40
328: c3 ret
00000329 <mknod>:
SYSCALL(mknod)
329: b8 11 00 00 00 mov $0x11,%eax
32e: cd 40 int $0x40
330: c3 ret
00000331 <unlink>:
SYSCALL(unlink)
331: b8 12 00 00 00 mov $0x12,%eax
336: cd 40 int $0x40
338: c3 ret
00000339 <fstat>:
SYSCALL(fstat)
339: b8 08 00 00 00 mov $0x8,%eax
33e: cd 40 int $0x40
340: c3 ret
00000341 <link>:
SYSCALL(link)
341: b8 13 00 00 00 mov $0x13,%eax
346: cd 40 int $0x40
348: c3 ret
00000349 <mkdir>:
SYSCALL(mkdir)
349: b8 14 00 00 00 mov $0x14,%eax
34e: cd 40 int $0x40
350: c3 ret
00000351 <chdir>:
SYSCALL(chdir)
351: b8 09 00 00 00 mov $0x9,%eax
356: cd 40 int $0x40
358: c3 ret
00000359 <dup>:
SYSCALL(dup)
359: b8 0a 00 00 00 mov $0xa,%eax
35e: cd 40 int $0x40
360: c3 ret
00000361 <getpid>:
SYSCALL(getpid)
361: b8 0b 00 00 00 mov $0xb,%eax
366: cd 40 int $0x40
368: c3 ret
00000369 <sbrk>:
SYSCALL(sbrk)
369: b8 0c 00 00 00 mov $0xc,%eax
36e: cd 40 int $0x40
370: c3 ret
00000371 <sleep>:
SYSCALL(sleep)
371: b8 0d 00 00 00 mov $0xd,%eax
376: cd 40 int $0x40
378: c3 ret
00000379 <uptime>:
SYSCALL(uptime)
379: b8 0e 00 00 00 mov $0xe,%eax
37e: cd 40 int $0x40
380: c3 ret
00000381 <date>:
SYSCALL(date)
381: b8 16 00 00 00 mov $0x16,%eax
386: cd 40 int $0x40
388: c3 ret
00000389 <timem>:
SYSCALL(timem)
389: b8 17 00 00 00 mov $0x17,%eax
38e: cd 40 int $0x40
390: c3 ret
00000391 <getuid>:
SYSCALL(getuid)
391: b8 18 00 00 00 mov $0x18,%eax
396: cd 40 int $0x40
398: c3 ret
00000399 <getgid>:
SYSCALL(getgid)
399: b8 19 00 00 00 mov $0x19,%eax
39e: cd 40 int $0x40
3a0: c3 ret
000003a1 <getppid>:
SYSCALL(getppid)
3a1: b8 1a 00 00 00 mov $0x1a,%eax
3a6: cd 40 int $0x40
3a8: c3 ret
000003a9 <setuid>:
SYSCALL(setuid)
3a9: b8 1b 00 00 00 mov $0x1b,%eax
3ae: cd 40 int $0x40
3b0: c3 ret
000003b1 <setgid>:
SYSCALL(setgid)
3b1: b8 1c 00 00 00 mov $0x1c,%eax
3b6: cd 40 int $0x40
3b8: c3 ret
000003b9 <getprocs>:
SYSCALL(getprocs)
3b9: b8 1d 00 00 00 mov $0x1d,%eax
3be: cd 40 int $0x40
3c0: c3 ret
000003c1 <putc>:
#include "stat.h"
#include "user.h"
static void
putc(int fd, char c)
{
3c1: 55 push %ebp
3c2: 89 e5 mov %esp,%ebp
3c4: 83 ec 18 sub $0x18,%esp
3c7: 8b 45 0c mov 0xc(%ebp),%eax
3ca: 88 45 f4 mov %al,-0xc(%ebp)
write(fd, &c, 1);
3cd: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp)
3d4: 00
3d5: 8d 45 f4 lea -0xc(%ebp),%eax
3d8: 89 44 24 04 mov %eax,0x4(%esp)
3dc: 8b 45 08 mov 0x8(%ebp),%eax
3df: 89 04 24 mov %eax,(%esp)
3e2: e8 1a ff ff ff call 301 <write>
}
3e7: c9 leave
3e8: c3 ret
000003e9 <printint>:
static void
printint(int fd, int xx, int base, int sgn)
{
3e9: 55 push %ebp
3ea: 89 e5 mov %esp,%ebp
3ec: 56 push %esi
3ed: 53 push %ebx
3ee: 83 ec 30 sub $0x30,%esp
static char digits[] = "0123456789ABCDEF";
char buf[16];
int i, neg;
uint x;
neg = 0;
3f1: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
if(sgn && xx < 0){
3f8: 83 7d 14 00 cmpl $0x0,0x14(%ebp)
3fc: 74 17 je 415 <printint+0x2c>
3fe: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
402: 79 11 jns 415 <printint+0x2c>
neg = 1;
404: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp)
x = -xx;
40b: 8b 45 0c mov 0xc(%ebp),%eax
40e: f7 d8 neg %eax
410: 89 45 ec mov %eax,-0x14(%ebp)
413: eb 06 jmp 41b <printint+0x32>
} else {
x = xx;
415: 8b 45 0c mov 0xc(%ebp),%eax
418: 89 45 ec mov %eax,-0x14(%ebp)
}
i = 0;
41b: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
do{
buf[i++] = digits[x % base];
422: 8b 4d f4 mov -0xc(%ebp),%ecx
425: 8d 41 01 lea 0x1(%ecx),%eax
428: 89 45 f4 mov %eax,-0xc(%ebp)
42b: 8b 5d 10 mov 0x10(%ebp),%ebx
42e: 8b 45 ec mov -0x14(%ebp),%eax
431: ba 00 00 00 00 mov $0x0,%edx
436: f7 f3 div %ebx
438: 89 d0 mov %edx,%eax
43a: 0f b6 80 e0 0a 00 00 movzbl 0xae0(%eax),%eax
441: 88 44 0d dc mov %al,-0x24(%ebp,%ecx,1)
}while((x /= base) != 0);
445: 8b 75 10 mov 0x10(%ebp),%esi
448: 8b 45 ec mov -0x14(%ebp),%eax
44b: ba 00 00 00 00 mov $0x0,%edx
450: f7 f6 div %esi
452: 89 45 ec mov %eax,-0x14(%ebp)
455: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
459: 75 c7 jne 422 <printint+0x39>
if(neg)
45b: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
45f: 74 10 je 471 <printint+0x88>
buf[i++] = '-';
461: 8b 45 f4 mov -0xc(%ebp),%eax
464: 8d 50 01 lea 0x1(%eax),%edx
467: 89 55 f4 mov %edx,-0xc(%ebp)
46a: c6 44 05 dc 2d movb $0x2d,-0x24(%ebp,%eax,1)
while(--i >= 0)
46f: eb 1f jmp 490 <printint+0xa7>
471: eb 1d jmp 490 <printint+0xa7>
putc(fd, buf[i]);
473: 8d 55 dc lea -0x24(%ebp),%edx
476: 8b 45 f4 mov -0xc(%ebp),%eax
479: 01 d0 add %edx,%eax
47b: 0f b6 00 movzbl (%eax),%eax
47e: 0f be c0 movsbl %al,%eax
481: 89 44 24 04 mov %eax,0x4(%esp)
485: 8b 45 08 mov 0x8(%ebp),%eax
488: 89 04 24 mov %eax,(%esp)
48b: e8 31 ff ff ff call 3c1 <putc>
buf[i++] = digits[x % base];
}while((x /= base) != 0);
if(neg)
buf[i++] = '-';
while(--i >= 0)
490: 83 6d f4 01 subl $0x1,-0xc(%ebp)
494: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
498: 79 d9 jns 473 <printint+0x8a>
putc(fd, buf[i]);
}
49a: 83 c4 30 add $0x30,%esp
49d: 5b pop %ebx
49e: 5e pop %esi
49f: 5d pop %ebp
4a0: c3 ret
000004a1 <printf>:
// Print to the given fd. Only understands %d, %x, %p, %s.
void
printf(int fd, char *fmt, ...)
{
4a1: 55 push %ebp
4a2: 89 e5 mov %esp,%ebp
4a4: 83 ec 38 sub $0x38,%esp
char *s;
int c, i, state;
uint *ap;
state = 0;
4a7: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
ap = (uint*)(void*)&fmt + 1;
4ae: 8d 45 0c lea 0xc(%ebp),%eax
4b1: 83 c0 04 add $0x4,%eax
4b4: 89 45 e8 mov %eax,-0x18(%ebp)
for(i = 0; fmt[i]; i++){
4b7: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
4be: e9 7c 01 00 00 jmp 63f <printf+0x19e>
c = fmt[i] & 0xff;
4c3: 8b 55 0c mov 0xc(%ebp),%edx
4c6: 8b 45 f0 mov -0x10(%ebp),%eax
4c9: 01 d0 add %edx,%eax
4cb: 0f b6 00 movzbl (%eax),%eax
4ce: 0f be c0 movsbl %al,%eax
4d1: 25 ff 00 00 00 and $0xff,%eax
4d6: 89 45 e4 mov %eax,-0x1c(%ebp)
if(state == 0){
4d9: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
4dd: 75 2c jne 50b <printf+0x6a>
if(c == '%'){
4df: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
4e3: 75 0c jne 4f1 <printf+0x50>
state = '%';
4e5: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp)
4ec: e9 4a 01 00 00 jmp 63b <printf+0x19a>
} else {
putc(fd, c);
4f1: 8b 45 e4 mov -0x1c(%ebp),%eax
4f4: 0f be c0 movsbl %al,%eax
4f7: 89 44 24 04 mov %eax,0x4(%esp)
4fb: 8b 45 08 mov 0x8(%ebp),%eax
4fe: 89 04 24 mov %eax,(%esp)
501: e8 bb fe ff ff call 3c1 <putc>
506: e9 30 01 00 00 jmp 63b <printf+0x19a>
}
} else if(state == '%'){
50b: 83 7d ec 25 cmpl $0x25,-0x14(%ebp)
50f: 0f 85 26 01 00 00 jne 63b <printf+0x19a>
if(c == 'd'){
515: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp)
519: 75 2d jne 548 <printf+0xa7>
printint(fd, *ap, 10, 1);
51b: 8b 45 e8 mov -0x18(%ebp),%eax
51e: 8b 00 mov (%eax),%eax
520: c7 44 24 0c 01 00 00 movl $0x1,0xc(%esp)
527: 00
528: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp)
52f: 00
530: 89 44 24 04 mov %eax,0x4(%esp)
534: 8b 45 08 mov 0x8(%ebp),%eax
537: 89 04 24 mov %eax,(%esp)
53a: e8 aa fe ff ff call 3e9 <printint>
ap++;
53f: 83 45 e8 04 addl $0x4,-0x18(%ebp)
543: e9 ec 00 00 00 jmp 634 <printf+0x193>
} else if(c == 'x' || c == 'p'){
548: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp)
54c: 74 06 je 554 <printf+0xb3>
54e: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp)
552: 75 2d jne 581 <printf+0xe0>
printint(fd, *ap, 16, 0);
554: 8b 45 e8 mov -0x18(%ebp),%eax
557: 8b 00 mov (%eax),%eax
559: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp)
560: 00
561: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
568: 00
569: 89 44 24 04 mov %eax,0x4(%esp)
56d: 8b 45 08 mov 0x8(%ebp),%eax
570: 89 04 24 mov %eax,(%esp)
573: e8 71 fe ff ff call 3e9 <printint>
ap++;
578: 83 45 e8 04 addl $0x4,-0x18(%ebp)
57c: e9 b3 00 00 00 jmp 634 <printf+0x193>
} else if(c == 's'){
581: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp)
585: 75 45 jne 5cc <printf+0x12b>
s = (char*)*ap;
587: 8b 45 e8 mov -0x18(%ebp),%eax
58a: 8b 00 mov (%eax),%eax
58c: 89 45 f4 mov %eax,-0xc(%ebp)
ap++;
58f: 83 45 e8 04 addl $0x4,-0x18(%ebp)
if(s == 0)
593: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
597: 75 09 jne 5a2 <printf+0x101>
s = "(null)";
599: c7 45 f4 94 08 00 00 movl $0x894,-0xc(%ebp)
while(*s != 0){
5a0: eb 1e jmp 5c0 <printf+0x11f>
5a2: eb 1c jmp 5c0 <printf+0x11f>
putc(fd, *s);
5a4: 8b 45 f4 mov -0xc(%ebp),%eax
5a7: 0f b6 00 movzbl (%eax),%eax
5aa: 0f be c0 movsbl %al,%eax
5ad: 89 44 24 04 mov %eax,0x4(%esp)
5b1: 8b 45 08 mov 0x8(%ebp),%eax
5b4: 89 04 24 mov %eax,(%esp)
5b7: e8 05 fe ff ff call 3c1 <putc>
s++;
5bc: 83 45 f4 01 addl $0x1,-0xc(%ebp)
} else if(c == 's'){
s = (char*)*ap;
ap++;
if(s == 0)
s = "(null)";
while(*s != 0){
5c0: 8b 45 f4 mov -0xc(%ebp),%eax
5c3: 0f b6 00 movzbl (%eax),%eax
5c6: 84 c0 test %al,%al
5c8: 75 da jne 5a4 <printf+0x103>
5ca: eb 68 jmp 634 <printf+0x193>
putc(fd, *s);
s++;
}
} else if(c == 'c'){
5cc: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp)
5d0: 75 1d jne 5ef <printf+0x14e>
putc(fd, *ap);
5d2: 8b 45 e8 mov -0x18(%ebp),%eax
5d5: 8b 00 mov (%eax),%eax
5d7: 0f be c0 movsbl %al,%eax
5da: 89 44 24 04 mov %eax,0x4(%esp)
5de: 8b 45 08 mov 0x8(%ebp),%eax
5e1: 89 04 24 mov %eax,(%esp)
5e4: e8 d8 fd ff ff call 3c1 <putc>
ap++;
5e9: 83 45 e8 04 addl $0x4,-0x18(%ebp)
5ed: eb 45 jmp 634 <printf+0x193>
} else if(c == '%'){
5ef: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
5f3: 75 17 jne 60c <printf+0x16b>
putc(fd, c);
5f5: 8b 45 e4 mov -0x1c(%ebp),%eax
5f8: 0f be c0 movsbl %al,%eax
5fb: 89 44 24 04 mov %eax,0x4(%esp)
5ff: 8b 45 08 mov 0x8(%ebp),%eax
602: 89 04 24 mov %eax,(%esp)
605: e8 b7 fd ff ff call 3c1 <putc>
60a: eb 28 jmp 634 <printf+0x193>
} else {
// Unknown % sequence. Print it to draw attention.
putc(fd, '%');
60c: c7 44 24 04 25 00 00 movl $0x25,0x4(%esp)
613: 00
614: 8b 45 08 mov 0x8(%ebp),%eax
617: 89 04 24 mov %eax,(%esp)
61a: e8 a2 fd ff ff call 3c1 <putc>
putc(fd, c);
61f: 8b 45 e4 mov -0x1c(%ebp),%eax
622: 0f be c0 movsbl %al,%eax
625: 89 44 24 04 mov %eax,0x4(%esp)
629: 8b 45 08 mov 0x8(%ebp),%eax
62c: 89 04 24 mov %eax,(%esp)
62f: e8 8d fd ff ff call 3c1 <putc>
}
state = 0;
634: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
int c, i, state;
uint *ap;
state = 0;
ap = (uint*)(void*)&fmt + 1;
for(i = 0; fmt[i]; i++){
63b: 83 45 f0 01 addl $0x1,-0x10(%ebp)
63f: 8b 55 0c mov 0xc(%ebp),%edx
642: 8b 45 f0 mov -0x10(%ebp),%eax
645: 01 d0 add %edx,%eax
647: 0f b6 00 movzbl (%eax),%eax
64a: 84 c0 test %al,%al
64c: 0f 85 71 fe ff ff jne 4c3 <printf+0x22>
putc(fd, c);
}
state = 0;
}
}
}
652: c9 leave
653: c3 ret
00000654 <free>:
static Header base;
static Header *freep;
void
free(void *ap)
{
654: 55 push %ebp
655: 89 e5 mov %esp,%ebp
657: 83 ec 10 sub $0x10,%esp
Header *bp, *p;
bp = (Header*)ap - 1;
65a: 8b 45 08 mov 0x8(%ebp),%eax
65d: 83 e8 08 sub $0x8,%eax
660: 89 45 f8 mov %eax,-0x8(%ebp)
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
663: a1 fc 0a 00 00 mov 0xafc,%eax
668: 89 45 fc mov %eax,-0x4(%ebp)
66b: eb 24 jmp 691 <free+0x3d>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
66d: 8b 45 fc mov -0x4(%ebp),%eax
670: 8b 00 mov (%eax),%eax
672: 3b 45 fc cmp -0x4(%ebp),%eax
675: 77 12 ja 689 <free+0x35>
677: 8b 45 f8 mov -0x8(%ebp),%eax
67a: 3b 45 fc cmp -0x4(%ebp),%eax
67d: 77 24 ja 6a3 <free+0x4f>
67f: 8b 45 fc mov -0x4(%ebp),%eax
682: 8b 00 mov (%eax),%eax
684: 3b 45 f8 cmp -0x8(%ebp),%eax
687: 77 1a ja 6a3 <free+0x4f>
free(void *ap)
{
Header *bp, *p;
bp = (Header*)ap - 1;
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
689: 8b 45 fc mov -0x4(%ebp),%eax
68c: 8b 00 mov (%eax),%eax
68e: 89 45 fc mov %eax,-0x4(%ebp)
691: 8b 45 f8 mov -0x8(%ebp),%eax
694: 3b 45 fc cmp -0x4(%ebp),%eax
697: 76 d4 jbe 66d <free+0x19>
699: 8b 45 fc mov -0x4(%ebp),%eax
69c: 8b 00 mov (%eax),%eax
69e: 3b 45 f8 cmp -0x8(%ebp),%eax
6a1: 76 ca jbe 66d <free+0x19>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
break;
if(bp + bp->s.size == p->s.ptr){
6a3: 8b 45 f8 mov -0x8(%ebp),%eax
6a6: 8b 40 04 mov 0x4(%eax),%eax
6a9: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx
6b0: 8b 45 f8 mov -0x8(%ebp),%eax
6b3: 01 c2 add %eax,%edx
6b5: 8b 45 fc mov -0x4(%ebp),%eax
6b8: 8b 00 mov (%eax),%eax
6ba: 39 c2 cmp %eax,%edx
6bc: 75 24 jne 6e2 <free+0x8e>
bp->s.size += p->s.ptr->s.size;
6be: 8b 45 f8 mov -0x8(%ebp),%eax
6c1: 8b 50 04 mov 0x4(%eax),%edx
6c4: 8b 45 fc mov -0x4(%ebp),%eax
6c7: 8b 00 mov (%eax),%eax
6c9: 8b 40 04 mov 0x4(%eax),%eax
6cc: 01 c2 add %eax,%edx
6ce: 8b 45 f8 mov -0x8(%ebp),%eax
6d1: 89 50 04 mov %edx,0x4(%eax)
bp->s.ptr = p->s.ptr->s.ptr;
6d4: 8b 45 fc mov -0x4(%ebp),%eax
6d7: 8b 00 mov (%eax),%eax
6d9: 8b 10 mov (%eax),%edx
6db: 8b 45 f8 mov -0x8(%ebp),%eax
6de: 89 10 mov %edx,(%eax)
6e0: eb 0a jmp 6ec <free+0x98>
} else
bp->s.ptr = p->s.ptr;
6e2: 8b 45 fc mov -0x4(%ebp),%eax
6e5: 8b 10 mov (%eax),%edx
6e7: 8b 45 f8 mov -0x8(%ebp),%eax
6ea: 89 10 mov %edx,(%eax)
if(p + p->s.size == bp){
6ec: 8b 45 fc mov -0x4(%ebp),%eax
6ef: 8b 40 04 mov 0x4(%eax),%eax
6f2: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx
6f9: 8b 45 fc mov -0x4(%ebp),%eax
6fc: 01 d0 add %edx,%eax
6fe: 3b 45 f8 cmp -0x8(%ebp),%eax
701: 75 20 jne 723 <free+0xcf>
p->s.size += bp->s.size;
703: 8b 45 fc mov -0x4(%ebp),%eax
706: 8b 50 04 mov 0x4(%eax),%edx
709: 8b 45 f8 mov -0x8(%ebp),%eax
70c: 8b 40 04 mov 0x4(%eax),%eax
70f: 01 c2 add %eax,%edx
711: 8b 45 fc mov -0x4(%ebp),%eax
714: 89 50 04 mov %edx,0x4(%eax)
p->s.ptr = bp->s.ptr;
717: 8b 45 f8 mov -0x8(%ebp),%eax
71a: 8b 10 mov (%eax),%edx
71c: 8b 45 fc mov -0x4(%ebp),%eax
71f: 89 10 mov %edx,(%eax)
721: eb 08 jmp 72b <free+0xd7>
} else
p->s.ptr = bp;
723: 8b 45 fc mov -0x4(%ebp),%eax
726: 8b 55 f8 mov -0x8(%ebp),%edx
729: 89 10 mov %edx,(%eax)
freep = p;
72b: 8b 45 fc mov -0x4(%ebp),%eax
72e: a3 fc 0a 00 00 mov %eax,0xafc
}
733: c9 leave
734: c3 ret
00000735 <morecore>:
static Header*
morecore(uint nu)
{
735: 55 push %ebp
736: 89 e5 mov %esp,%ebp
738: 83 ec 28 sub $0x28,%esp
char *p;
Header *hp;
if(nu < 4096)
73b: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp)
742: 77 07 ja 74b <morecore+0x16>
nu = 4096;
744: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp)
p = sbrk(nu * sizeof(Header));
74b: 8b 45 08 mov 0x8(%ebp),%eax
74e: c1 e0 03 shl $0x3,%eax
751: 89 04 24 mov %eax,(%esp)
754: e8 10 fc ff ff call 369 <sbrk>
759: 89 45 f4 mov %eax,-0xc(%ebp)
if(p == (char*)-1)
75c: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp)
760: 75 07 jne 769 <morecore+0x34>
return 0;
762: b8 00 00 00 00 mov $0x0,%eax
767: eb 22 jmp 78b <morecore+0x56>
hp = (Header*)p;
769: 8b 45 f4 mov -0xc(%ebp),%eax
76c: 89 45 f0 mov %eax,-0x10(%ebp)
hp->s.size = nu;
76f: 8b 45 f0 mov -0x10(%ebp),%eax
772: 8b 55 08 mov 0x8(%ebp),%edx
775: 89 50 04 mov %edx,0x4(%eax)
free((void*)(hp + 1));
778: 8b 45 f0 mov -0x10(%ebp),%eax
77b: 83 c0 08 add $0x8,%eax
77e: 89 04 24 mov %eax,(%esp)
781: e8 ce fe ff ff call 654 <free>
return freep;
786: a1 fc 0a 00 00 mov 0xafc,%eax
}
78b: c9 leave
78c: c3 ret
0000078d <malloc>:
void*
malloc(uint nbytes)
{
78d: 55 push %ebp
78e: 89 e5 mov %esp,%ebp
790: 83 ec 28 sub $0x28,%esp
Header *p, *prevp;
uint nunits;
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
793: 8b 45 08 mov 0x8(%ebp),%eax
796: 83 c0 07 add $0x7,%eax
799: c1 e8 03 shr $0x3,%eax
79c: 83 c0 01 add $0x1,%eax
79f: 89 45 ec mov %eax,-0x14(%ebp)
if((prevp = freep) == 0){
7a2: a1 fc 0a 00 00 mov 0xafc,%eax
7a7: 89 45 f0 mov %eax,-0x10(%ebp)
7aa: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
7ae: 75 23 jne 7d3 <malloc+0x46>
base.s.ptr = freep = prevp = &base;
7b0: c7 45 f0 f4 0a 00 00 movl $0xaf4,-0x10(%ebp)
7b7: 8b 45 f0 mov -0x10(%ebp),%eax
7ba: a3 fc 0a 00 00 mov %eax,0xafc
7bf: a1 fc 0a 00 00 mov 0xafc,%eax
7c4: a3 f4 0a 00 00 mov %eax,0xaf4
base.s.size = 0;
7c9: c7 05 f8 0a 00 00 00 movl $0x0,0xaf8
7d0: 00 00 00
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
7d3: 8b 45 f0 mov -0x10(%ebp),%eax
7d6: 8b 00 mov (%eax),%eax
7d8: 89 45 f4 mov %eax,-0xc(%ebp)
if(p->s.size >= nunits){
7db: 8b 45 f4 mov -0xc(%ebp),%eax
7de: 8b 40 04 mov 0x4(%eax),%eax
7e1: 3b 45 ec cmp -0x14(%ebp),%eax
7e4: 72 4d jb 833 <malloc+0xa6>
if(p->s.size == nunits)
7e6: 8b 45 f4 mov -0xc(%ebp),%eax
7e9: 8b 40 04 mov 0x4(%eax),%eax
7ec: 3b 45 ec cmp -0x14(%ebp),%eax
7ef: 75 0c jne 7fd <malloc+0x70>
prevp->s.ptr = p->s.ptr;
7f1: 8b 45 f4 mov -0xc(%ebp),%eax
7f4: 8b 10 mov (%eax),%edx
7f6: 8b 45 f0 mov -0x10(%ebp),%eax
7f9: 89 10 mov %edx,(%eax)
7fb: eb 26 jmp 823 <malloc+0x96>
else {
p->s.size -= nunits;
7fd: 8b 45 f4 mov -0xc(%ebp),%eax
800: 8b 40 04 mov 0x4(%eax),%eax
803: 2b 45 ec sub -0x14(%ebp),%eax
806: 89 c2 mov %eax,%edx
808: 8b 45 f4 mov -0xc(%ebp),%eax
80b: 89 50 04 mov %edx,0x4(%eax)
p += p->s.size;
80e: 8b 45 f4 mov -0xc(%ebp),%eax
811: 8b 40 04 mov 0x4(%eax),%eax
814: c1 e0 03 shl $0x3,%eax
817: 01 45 f4 add %eax,-0xc(%ebp)
p->s.size = nunits;
81a: 8b 45 f4 mov -0xc(%ebp),%eax
81d: 8b 55 ec mov -0x14(%ebp),%edx
820: 89 50 04 mov %edx,0x4(%eax)
}
freep = prevp;
823: 8b 45 f0 mov -0x10(%ebp),%eax
826: a3 fc 0a 00 00 mov %eax,0xafc
return (void*)(p + 1);
82b: 8b 45 f4 mov -0xc(%ebp),%eax
82e: 83 c0 08 add $0x8,%eax
831: eb 38 jmp 86b <malloc+0xde>
}
if(p == freep)
833: a1 fc 0a 00 00 mov 0xafc,%eax
838: 39 45 f4 cmp %eax,-0xc(%ebp)
83b: 75 1b jne 858 <malloc+0xcb>
if((p = morecore(nunits)) == 0)
83d: 8b 45 ec mov -0x14(%ebp),%eax
840: 89 04 24 mov %eax,(%esp)
843: e8 ed fe ff ff call 735 <morecore>
848: 89 45 f4 mov %eax,-0xc(%ebp)
84b: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
84f: 75 07 jne 858 <malloc+0xcb>
return 0;
851: b8 00 00 00 00 mov $0x0,%eax
856: eb 13 jmp 86b <malloc+0xde>
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
if((prevp = freep) == 0){
base.s.ptr = freep = prevp = &base;
base.s.size = 0;
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
858: 8b 45 f4 mov -0xc(%ebp),%eax
85b: 89 45 f0 mov %eax,-0x10(%ebp)
85e: 8b 45 f4 mov -0xc(%ebp),%eax
861: 8b 00 mov (%eax),%eax
863: 89 45 f4 mov %eax,-0xc(%ebp)
return (void*)(p + 1);
}
if(p == freep)
if((p = morecore(nunits)) == 0)
return 0;
}
866: e9 70 ff ff ff jmp 7db <malloc+0x4e>
}
86b: c9 leave
86c: c3 ret
|
Src/Container/64/main.asm | The-Cracker-Technology/hyperion | 0 | 247790 | ; Hyperion 64-Bit container.exe
include 'image_base.inc'
include 'main_prolog.inc' ;format PE64 ...
entry start
include '..\..\..\Fasm\INCLUDE\win64a.inc'
include 'pe.inc'
;automatically generated by hyperion cpp stub
include 'key_size.inc'
include 'infile_size.inc'
include 'image_size.inc'
;---
SIZE_DATA_SECTION_NAME equ 5
SIZE_CHECKSUM equ 4
;this contains the decrypted and loaded executable
section '.bss' data readable writeable
decrypted_infile: db IMAGE_SIZE dup (?)
;--------------------------------------------------
;this contains the encrypted exe
section '.data' data readable writeable
encrypted_infile: include 'infile_array.inc'
;--------------------------------------------------
section '.text' code readable executable
;automatically generated by hyperion cpp stub
include 'logfile_select.asm'
include 'decryption_payload.asm'
;pe loader functions
include 'loadexecutable.asm'
;---
start:
sub rsp,8
fastcall MainMethod
test rax,rax
jz the_end_my_friend
;file was loaded, execute it
add rsp,8
jmp rax
the_end_my_friend:
invoke ExitProcess,0
proc MainMethod uses rbx
local str1[256]:BYTE
;create logfile and write initial message into it
initLogFile main_exit
;decrypt exe in data section
fastcall decryptExecutable, encrypted_infile
test rax,rax
jz main_exiterror
;load the executable at its image base
;(this will overwrite current MZ header and bss section)
fastcall loadExecutable, encrypted_infile
test rax,rax
jz main_exiterror
;start program execution
mov rdx,IMAGE_BASE
xor rax,rax
mov eax,[rdx+IMAGE_DOS_HEADER.e_lfanew]
add rax,rdx
add rax,4
;image file header now in eax
add rax,sizeof.IMAGE_FILE_HEADER
xor rdx,rdx
mov edx,[rax+IMAGE_OPTIONAL_HEADER64.AddressOfEntryPoint]
mov rax,IMAGE_BASE
add rdx,rax
;entry point of original exe is now in rbx
mov rbx,rdx
;finished without errors
main_exitsuccess:
writeNewLineToLog main_exit
createStringDone str1
writeLog rax, main_exit
mov rax,rbx
jmp main_exit
;finished with errors after logfile API loading
main_exiterror:
writeNewLineToLog main_exit
createStringError str1
writeLog rax, main_exit
sub rax,rax
main_exit:
ret
endp
;import table
section '.idata' import data readable writeable
library kernel,'KERNEL32.DLL'
import kernel,\
LoadLibrary,'LoadLibraryA',\
GetProcAddress,'GetProcAddress',\
GetFileSize,'GetFileSize',\
CreateFileMapping,'CreateFileMappingA',\
MapViewOfFile,'MapViewOfFile',\
UnmapViewOfFile,'UnmapViewOfFile',\
CreateFile,'CreateFileA',\
CloseHandle,'CloseHandle',\
DeleteFile,'DeleteFileA',\
GetModuleHandle,'GetModuleHandle',\
VirtualAlloc,'VirtualAlloc',\
VirtualProtect,'VirtualProtect',\
VirtualFree,'VirtualFree',\
ExitProcess,'ExitProcess'
|
programs/oeis/191/A191008.asm | karttu/loda | 0 | 99477 | ; A191008: Another renewal type of sequence. Let X, X(1), X(2),... denote random variables with pdf P(X = 1) = P(X = 4 ) = 1/4 and P(X = 2) = 1/2. Let N(x) denote the first value of k such that X(1)*X(2)*...*X(k) > x and let H(x)= E(N(x)). The sequence is given by a(n) = 3^(n+1)*H(2^n)/4.
; 1,5,22,86,319,1139,3964,13532,45517,151313,498226,1627538,5281195,17039327,54705208,174877304,556916953,1767605981,5593383310,17651846030,55570626391,174557144075,547207226932,1712229064916,5348509347109,16680994498409,51949382866474,161567346713162,501859634480707,1557051686465783,4825573408468336
mov $2,$0
add $0,1
mov $1,$2
add $1,$0
lpb $0,1
sub $0,1
mul $1,3
add $1,3
mov $4,2
lpe
sub $2,$2
add $2,2
mul $4,2
div $1,$4
mov $3,$1
mov $1,2
add $3,$2
add $1,$3
sub $1,5
div $1,2
add $1,1
|
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_chmod.asm | jpoikela/z88dk | 640 | 97467 | ; unsigned char esx_f_chmod(unsigned char *filename, uint8_t attr_mask, uint8_t attr)
SECTION code_esxdos
PUBLIC _esx_f_chmod
EXTERN l0_esx_f_chmod_callee
_esx_f_chmod:
pop af
pop hl
pop bc
push bc
push hl
push af
jp l0_esx_f_chmod_callee
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_8433_581.asm | ljhsiun2/medusa | 9 | 105197 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x175fa, %rax
clflush (%rax)
nop
and %r10, %r10
movups (%rax), %xmm4
vpextrq $1, %xmm4, %rcx
sub $7981, %r10
lea addresses_A_ht+0x34da, %rsi
lea addresses_WT_ht+0x54da, %rdi
nop
nop
and %rbp, %rbp
mov $15, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %rbp
lea addresses_A_ht+0x12d26, %rax
nop
nop
nop
nop
and $10652, %r8
movb $0x61, (%rax)
and $54257, %rax
lea addresses_WT_ht+0xb9fa, %r8
dec %rsi
mov (%r8), %r10w
nop
cmp %rsi, %rsi
lea addresses_WT_ht+0x10ada, %rsi
lea addresses_WC_ht+0x1617a, %rdi
nop
nop
nop
cmp %r12, %r12
mov $84, %rcx
rep movsw
nop
nop
add %rdi, %rdi
lea addresses_WC_ht+0x471a, %rsi
cmp $7329, %r8
movups (%rsi), %xmm4
vpextrq $1, %xmm4, %r10
nop
xor %r8, %r8
lea addresses_WC_ht+0x1a9f8, %rdi
xor $10957, %rax
movups (%rdi), %xmm4
vpextrq $1, %xmm4, %rbp
nop
cmp $65077, %r10
lea addresses_WC_ht+0x4718, %rdi
nop
nop
nop
nop
nop
cmp %r12, %r12
mov $0x6162636465666768, %rcx
movq %rcx, (%rdi)
nop
nop
nop
nop
dec %rbp
lea addresses_A_ht+0xfda, %rsi
lea addresses_WT_ht+0xadf2, %rdi
nop
nop
cmp %r12, %r12
mov $60, %rcx
rep movsw
add %r10, %r10
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rdx
// Load
lea addresses_A+0x76da, %rbp
nop
nop
add $59690, %r9
mov (%rbp), %r8
nop
nop
xor %r8, %r8
// Load
lea addresses_D+0xceda, %r12
nop
nop
nop
nop
cmp %rax, %rax
mov (%r12), %r8w
dec %rbp
// Store
lea addresses_PSE+0xbce8, %r12
nop
nop
nop
nop
nop
add %rdx, %rdx
mov $0x5152535455565758, %rbp
movq %rbp, %xmm7
vmovups %ymm7, (%r12)
and %rbp, %rbp
// Store
lea addresses_UC+0x7d5a, %rax
cmp %r8, %r8
movb $0x51, (%rax)
nop
nop
nop
nop
inc %r12
// Faulty Load
lea addresses_A+0x76da, %r11
nop
nop
add %r12, %r12
vmovups (%r11), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rax
lea oracles, %r12
and $0xff, %rax
shlq $12, %rax
mov (%r12,%rax,1), %rax
pop %rdx
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}}
{'35': 8433}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
|
Capture One Scripts/apply_keywords.applescript | chis-chipz/CaptureOneScripts | 17 | 1039 | <reponame>chis-chipz/CaptureOneScripts<filename>Capture One Scripts/apply_keywords.applescript
(*
Apply keywords from the clipboard to all variants in the current collection.
Each line of text in the clipboard is applied as a separate keyword. The keywords
are added to the whatever the current keywords are.
If you need to remove all keywords, use "Reset Keywords", which will remove all
keywords from every variant in the current collection.
Created by <NAME>
*)
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
set theRawKeywords to the clipboard as string
set dialogAnswer to display dialog ¬
"Apply " & number of paragraphs of theRawKeywords & " keywords" buttons {"Reset Keywords", "No", "Yes"} ¬
default button "Yes"
if button returned of dialogAnswer is "Yes" then
repeat with theLine in paragraphs of theRawKeywords
log theLine as string
setKeyword(theLine)
end repeat
else if button returned of dialogAnswer is "Reset Keywords" then
resetKeywords()
end if
on setKeyword(theKeyword)
tell front document of application "Capture One 12"
-- Capture One does not allow `,` or `|` in keywords
set theCleanKeyword to my replace_chars(theKeyword, ",", " ")
set theCleanKeyword to my replace_chars(theCleanKeyword, "|", " ")
repeat with theVariant in variants of current collection
tell theVariant to make keyword with properties {name:theCleanKeyword}
end repeat
end tell
end setKeyword
on resetKeywords()
tell front document of application "Capture One 12"
delete every keyword of every variant of current collection
end tell
end resetKeywords
-- From https://www.macosxautomation.com/applescript/sbrt/sbrt-06.html
on replace_chars(this_text, search_string, replacement_string)
set AppleScript's text item delimiters to the search_string
set the item_list to every text item of this_text
set AppleScript's text item delimiters to the replacement_string
set this_text to the item_list as string
set AppleScript's text item delimiters to ""
return this_text
end replace_chars |
src/sdl-inputs-joysticks-game_controllers.ads | alire-project/sdlada | 0 | 4715 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
--
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
--
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--------------------------------------------------------------------------------------------------------------------
-- SDL.Inputs.Joysticks.Game_Controllers
--------------------------------------------------------------------------------------------------------------------
with SDL.Events.Joysticks.Game_Controllers;
package SDL.Inputs.Joysticks.Game_Controllers is
type Bind_Types is (None, Button, Axis, Hat) with
Convention => C;
type Hat_Bindings is
record
Hat : SDL.Events.Joysticks.Hats;
Mask : SDL.Events.Joysticks.Hat_Positions;
end record with
Convention => C;
type Binding_Values (Which : Bind_Types := None) is
record
case Which is
when None =>
null;
when Button =>
Button : SDL.Events.Joysticks.Game_Controllers.Buttons;
when Axis =>
Axis : SDL.Events.Joysticks.Game_Controllers.Axes;
when Hat =>
Hat : Hat_Bindings;
end case;
end record with
Unchecked_Union;
type Bindings is
record
Which : Bind_Types;
Value : Binding_Values (None);
end record with
Convention => C;
Mapping_Error : exception;
type Game_Controller is new Ada.Finalization.Limited_Controlled with private;
Null_Game_Controller : constant Game_Controller;
procedure Add_Mapping (Data : in String; Updated_Existing : out Boolean);
function Add_Mapping (Database_Filename : in String) return Natural; -- From v2.0.2
function Axis_Value (Self : in Game_Controller;
Axis : in SDL.Events.Joysticks.Game_Controllers.LR_Axes)
return SDL.Events.Joysticks.Game_Controllers.LR_Axes_Values;
function Axis_Value (Self : in Game_Controller;
Axis : in SDL.Events.Joysticks.Game_Controllers.Trigger_Axes)
return SDL.Events.Joysticks.Game_Controllers.Trigger_Axes_Values;
procedure Close (Self : in out Game_Controller);
function Get_Axis (Axis : in String) return SDL.Events.Joysticks.Game_Controllers.Axes;
function Get_Binding (Self : in Game_Controller; Axis : in SDL.Events.Joysticks.Game_Controllers.Axes)
return Bindings;
function Get_Binding (Self : in Game_Controller; Button : in SDL.Events.Joysticks.Game_Controllers.Buttons)
return Bindings;
function Get_Button (Button_Name : in String) return SDL.Events.Joysticks.Game_Controllers.Buttons;
function Get_Joystick (Self : in Game_Controller) return Joystick;
function Get_Mapping (Self : in Game_Controller) return String;
function Get_Mapping (Controller : in GUIDs) return String;
function Get_Name (Self : in Game_Controller) return String;
function Get_Name (Device : in Devices) return String;
function Image (Axis : in SDL.Events.Joysticks.Game_Controllers.Axes) return String;
function Image (Button : in SDL.Events.Joysticks.Game_Controllers.Buttons) return String;
function Is_Attached (Self : in Game_Controller) return Boolean;
function Is_Button_Pressed (Self : in Game_Controller; Button : in SDL.Events.Joysticks.Buttons)
return SDL.Events.Button_State;
function Is_Game_Controller (Device : in Devices) return Boolean;
private
type Game_Controller is new Ada.Finalization.Limited_Controlled with
record
Internal : SDL.C_Pointers.Game_Controller_Pointer := null;
Owns : Boolean := True;
end record;
Null_Game_Controller : constant Game_Controller := (Ada.Finalization.Limited_Controlled with
Internal => null,
Owns => True);
end SDL.Inputs.Joysticks.Game_Controllers;
|
configuration-step_4.adb | annexi-strayline/AURA | 13 | 29631 | <filename>configuration-step_4.adb
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- --
-- Command Line Interface --
-- --
-- ------------------------------------------------------------------------ --
-- --
-- Copyright (C) 2020, ANNEXI-STRAYLINE Trans-Human Ltd. --
-- All rights reserved. --
-- --
-- Original Contributors: --
-- * <NAME> (ANNEXI-STRAYLINE) --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- --
-- * Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A --
-- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with Ada.Directories;
with Registrar.Registration;
separate (Configuration)
procedure Step_4 (Target: in out Subsystem) is
use Ada.Directories;
SS_Root_Path: constant String := Current_Directory & '/'
& Target.Name.To_UTF8_String;
Search: Search_Type;
Subdir: Directory_Entry_Type;
begin
-- Note that Codepaths will always be empty for the root configuration
-- unit, since codepaths are explicitly disallowed. It seemed better form to
-- let it come here anyways, rather than explicitly ending at Step_3 with a
-- special case, since the outcome is identical, and performance impact very
-- minimal. In fact, the root config is only explictly processed once, so
-- having a check in step 3 would be less performant
for Codepath of Target.Configuration.Codepaths loop
declare
Full_Path: constant String
:= SS_Root_Path & '/' & UBS.To_String (Codepath.Value);
Subdir_Name: constant String := Simple_Name (Full_Path);
begin
Start_Search (Search => Search,
Directory => Containing_Directory (Full_Path),
Pattern => Subdir_Name,
Filter => Filter_Type'(Directory => True,
others => False));
Assert (Check => More_Entries (Search),
Message => "Could not find codepath """
& UBS.To_String (Codepath.Value)
& '"');
Get_Next_Entry (Search => Search,
Directory_Entry => Subdir);
Registrar.Registration.Enter_Directory
(Directory => Subdir,
AURA_Subsystem => Target);
end;
end loop;
Complete (Target);
end Step_4;
|
TypesMore.agda | pigworker/WhatRTypes4 | 11 | 13918 | <filename>TypesMore.agda
module TypesMore where
open import Basics
open import Types4
module DESC (I : Set) where
data Desc : Set1 where
inx : I -> Desc
sg : (A : Set)(D : A -> Desc) -> Desc
_!_ : I -> Desc -> Desc
Node : Desc -> (I -> Set) -> I -> Set
Node (inx x) R i = x == i
Node (sg A D) R i = Sg A \ a -> Node (D a) R i
Node (x ! D) R i = R x * Node D R i
data Mu (D : Desc)(i : I) : Set where
[_] : Node D (Mu D) i -> Mu D i
cata : forall D {X} -> ({i : I} -> Node D X i -> X i) ->
forall {i} -> Mu D i -> X i
mapCata : forall {D} E {X} -> ({i : I} -> Node D X i -> X i) ->
forall {i} -> Node E (Mu D) i -> Node E X i
cata D f [ x ] = f (mapCata D f x)
mapCata (inx x) f q = q
mapCata (sg A E) f (a , e) = a , mapCata (E a) f e
mapCata (i ! E) f (x , e) = cata _ f x , mapCata E f e
module ORN (J : Set)(ji : J -> I) where
Hits : I -> Set
Hits i = Sg J \ j -> ji j == i
data Orn : Desc -> Set1 where
inx : forall {i} -> Hits i -> Orn (inx i)
sg : forall A {D} -> ((a : A) -> Orn (D a)) -> Orn (sg A D)
_!_ : forall {i D} -> Hits i -> Orn D -> Orn (i ! D)
ins : forall (X : Set) {D} -> (X -> Orn D) -> Orn D
del : forall {A D} a -> Orn (D a) -> Orn (sg A D)
open DESC
NatDesc : Desc One
NatDesc = sg Two \ { tt -> inx <> ; ff -> <> ! inx <> }
NAT : Set
NAT = Mu One NatDesc <>
pattern ZE = [ tt , refl ]
pattern SU n = [ ff , n , refl ]
PLUS : NAT -> NAT -> NAT
PLUS ZE y = y
PLUS (SU x) y = SU (PLUS x y)
open ORN
orned : forall {I D J ji} -> Orn I J ji D -> Desc J
orned (inx (j , q)) = inx j
orned (sg A D) = sg A \ a -> orned (D a)
orned ((j , q) ! O) = j ! orned O
orned (ins X O) = sg X \ x -> orned (O x)
orned (del a O) = orned O
ListOrn : Set -> Orn One One _ NatDesc
ListOrn X = sg Two \
{ tt -> inx (<> , refl)
; ff -> ins X \ _ -> (<> , refl) ! (inx (<> , refl))
}
forget : forall {I D J ji} (O : Orn I J ji D) {P : I -> Set} ->
{j : J} -> Node J (orned O) (\ j -> P (ji j)) j ->
Node I D P (ji j)
forget (inx (j , refl)) refl = refl
forget (sg A O) (a , o) = a , forget (O a) o
forget ((j , refl) ! O) (p , o) = p , forget O o
forget (ins X O) (x , o) = forget (O x) o
forget (del a O) o = a , forget O o
plain : forall {I D J ji} (O : Orn I J ji D)
{j : J} -> Mu J (orned O) j -> Mu I D (ji j)
plain O = cata _ (orned O) (\ x -> [ forget O {Mu _ _} x ])
|
programs/oeis/094/A094053.asm | karttu/loda | 1 | 4698 | ; A094053: Triangle read by rows: T(n,k) = k*(n-k), 1 <= k <= n.
; 0,1,0,2,2,0,3,4,3,0,4,6,6,4,0,5,8,9,8,5,0,6,10,12,12,10,6,0,7,12,15,16,15,12,7,0,8,14,18,20,20,18,14,8,0,9,16,21,24,25,24,21,16,9,0,10,18,24,28,30,30,28,24,18,10,0,11,20,27,32,35,36,35,32,27,20,11,0,12
add $0,1
cal $0,128139 ; Triangle read by rows: matrix product A004736 * A128132.
mov $1,$0
sub $1,1
|
oeis/169/A169603.asm | neoneye/loda-programs | 11 | 242842 | ; A169603: Table T(n,k) = k*(4*n+2+k) read by rows.
; Submitted by <NAME>
; 0,0,7,0,11,24,0,15,32,51,0,19,40,63,88,0,23,48,75,104,135,0,27,56,87,120,155,192,0,31,64,99,136,175,216,259,0,35,72,111,152,195,240,287,336,0,39,80,123,168,215,264,315,368,423,0,43,88,135,184,235,288,343,400
lpb $0
add $1,1
sub $0,$1
lpe
mul $1,4
add $1,$0
add $1,2
mul $1,$0
mov $0,$1
|
oeis/142/A142824.asm | neoneye/loda-programs | 11 | 165750 | ; A142824: Primes congruent to 26 mod 61.
; Submitted by <NAME>
; 331,941,1063,1307,1429,2039,2161,3137,3259,4357,4723,4967,5333,5821,6553,7529,8017,8627,10091,10457,11311,11677,12043,12409,12653,13751,13873,15581,16069,17167,18143,19973,21193,21559,21803,22291,22901,23633,24121,25097,25219,25463,25951,26317,26561,26683,26927,28513,28879,29123,29611,31319,32051,32173,32783,33149,33637,34369,34613,36809,36931,37663,37907,38273,38639,39371,40591,41201,42299,42787,43397,44129,44617,44983,45959,46447,46691,47057,47911,49009,49253,49741,50839,51449,52181,53279
mov $1,43
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,1
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,61
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,121
|
programs/oeis/059/A059978.asm | neoneye/loda | 22 | 13821 | ; A059978: a(n) = binomial(n+2,n)^6.
; 1,729,46656,1000000,11390625,85766121,481890304,2176782336,8303765625,27680640625,82653950016,225199600704,567869252041,1340095640625,2985984000000,6327518887936,12827693806929,25002110044521,47045881000000,85766121000000,151939915084881,262254607552729,442032795979776,729000000000000,1178420166015625,1870004703089601,2917096519063104,4478743609109056,6775409390765625,10109221616390625,14889840956932096,21667237072994304,31172897213027361,44371263363765625,62523502209000000,87266061345623616,120706859316371329,165542400249498441,225199600704000000,304006671424000000,407398015096219161,542158788145462929,716715535644767296,941480149401000000,1229255326344515625,1595710723950942481,2059940128316719104,2645111175781810176,3379220508056640625,4295968701416015625,5435770900765248576,6846920817709271104,8586927626969772081,10724047326770765625,13339032325696000000,16527125390940573696,20400326651151493929,25089965101891841761,30749609024289000000,37558352909169000000,45724521891885522841,55489838359499131329,67134099304759689216,80980417183744000000,97401081499701890625,116824103098824244761,139740508238886858304,166712454894136965696,198382249504946390625,235482348484714515625,278846435275817619456,329421670618122031104,388282220975269366201,456644177773681640625,535881988265625000000,627546527449847258176,733384949590939374729,855362467491883754481,995686217814016000000,1156831381426176000000,1341569739022062315921,1553000854094210357929,1794586087817653225536,2070185663499849000000,2384099012020123140625,2741108644136539116441,3146527810706247880704,3606252227773071855616,4126816160150075015625,4715453174592516890625,5380161891945887964736,6129777086793331274304,6974046503145982889721,7923713775648591390625,8990607867641856000000,10187739460263588397056,11529404750615076613729,13031297141899629116601,14710627334390625000000,16586252353140625000000
mov $1,-3
bin $1,$0
pow $1,6
mov $0,$1
|
Categories/Category/Construction/CartesianClosedFunctors.agda | elpinal/exsub-ccc | 3 | 8288 | module Categories.Category.Construction.CartesianClosedFunctors where
open import Categories.Category
open import Categories.Category.CartesianClosed.Bundle
open import Categories.Functor.CartesianClosed
open import Categories.NaturalTransformation using (NaturalTransformation; id; _∘ᵥ_)
import Categories.NaturalTransformation.Equivalence as NTEq
open import Categories.NaturalTransformation.NaturalIsomorphism
import Categories.NaturalTransformation.NaturalIsomorphism.Equivalence as Eq
open import Data.Product using (_,_)
open import Level
private
variable o ℓ e o′ ℓ′ e′ : Level
CCCat≅ : (C : CartesianClosedCategory o ℓ e)
-> (D : CartesianClosedCategory o′ ℓ′ e′)
-> Category (levelOfTerm C ⊔ levelOfTerm D) (o ⊔ ℓ ⊔ ℓ′ ⊔ e′) (o ⊔ e′)
CCCat≅ C D = record
{ Obj = CartesianClosedF C D
; _⇒_ = λ F G → NaturalIsomorphism (CartesianClosedF.F F) (CartesianClosedF.F G)
; _≈_ = Eq._≅_
; id = refl
; _∘_ = _ⓘᵥ_
; assoc = assoc , sym-assoc
; sym-assoc = sym-assoc , assoc
; identityˡ = identityˡ , identityʳ
; identityʳ = identityʳ , identityˡ
; identity² = identity² , identity²
; equiv = Eq.≅-isEquivalence
; ∘-resp-≈ = λ (f≅h , f≅h′) (g≅i , g≅i′) → ∘-resp-≈ f≅h g≅i , ∘-resp-≈ g≅i′ f≅h′
}
where
open Category (CartesianClosedCategory.U D)
|
Lab1/Lab Implementation/part4.asm | egeturan/computer_architecture_labs | 0 | 29295 | .data
welcome: .asciiz "Welcome to the expression program: \n"
valX: .asciiz "Please enter value for x : \n"
valY: .asciiz "Please enter value for y : \n"
result: .asciiz "The result is: "
expression: .asciiz "Expression is: ((x * 2) + y) % 4 \n"
.text
main:
addi $t2, $zero, 4
addi $t4, $zero, 1
#Prompt for welcome to the program
li $v0, 4
la $a0, welcome
syscall
#Prompt for value x
li $v0, 4
la $a0, valX
syscall
#Get the x
li $v0, 5
syscall
move $t1, $v0 # x = $t1
#Prompt for value y
li $v0, 4
la $a0, valY
syscall
#Get the y
li $v0, 5
syscall
move $t0, $v0 # y = $t0
sll $t1, $t1, 1 # x * 2
add $t1, $t1, $t0
slt $t3 ,$t1, $zero
beq $t3, $t4, negativeDivision
div $t1, $t2
mfhi $t1
#Prompt for result
li $v0, 4
la $a0, result
syscall
#print the result value
li $v0, 1
addi $a0, $t1, 0
syscall
#terminate the program
li $v0, 10
syscall
negativeDivision:
div $t1, $t2
mfhi $t1
addi $t1, $t1, 4
#Prompt for result
li $v0, 4
la $a0, result
syscall
#print the result value
li $v0, 1
addi $a0, $t1, 0
syscall
#terminate the program
li $v0, 10
syscall |
arch/ARM/Nordic/svd/nrf52/nrf_svd-lpcomp.ads | rocher/Ada_Drivers_Library | 192 | 23656 | <reponame>rocher/Ada_Drivers_Library
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without modification,
-- are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
--
-- 2. Redistributions in binary form, except as embedded into a Nordic
-- Semiconductor ASA integrated circuit in a product or a software update for
-- such product, must reproduce the above copyright notice, this list of
-- conditions and the following disclaimer in the documentation and/or other
-- materials provided with the distribution.
--
-- 3. Neither the name of Nordic Semiconductor ASA nor the names of its
-- contributors may be used to endorse or promote products derived from this
-- software without specific prior written permission.
--
-- 4. This software, with or without modification, must only be used with a
-- Nordic Semiconductor ASA integrated circuit.
--
-- 5. Any software provided in binary form under this license must not be reverse
-- engineered, decompiled, modified and/or disassembled.
--
-- THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
-- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-- OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-- GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--
-- This spec has been automatically generated from nrf52.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NRF_SVD.LPCOMP is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Shortcut between READY event and SAMPLE task
type SHORTS_READY_SAMPLE_Field is
(-- Disable shortcut
Disabled,
-- Enable shortcut
Enabled)
with Size => 1;
for SHORTS_READY_SAMPLE_Field use
(Disabled => 0,
Enabled => 1);
-- Shortcut between READY event and STOP task
type SHORTS_READY_STOP_Field is
(-- Disable shortcut
Disabled,
-- Enable shortcut
Enabled)
with Size => 1;
for SHORTS_READY_STOP_Field use
(Disabled => 0,
Enabled => 1);
-- Shortcut between DOWN event and STOP task
type SHORTS_DOWN_STOP_Field is
(-- Disable shortcut
Disabled,
-- Enable shortcut
Enabled)
with Size => 1;
for SHORTS_DOWN_STOP_Field use
(Disabled => 0,
Enabled => 1);
-- Shortcut between UP event and STOP task
type SHORTS_UP_STOP_Field is
(-- Disable shortcut
Disabled,
-- Enable shortcut
Enabled)
with Size => 1;
for SHORTS_UP_STOP_Field use
(Disabled => 0,
Enabled => 1);
-- Shortcut between CROSS event and STOP task
type SHORTS_CROSS_STOP_Field is
(-- Disable shortcut
Disabled,
-- Enable shortcut
Enabled)
with Size => 1;
for SHORTS_CROSS_STOP_Field use
(Disabled => 0,
Enabled => 1);
-- Shortcut register
type SHORTS_Register is record
-- Shortcut between READY event and SAMPLE task
READY_SAMPLE : SHORTS_READY_SAMPLE_Field := NRF_SVD.LPCOMP.Disabled;
-- Shortcut between READY event and STOP task
READY_STOP : SHORTS_READY_STOP_Field := NRF_SVD.LPCOMP.Disabled;
-- Shortcut between DOWN event and STOP task
DOWN_STOP : SHORTS_DOWN_STOP_Field := NRF_SVD.LPCOMP.Disabled;
-- Shortcut between UP event and STOP task
UP_STOP : SHORTS_UP_STOP_Field := NRF_SVD.LPCOMP.Disabled;
-- Shortcut between CROSS event and STOP task
CROSS_STOP : SHORTS_CROSS_STOP_Field := NRF_SVD.LPCOMP.Disabled;
-- unspecified
Reserved_5_31 : HAL.UInt27 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SHORTS_Register use record
READY_SAMPLE at 0 range 0 .. 0;
READY_STOP at 0 range 1 .. 1;
DOWN_STOP at 0 range 2 .. 2;
UP_STOP at 0 range 3 .. 3;
CROSS_STOP at 0 range 4 .. 4;
Reserved_5_31 at 0 range 5 .. 31;
end record;
-- Write '1' to Enable interrupt for READY event
type INTENSET_READY_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENSET_READY_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Enable interrupt for READY event
type INTENSET_READY_Field_1 is
(-- Reset value for the field
Intenset_Ready_Field_Reset,
-- Enable
Set)
with Size => 1;
for INTENSET_READY_Field_1 use
(Intenset_Ready_Field_Reset => 0,
Set => 1);
-- Write '1' to Enable interrupt for DOWN event
type INTENSET_DOWN_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENSET_DOWN_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Enable interrupt for DOWN event
type INTENSET_DOWN_Field_1 is
(-- Reset value for the field
Intenset_Down_Field_Reset,
-- Enable
Set)
with Size => 1;
for INTENSET_DOWN_Field_1 use
(Intenset_Down_Field_Reset => 0,
Set => 1);
-- Write '1' to Enable interrupt for UP event
type INTENSET_UP_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENSET_UP_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Enable interrupt for UP event
type INTENSET_UP_Field_1 is
(-- Reset value for the field
Intenset_Up_Field_Reset,
-- Enable
Set)
with Size => 1;
for INTENSET_UP_Field_1 use
(Intenset_Up_Field_Reset => 0,
Set => 1);
-- Write '1' to Enable interrupt for CROSS event
type INTENSET_CROSS_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENSET_CROSS_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Enable interrupt for CROSS event
type INTENSET_CROSS_Field_1 is
(-- Reset value for the field
Intenset_Cross_Field_Reset,
-- Enable
Set)
with Size => 1;
for INTENSET_CROSS_Field_1 use
(Intenset_Cross_Field_Reset => 0,
Set => 1);
-- Enable interrupt
type INTENSET_Register is record
-- Write '1' to Enable interrupt for READY event
READY : INTENSET_READY_Field_1 := Intenset_Ready_Field_Reset;
-- Write '1' to Enable interrupt for DOWN event
DOWN : INTENSET_DOWN_Field_1 := Intenset_Down_Field_Reset;
-- Write '1' to Enable interrupt for UP event
UP : INTENSET_UP_Field_1 := Intenset_Up_Field_Reset;
-- Write '1' to Enable interrupt for CROSS event
CROSS : INTENSET_CROSS_Field_1 := Intenset_Cross_Field_Reset;
-- unspecified
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for INTENSET_Register use record
READY at 0 range 0 .. 0;
DOWN at 0 range 1 .. 1;
UP at 0 range 2 .. 2;
CROSS at 0 range 3 .. 3;
Reserved_4_31 at 0 range 4 .. 31;
end record;
-- Write '1' to Disable interrupt for READY event
type INTENCLR_READY_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENCLR_READY_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Disable interrupt for READY event
type INTENCLR_READY_Field_1 is
(-- Reset value for the field
Intenclr_Ready_Field_Reset,
-- Disable
Clear)
with Size => 1;
for INTENCLR_READY_Field_1 use
(Intenclr_Ready_Field_Reset => 0,
Clear => 1);
-- Write '1' to Disable interrupt for DOWN event
type INTENCLR_DOWN_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENCLR_DOWN_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Disable interrupt for DOWN event
type INTENCLR_DOWN_Field_1 is
(-- Reset value for the field
Intenclr_Down_Field_Reset,
-- Disable
Clear)
with Size => 1;
for INTENCLR_DOWN_Field_1 use
(Intenclr_Down_Field_Reset => 0,
Clear => 1);
-- Write '1' to Disable interrupt for UP event
type INTENCLR_UP_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENCLR_UP_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Disable interrupt for UP event
type INTENCLR_UP_Field_1 is
(-- Reset value for the field
Intenclr_Up_Field_Reset,
-- Disable
Clear)
with Size => 1;
for INTENCLR_UP_Field_1 use
(Intenclr_Up_Field_Reset => 0,
Clear => 1);
-- Write '1' to Disable interrupt for CROSS event
type INTENCLR_CROSS_Field is
(-- Read: Disabled
Disabled,
-- Read: Enabled
Enabled)
with Size => 1;
for INTENCLR_CROSS_Field use
(Disabled => 0,
Enabled => 1);
-- Write '1' to Disable interrupt for CROSS event
type INTENCLR_CROSS_Field_1 is
(-- Reset value for the field
Intenclr_Cross_Field_Reset,
-- Disable
Clear)
with Size => 1;
for INTENCLR_CROSS_Field_1 use
(Intenclr_Cross_Field_Reset => 0,
Clear => 1);
-- Disable interrupt
type INTENCLR_Register is record
-- Write '1' to Disable interrupt for READY event
READY : INTENCLR_READY_Field_1 := Intenclr_Ready_Field_Reset;
-- Write '1' to Disable interrupt for DOWN event
DOWN : INTENCLR_DOWN_Field_1 := Intenclr_Down_Field_Reset;
-- Write '1' to Disable interrupt for UP event
UP : INTENCLR_UP_Field_1 := Intenclr_Up_Field_Reset;
-- Write '1' to Disable interrupt for CROSS event
CROSS : INTENCLR_CROSS_Field_1 := Intenclr_Cross_Field_Reset;
-- unspecified
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for INTENCLR_Register use record
READY at 0 range 0 .. 0;
DOWN at 0 range 1 .. 1;
UP at 0 range 2 .. 2;
CROSS at 0 range 3 .. 3;
Reserved_4_31 at 0 range 4 .. 31;
end record;
-- Result of last compare. Decision point SAMPLE task.
type RESULT_RESULT_Field is
(-- Input voltage is below the reference threshold (VIN+ < VIN-).
Below,
-- Input voltage is above the reference threshold (VIN+ > VIN-).
Above)
with Size => 1;
for RESULT_RESULT_Field use
(Below => 0,
Above => 1);
-- Compare result
type RESULT_Register is record
-- Read-only. Result of last compare. Decision point SAMPLE task.
RESULT : RESULT_RESULT_Field;
-- unspecified
Reserved_1_31 : HAL.UInt31;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for RESULT_Register use record
RESULT at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-- Enable or disable LPCOMP
type ENABLE_ENABLE_Field is
(-- Disable
Disabled,
-- Enable
Enabled)
with Size => 2;
for ENABLE_ENABLE_Field use
(Disabled => 0,
Enabled => 1);
-- Enable LPCOMP
type ENABLE_Register is record
-- Enable or disable LPCOMP
ENABLE : ENABLE_ENABLE_Field := NRF_SVD.LPCOMP.Disabled;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for ENABLE_Register use record
ENABLE at 0 range 0 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
-- Analog pin select
type PSEL_PSEL_Field is
(-- AIN0 selected as analog input
Analoginput0,
-- AIN1 selected as analog input
Analoginput1,
-- AIN2 selected as analog input
Analoginput2,
-- AIN3 selected as analog input
Analoginput3,
-- AIN4 selected as analog input
Analoginput4,
-- AIN5 selected as analog input
Analoginput5,
-- AIN6 selected as analog input
Analoginput6,
-- AIN7 selected as analog input
Analoginput7)
with Size => 3;
for PSEL_PSEL_Field use
(Analoginput0 => 0,
Analoginput1 => 1,
Analoginput2 => 2,
Analoginput3 => 3,
Analoginput4 => 4,
Analoginput5 => 5,
Analoginput6 => 6,
Analoginput7 => 7);
-- Input pin select
type PSEL_Register is record
-- Analog pin select
PSEL : PSEL_PSEL_Field := NRF_SVD.LPCOMP.Analoginput0;
-- unspecified
Reserved_3_31 : HAL.UInt29 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for PSEL_Register use record
PSEL at 0 range 0 .. 2;
Reserved_3_31 at 0 range 3 .. 31;
end record;
-- Reference select
type REFSEL_REFSEL_Field is
(-- VDD * 1/8 selected as reference
Ref1_8Vdd,
-- VDD * 2/8 selected as reference
Ref2_8Vdd,
-- VDD * 3/8 selected as reference
Ref3_8Vdd,
-- VDD * 4/8 selected as reference
Ref4_8Vdd,
-- VDD * 5/8 selected as reference
Ref5_8Vdd,
-- VDD * 6/8 selected as reference
Ref6_8Vdd,
-- VDD * 7/8 selected as reference
Ref7_8Vdd,
-- External analog reference selected
Aref,
-- VDD * 1/16 selected as reference
Ref1_16Vdd,
-- VDD * 3/16 selected as reference
Ref3_16Vdd,
-- VDD * 5/16 selected as reference
Ref5_16Vdd,
-- VDD * 7/16 selected as reference
Ref7_16Vdd,
-- VDD * 9/16 selected as reference
Ref9_16Vdd,
-- VDD * 11/16 selected as reference
Ref11_16Vdd,
-- VDD * 13/16 selected as reference
Ref13_16Vdd,
-- VDD * 15/16 selected as reference
Ref15_16Vdd)
with Size => 4;
for REFSEL_REFSEL_Field use
(Ref1_8Vdd => 0,
Ref2_8Vdd => 1,
Ref3_8Vdd => 2,
Ref4_8Vdd => 3,
Ref5_8Vdd => 4,
Ref6_8Vdd => 5,
Ref7_8Vdd => 6,
Aref => 7,
Ref1_16Vdd => 8,
Ref3_16Vdd => 9,
Ref5_16Vdd => 10,
Ref7_16Vdd => 11,
Ref9_16Vdd => 12,
Ref11_16Vdd => 13,
Ref13_16Vdd => 14,
Ref15_16Vdd => 15);
-- Reference select
type REFSEL_Register is record
-- Reference select
REFSEL : REFSEL_REFSEL_Field := NRF_SVD.LPCOMP.Ref5_8Vdd;
-- unspecified
Reserved_4_31 : HAL.UInt28 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for REFSEL_Register use record
REFSEL at 0 range 0 .. 3;
Reserved_4_31 at 0 range 4 .. 31;
end record;
-- External analog reference select
type EXTREFSEL_EXTREFSEL_Field is
(-- Use AIN0 as external analog reference
Analogreference0,
-- Use AIN1 as external analog reference
Analogreference1)
with Size => 1;
for EXTREFSEL_EXTREFSEL_Field use
(Analogreference0 => 0,
Analogreference1 => 1);
-- External reference select
type EXTREFSEL_Register is record
-- External analog reference select
EXTREFSEL : EXTREFSEL_EXTREFSEL_Field :=
NRF_SVD.LPCOMP.Analogreference0;
-- unspecified
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for EXTREFSEL_Register use record
EXTREFSEL at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-- Analog detect configuration
type ANADETECT_ANADETECT_Field is
(-- Generate ANADETECT on crossing, both upward crossing and downward crossing
Cross,
-- Generate ANADETECT on upward crossing only
Up,
-- Generate ANADETECT on downward crossing only
Down)
with Size => 2;
for ANADETECT_ANADETECT_Field use
(Cross => 0,
Up => 1,
Down => 2);
-- Analog detect configuration
type ANADETECT_Register is record
-- Analog detect configuration
ANADETECT : ANADETECT_ANADETECT_Field := NRF_SVD.LPCOMP.Cross;
-- unspecified
Reserved_2_31 : HAL.UInt30 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for ANADETECT_Register use record
ANADETECT at 0 range 0 .. 1;
Reserved_2_31 at 0 range 2 .. 31;
end record;
-- Comparator hysteresis enable
type HYST_HYST_Field is
(-- Comparator hysteresis disabled
Nohyst,
-- Comparator hysteresis disabled (typ. 50 mV)
Hyst50MV)
with Size => 1;
for HYST_HYST_Field use
(Nohyst => 0,
Hyst50MV => 1);
-- Comparator hysteresis enable
type HYST_Register is record
-- Comparator hysteresis enable
HYST : HYST_HYST_Field := NRF_SVD.LPCOMP.Nohyst;
-- unspecified
Reserved_1_31 : HAL.UInt31 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for HYST_Register use record
HYST at 0 range 0 .. 0;
Reserved_1_31 at 0 range 1 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Low Power Comparator
type LPCOMP_Peripheral is record
-- Start comparator
TASKS_START : aliased HAL.UInt32;
-- Stop comparator
TASKS_STOP : aliased HAL.UInt32;
-- Sample comparator value
TASKS_SAMPLE : aliased HAL.UInt32;
-- LPCOMP is ready and output is valid
EVENTS_READY : aliased HAL.UInt32;
-- Downward crossing
EVENTS_DOWN : aliased HAL.UInt32;
-- Upward crossing
EVENTS_UP : aliased HAL.UInt32;
-- Downward or upward crossing
EVENTS_CROSS : aliased HAL.UInt32;
-- Shortcut register
SHORTS : aliased SHORTS_Register;
-- Enable interrupt
INTENSET : aliased INTENSET_Register;
-- Disable interrupt
INTENCLR : aliased INTENCLR_Register;
-- Compare result
RESULT : aliased RESULT_Register;
-- Enable LPCOMP
ENABLE : aliased ENABLE_Register;
-- Input pin select
PSEL : aliased PSEL_Register;
-- Reference select
REFSEL : aliased REFSEL_Register;
-- External reference select
EXTREFSEL : aliased EXTREFSEL_Register;
-- Analog detect configuration
ANADETECT : aliased ANADETECT_Register;
-- Comparator hysteresis enable
HYST : aliased HYST_Register;
end record
with Volatile;
for LPCOMP_Peripheral use record
TASKS_START at 16#0# range 0 .. 31;
TASKS_STOP at 16#4# range 0 .. 31;
TASKS_SAMPLE at 16#8# range 0 .. 31;
EVENTS_READY at 16#100# range 0 .. 31;
EVENTS_DOWN at 16#104# range 0 .. 31;
EVENTS_UP at 16#108# range 0 .. 31;
EVENTS_CROSS at 16#10C# range 0 .. 31;
SHORTS at 16#200# range 0 .. 31;
INTENSET at 16#304# range 0 .. 31;
INTENCLR at 16#308# range 0 .. 31;
RESULT at 16#400# range 0 .. 31;
ENABLE at 16#500# range 0 .. 31;
PSEL at 16#504# range 0 .. 31;
REFSEL at 16#508# range 0 .. 31;
EXTREFSEL at 16#50C# range 0 .. 31;
ANADETECT at 16#520# range 0 .. 31;
HYST at 16#538# range 0 .. 31;
end record;
-- Low Power Comparator
LPCOMP_Periph : aliased LPCOMP_Peripheral
with Import, Address => LPCOMP_Base;
end NRF_SVD.LPCOMP;
|
programs/oeis/169/A169965.asm | neoneye/loda | 22 | 85864 | ; A169965: Numbers whose decimal expansion contains only 0's and 2's.
; 0,2,20,22,200,202,220,222,2000,2002,2020,2022,2200,2202,2220,2222,20000,20002,20020,20022,20200,20202,20220,20222,22000,22002,22020,22022,22200,22202,22220,22222,200000,200002,200020,200022,200200,200202,200220,200222,202000,202002,202020,202022,202200,202202,202220,202222,220000,220002,220020,220022,220200,220202,220220,220222,222000,222002,222020,222022,222200,222202,222220,222222,2000000,2000002,2000020,2000022,2000200,2000202,2000220,2000222,2002000,2002002,2002020,2002022,2002200,2002202,2002220,2002222,2020000,2020002,2020020,2020022,2020200,2020202,2020220,2020222,2022000,2022002,2022020,2022022,2022200,2022202,2022220,2022222,2200000,2200002,2200020,2200022
seq $0,5836 ; Numbers n whose base 3 representation contains no 2.
seq $0,7089 ; Numbers in base 3.
mul $0,2
|
src/main/antlr/SlateLexer.g4 | agmcc/slate-lang | 1 | 6796 | <reponame>agmcc/slate-lang
lexer grammar SlateLexer;
// Whitespace
WS: [ \t\n\r]+ -> channel(HIDDEN);
// Keywords
VAR: 'var';
PRINT: 'print';
IF: 'if';
ELSE: 'else';
WHILE: 'while';
FOR: 'for';
RETURN: 'return';
// Types
INT: 'int';
DEC: 'dec';
STRING: 'string';
BOOL: 'bool';
ARRAY: '[]';
// Literals
COMMA: ',';
COLON: ':';
INT_LIT: '0' | [1-9] (Digits? | '_'+ Digits);
DEC_LIT: Digits '.' Digits? | '.' Digits;
STRING_LIT: '\''~('\r'|'\n'|'\'')*'\'';
TRUE_LIT: 'true';
FALSE_LIT: 'false';
// Operators
INCREMENT: '++';
DECREMENT: '--';
ADD: '+';
SUB: '-';
MUL: '*';
DIV: '/';
LESS: '<';
GREATER: '>';
LESS_EQ: '<=';
GREATER_EQ: '>=';
EQUAL: '==';
NOT_EQUAL: '!=';
OR: '||';
AND: '&&';
ASSIGN: '=';
L_PAREN: '(';
R_PAREN: ')';
L_BRACE: '{';
R_BRACE: '}';
// Identifiers
ID: [_]*[a-z][A-Za-z0-9_]*;
fragment Digits: [0-9] ([0-9_]* [0-9])?;
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_1360_1541.asm | ljhsiun2/medusa | 9 | 83064 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x18460, %rbx
clflush (%rbx)
nop
nop
add $29468, %rcx
movl $0x61626364, (%rbx)
xor $35129, %r12
lea addresses_D_ht+0x2454, %rsi
nop
and %r13, %r13
movw $0x6162, (%rsi)
nop
nop
dec %rsi
lea addresses_WT_ht+0x1e5b0, %rsi
nop
nop
nop
and %r12, %r12
movb (%rsi), %cl
nop
nop
nop
and $54837, %r12
lea addresses_UC_ht+0x4430, %r8
nop
nop
nop
add %r13, %r13
movups (%r8), %xmm1
vpextrq $1, %xmm1, %r15
nop
nop
add $64695, %r12
lea addresses_WC_ht+0x123b0, %rsi
lea addresses_WC_ht+0x11ab0, %rdi
nop
nop
xor %r13, %r13
mov $14, %rcx
rep movsw
nop
nop
nop
xor $41784, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %rax
push %rbp
push %rbx
push %rcx
// Faulty Load
lea addresses_RW+0xf9b0, %rcx
nop
nop
nop
xor %rax, %rax
mov (%rcx), %rbx
lea oracles, %rax
and $0xff, %rbx
shlq $12, %rbx
mov (%rax,%rbx,1), %rbx
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}}
{'32': 1360}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
programs/oeis/186/A186223.asm | karttu/loda | 0 | 25645 | <filename>programs/oeis/186/A186223.asm
; A186223: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the triangular numbers and pentagonal numbers. Complement of A186224.
; 1,3,5,6,8,9,11,13,14,16,17,19,20,22,24,25,27,28,30,31,33,35,36,38,39,41,43,44,46,47,49,50,52,54,55,57,58,60,61,63,65,66,68,69,71,73,74,76,77,79,80,82,84,85,87,88,90,91,93,95,96,98,99,101,102,104,106,107,109,110,112,114,115,117,118,120,121,123,125,126,128,129,131,132,134,136,137,139,140,142,143,145,147,148,150,151,153,155,156,158
mov $2,$0
mov $3,$0
lpb $2,1
mov $0,$2
mov $1,$2
add $1,1
lpb $4,1
mov $4,$1
mul $4,$2
add $2,4
lpe
sub $2,1
sub $4,$1
lpe
mov $1,$0
add $1,1
add $1,$3
|
code-examples/agda/prelude/Stream.agda | mstone/poly | 53 | 14977 | module prelude.Stream where
open import prelude
open import Data.List as L using (List)
record Stream (a : Set) : Set where
constructor _∷_
coinductive
field
hd : a
tl : Stream a
open Stream
take : ∀ {a} → ℕ → Stream a → List a
take ℕz xs = L.[]
take (ℕs n) xs = hd xs L.∷ take n (tl xs)
|
data/maps/objects/GameCornerPrizeRoom.asm | opiter09/ASM-Machina | 1 | 80008 | <gh_stars>1-10
GameCornerPrizeRoom_Object:
db $f ; border block
def_warps
warp 4, 7, 9, LAST_MAP
warp 5, 7, 9, LAST_MAP
def_signs
sign 2, 2, 3 ; CeladonPrizeRoomText3
sign 4, 2, 4 ; CeladonPrizeRoomText4
sign 6, 2, 5 ; CeladonPrizeRoomText5
def_objects
object SPRITE_BALDING_GUY, 1, 4, STAY, NONE, 1 ; person
object SPRITE_GAMBLER, 7, 3, WALK, LEFT_RIGHT, 2 ; person
def_warps_to GAME_CORNER_PRIZE_ROOM
|
1571/64tass/copy.asm | silverdr/assembly | 23 | 10279 | ; copy file(s) to one file
copy jsr lookup ; look ip all files
lda f2cnt
cmp #3
bcc cop10
lda fildrv
cmp fildrv+1
bne cop10
lda entind
cmp entind+1
bne cop10
lda entsec
cmp entsec+1
bne cop10
jsr chkin ; concat
lda #1
sta f2ptr
jsr opirfl
jsr typfil
beq cop01 ; greater than or equal to relative...
cmp #prgtyp
bne cop05
cop01 lda #mistyp
jsr cmderr
cop05 lda #iwsa
sta sa
lda lintab+irsa
sta lintab+iwsa
lda #$ff
sta lintab+irsa
jsr append
ldx #2
jsr cy10
jmp endcmd
cop10 jsr cy
jmp endcmd
cy jsr chkio ; ck fil for existence
lda fildrv
and #1
sta drvnum
jsr opniwr ; open internal write chnl
jsr addfil ; add to directory
ldx f1cnt
cy10 stx f2ptr ; set up read file
jsr opirfl
lda #irsa ; add for rel copy
sta sa
jsr fndrch
jsr typfil
bne cy10a ; not rel
jsr cyext
cy10a lda #eoisnd
sta eoiflg
jmp cy20
cy15 jsr pibyte
cy20 jsr gibyte
lda #lrf
jsr tstflg
beq cy15
jsr typfil
beq cy30
jsr pibyte
cy30 ldx f2ptr
inx
cpx f2cnt
bcc cy10 ; more files to copy
lda #iwsa
sta sa
jmp clschn ; close copy chnl, file
opirfl ldx f2ptr
lda fildrv,x
and #1
sta drvnum
lda dirtrk
sta track
lda entsec,x
sta sector
jsr opnird
ldx f2ptr
lda entind,x
jsr setpnt
ldx f2ptr
lda pattyp,x
and #typmsk
sta type
lda #0
sta rec
jsr opread
ldy #1
jsr typfil
beq opir10
iny
opir10 tya
jmp setpnt
gibyte lda #irsa
sta sa
gcbyte jsr gbyte
sta data
ldx lindx
lda chnrdy,x
and #eoisnd
sta eoiflg
bne gib20
jsr typfil
beq gib20
lda #lrf
jsr setflg
gib20 rts
cyext jsr setdrn
jsr ssend ; copy rel rec's
lda ssind
pha
lda ssnum
pha
lda #iwsa
sta sa
jsr fndwch
jsr setdrn
jsr ssend
jsr posbuf
lda ssind
sta r1
lda ssnum
sta r0
lda #0
sta r2
sta recptr
sta relptr
pla
sta ssnum
pla
sta ssind
jmp addr1
|
orka_plugin_gltf/src/orka-gltf.ads | onox/orka | 52 | 29919 | <filename>orka_plugin_gltf/src/orka-gltf.ads
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
with Ada.Strings.Bounded;
with Ada.Strings.Unbounded;
with JSON.Types;
with GL.Types;
private package Orka.glTF is
pragma Preelaborate;
package SU renames Ada.Strings.Unbounded;
Maximum_Name_Length : constant := 64;
package Name_Strings is new Ada.Strings.Bounded.Generic_Bounded_Length
(Max => Maximum_Name_Length);
function To_String (Value : Name_Strings.Bounded_String) return String
renames Name_Strings.To_String;
package Types is new JSON.Types (Long_Integer, GL.Types.Single);
subtype Natural_Optional is Integer range -1 .. Integer'Last;
Undefined : constant := Natural_Optional'First;
end Orka.glTF;
|
ffight/lcs/1p/91.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 24944 | <filename>ffight/lcs/1p/91.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
00E76C move.b D1, ($91,A6) [1p+ E, 1p+10]
00E770 tst.b D1
00F53C rts
copyright zengfr site:http://github.com/zengfr/romhack
|
test/link/uninit4/module1.asm | nigelperks/BasicAssembler | 0 | 92797 | <filename>test/link/uninit4/module1.asm
; Attempt to place uninitialised segment before initialised in image.
IDEAL
SEGMENT UDATA UNINIT
dd ?
ENDS UDATA
SEGMENT MAIN
ASSUME CS:MAIN
ORG 100h
start:
int 20h
ENDS MAIN
END start
|
test/Succeed/AnonymousDecl.agda | shlevy/agda | 1,989 | 5400 | <filename>test/Succeed/AnonymousDecl.agda
module AnonymousDecl where
_ : Set₁
_ = Set
_ : Set → Set
_ = λ x → x
_∋_ : ∀ {ℓ} (A : Set ℓ) → A → A
A ∋ a = a
_ = Set₁
_ = (Set → Set) ∋ λ x → x
data Bool : Set where t f : Bool
not : Bool → Bool
not t = f
not f = t
data _≡_ {A : Set} (a : A) : A → Set where
refl : a ≡ a
_ : ∀ x → not (not x) ≡ x
_ = λ { t → refl; f → refl }
|
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1247.asm | ljhsiun2/medusa | 9 | 17351 | <filename>Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1247.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb36e, %rsi
lea addresses_D_ht+0x16d86, %rdi
nop
nop
sub %r9, %r9
mov $4, %rcx
rep movsb
nop
nop
add %r14, %r14
lea addresses_D_ht+0x14566, %rsi
lea addresses_normal_ht+0x10f86, %rdi
nop
nop
xor $14530, %r9
mov $69, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_D_ht+0xbf86, %rsi
lea addresses_A_ht+0x2b86, %rdi
clflush (%rdi)
sub %rbx, %rbx
mov $105, %rcx
rep movsq
nop
nop
nop
xor %r14, %r14
lea addresses_WC_ht+0x4386, %rsi
lea addresses_UC_ht+0x18186, %rdi
clflush (%rsi)
nop
nop
nop
nop
sub %r15, %r15
mov $3, %rcx
rep movsq
nop
nop
nop
nop
nop
and $17404, %r15
lea addresses_WC_ht+0x1dd86, %r15
add %rsi, %rsi
and $0xffffffffffffffc0, %r15
movaps (%r15), %xmm0
vpextrq $1, %xmm0, %rbx
nop
nop
nop
nop
nop
xor $5353, %rsi
lea addresses_normal_ht+0x28f, %rsi
lea addresses_UC_ht+0x8a06, %rdi
nop
inc %r12
mov $24, %rcx
rep movsw
nop
nop
nop
and %r9, %r9
lea addresses_WT_ht+0x1b806, %rsi
lea addresses_WT_ht+0x3586, %rdi
nop
nop
inc %rbx
mov $89, %rcx
rep movsq
nop
nop
nop
nop
xor $12832, %r14
lea addresses_normal_ht+0x182a6, %r15
nop
nop
nop
nop
nop
xor $47935, %rbx
movb $0x61, (%r15)
nop
nop
nop
nop
inc %r14
lea addresses_WT_ht+0x291a, %rsi
lea addresses_WT_ht+0xff26, %rdi
nop
nop
nop
nop
cmp $42741, %rbx
mov $122, %rcx
rep movsb
nop
nop
nop
nop
dec %rcx
lea addresses_normal_ht+0x1e7a6, %rdi
add %rbx, %rbx
mov (%rdi), %r12d
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_A_ht+0x5835, %rsi
nop
nop
nop
nop
nop
dec %rcx
mov (%rsi), %r12
nop
mfence
lea addresses_D_ht+0xff06, %rsi
lea addresses_WC_ht+0x5346, %rdi
nop
nop
nop
nop
sub $7525, %r15
mov $93, %rcx
rep movsb
cmp $9842, %r15
lea addresses_A_ht+0x16a0e, %rsi
lea addresses_UC_ht+0x14786, %rdi
nop
nop
and %rbx, %rbx
mov $37, %rcx
rep movsq
nop
nop
nop
sub $46744, %r14
lea addresses_normal_ht+0x3986, %r15
nop
nop
cmp $6333, %r12
movups (%r15), %xmm2
vpextrq $0, %xmm2, %r9
nop
and %rdi, %rdi
lea addresses_UC_ht+0x9486, %rbx
nop
nop
nop
nop
dec %rcx
mov $0x6162636465666768, %r14
movq %r14, %xmm1
movups %xmm1, (%rbx)
sub $12050, %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_RW+0x1c986, %rsi
lea addresses_RW+0x69f6, %rdi
nop
nop
add %rbx, %rbx
mov $116, %rcx
rep movsq
and %r11, %r11
// Store
lea addresses_D+0x2bc6, %r11
nop
nop
nop
nop
nop
xor %rcx, %rcx
mov $0x5152535455565758, %rdi
movq %rdi, (%r11)
nop
nop
nop
xor %rcx, %rcx
// Store
lea addresses_WT+0xcdc6, %rbp
nop
nop
cmp $26472, %rbx
movb $0x51, (%rbp)
nop
nop
nop
and $34407, %rdi
// Store
lea addresses_normal+0x17786, %rcx
nop
nop
sub $31493, %rbp
movb $0x51, (%rcx)
nop
nop
nop
nop
nop
sub $40015, %rbx
// Load
lea addresses_US+0xf1c6, %r10
nop
nop
cmp %rbp, %rbp
mov (%r10), %rcx
nop
nop
nop
nop
nop
sub $46422, %rsi
// Store
lea addresses_D+0x139b3, %rsi
nop
cmp %r10, %r10
mov $0x5152535455565758, %rbp
movq %rbp, %xmm7
movups %xmm7, (%rsi)
nop
nop
nop
nop
nop
add $54022, %rdi
// Store
lea addresses_PSE+0xbe86, %rbp
nop
nop
nop
add %rdi, %rdi
mov $0x5152535455565758, %rsi
movq %rsi, %xmm5
movups %xmm5, (%rbp)
nop
nop
and %rcx, %rcx
// Load
lea addresses_WC+0x48da, %rcx
nop
nop
and $64679, %rbp
mov (%rcx), %r10w
nop
nop
nop
sub $53695, %rbx
// Store
lea addresses_UC+0x10b86, %r10
nop
nop
nop
nop
and %rcx, %rcx
movb $0x51, (%r10)
nop
nop
dec %rcx
// Load
lea addresses_UC+0x12786, %rsi
nop
nop
add $62516, %rdi
movb (%rsi), %r11b
nop
xor $42448, %rbx
// Faulty Load
lea addresses_normal+0x17786, %rsi
nop
nop
nop
nop
nop
dec %rbp
mov (%rsi), %bx
lea oracles, %rdi
and $0xff, %rbx
shlq $12, %rbx
mov (%rdi,%rbx,1), %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_normal', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 4, 'type': 'addresses_RW'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_RW'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_D', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_WT', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_normal', 'AVXalign': False, 'size': 1}}
{'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_US', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_D', 'AVXalign': False, 'size': 16}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 16}}
{'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_WC', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_UC', 'AVXalign': False, 'size': 1}}
{'src': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_UC', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_normal', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 2, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}}
{'src': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_normal_ht'}}
{'src': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_A_ht'}}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_WC_ht', 'AVXalign': True, 'size': 16}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}}
{'src': {'same': False, 'congruent': 5, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': True, 'congruent': 9, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_normal_ht', 'AVXalign': True, 'size': 1}}
{'src': {'same': False, 'congruent': 2, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}}
{'src': {'same': False, 'congruent': 3, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 8, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 16}}
{'22': 1}
22
*/
|
asg/asm/rdkafka_txnmgr.asm | asgkafka/librdkafka | 0 | 96708 | *PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:36:16 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DE3E7D5D4C7D9'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS X'7C998492818692816DA3A795948799'
write ALIAS C'write'
EXTRN write
rd_kafka_topic_partition_list_get_err ALIAS X'99846D92818692816DA396978*
9836D978199A389A38996956D9389A2A36D8785A36D859999'
EXTRN rd_kafka_topic_partition_list_get_err
rd_kafka_set_fatal_error0 ALIAS X'99846D92818692816DA285A36D8681A381936*
D8599999699F0'
EXTRN rd_kafka_set_fatal_error0
rd_buf_write ALIAS X'99846D82A4866DA69989A385'
EXTRN rd_buf_write
fprintf ALIAS C'fprintf'
EXTRN fprintf
rd_kafka_$Add$Partitions$To$Txn$Request ALIAS X'99846D92818692816DC1848*
4D78199A389A3899695A2E396E3A795D98598A485A2A3'
EXTRN rd_kafka_$Add$Partitions$To$Txn$Request
rd_kafka_broker_persistent_connection_add ALIAS X'99846D92818692816D829*
9969285996D978599A289A2A38595A36D839695958583A38996956D8*
18484'
EXTRN rd_kafka_broker_persistent_connection_add
rd_kafka_$Add$Offsets$To$Txn$Request ALIAS X'99846D92818692816DC18484D6*
8686A285A3A2E396E3A795D98598A485A2A3'
EXTRN rd_kafka_$Add$Offsets$To$Txn$Request
rd_kafka_op_destroy ALIAS X'99846D92818692816D96976D8485A2A39996A8'
EXTRN rd_kafka_op_destroy
rd_kafka_broker_persistent_connection_del ALIAS X'99846D92818692816D829*
9969285996D978599A289A2A38595A36D839695958583A38996956D8*
48593'
EXTRN rd_kafka_broker_persistent_connection_del
rd_kafka_$End$Txn$Request ALIAS X'99846D92818692816DC59584E3A795D98598A*
485A2A3'
EXTRN rd_kafka_$End$Txn$Request
rd_kafka_broker_monitor_add ALIAS X'99846D92818692816D8299969285996D949*
69589A396996D818484'
EXTRN rd_kafka_broker_monitor_add
rd_kafka_op_new0 ALIAS X'99846D92818692816D96976D9585A6F0'
EXTRN rd_kafka_op_new0
rd_kafka_broker_monitor_del ALIAS X'99846D92818692816D8299969285996D949*
69589A396996D848593'
EXTRN rd_kafka_broker_monitor_del
rd_kafka_outq_len ALIAS X'99846D92818692816D96A4A3986D938595'
EXTRN rd_kafka_outq_len
rd_kafka_op_new_cb ALIAS X'99846D92818692816D96976D9585A66D8382'
EXTRN rd_kafka_op_new_cb
rd_kafka_error_new_v ALIAS X'99846D92818692816D85999996996D9585A66DA5'
EXTRN rd_kafka_error_new_v
rd_kafka_op_reply ALIAS X'99846D92818692816D96976D99859793A8'
EXTRN rd_kafka_op_reply
rd_kafka_error_set_fatal ALIAS X'99846D92818692816D85999996996DA285A36D*
8681A38193'
EXTRN rd_kafka_error_set_fatal
rd_kafka_error_set_retriable ALIAS X'99846D92818692816D85999996996DA285*
A36D9985A3998981829385'
EXTRN rd_kafka_error_set_retriable
pthread_mutex_init ALIAS C'@@PT3MI'
EXTRN pthread_mutex_init
rd_kafka_error_set_txn_requires_abort ALIAS X'99846D92818692816D8599999*
6996DA285A36DA3A7956D998598A4899985A26D81829699A3'
EXTRN rd_kafka_error_set_txn_requires_abort
pthread_mutex_lock ALIAS C'@@PT3ML'
EXTRN pthread_mutex_lock
rd_kafka_op_req0 ALIAS X'99846D92818692816D96976D998598F0'
EXTRN rd_kafka_op_req0
rd_kafka_error_new_fatal ALIAS X'99846D92818692816D85999996996D9585A66D*
8681A38193'
EXTRN rd_kafka_error_new_fatal
rd_kafka_error_new_retriable ALIAS X'99846D92818692816D85999996996D9585*
A66D9985A3998981829385'
EXTRN rd_kafka_error_new_retriable
rd_kafka_op_req ALIAS X'99846D92818692816D96976D998598'
EXTRN rd_kafka_op_req
rd_kafka_error_new_txn_requires_abort ALIAS X'99846D92818692816D8599999*
6996D9585A66DA3A7956D998598A4899985A26D81829699A3'
EXTRN rd_kafka_error_new_txn_requires_abort
rd_kafka_metadata_refresh_brokers ALIAS X'99846D92818692816D9485A381848*
1A3816D9985869985A2886D829996928599A2'
EXTRN rd_kafka_metadata_refresh_brokers
rd_kafka_toppar_destroy_final ALIAS X'99846D92818692816DA396979781996D8*
485A2A39996A86D8689958193'
EXTRN rd_kafka_toppar_destroy_final
pthread_mutex_unlock ALIAS C'@@PT3MU'
EXTRN pthread_mutex_unlock
crc_table ALIAS X'8399836DA381829385'
crc_table DXD 0F
rd_kafka_op_throttle_time ALIAS X'99846D92818692816D96976DA3889996A3A39*
3856DA3899485'
EXTRN rd_kafka_op_throttle_time
rd_kafka_consumer_group_metadata_dup ALIAS X'99846D92818692816D839695A2*
A49485996D879996A4976D9485A3818481A3816D84A497'
EXTRN rd_kafka_consumer_group_metadata_dup
rd_kafka_err2str ALIAS X'99846D92818692816D859999F2A2A399'
EXTRN rd_kafka_err2str
rd_kafka_err2name ALIAS X'99846D92818692816D859999F295819485'
EXTRN rd_kafka_err2name
rd_slice_read ALIAS X'99846DA2938983856D99858184'
EXTRN rd_slice_read
rd_kafka_q_new0 ALIAS X'99846D92818692816D986D9585A6F0'
EXTRN rd_kafka_q_new0
rd_slice_read_uvarint ALIAS X'99846DA2938983856D998581846DA4A581998995A*
3'
EXTRN rd_slice_read_uvarint
rd_kafka_q_destroy_final ALIAS X'99846D92818692816D986D8485A2A39996A86D*
8689958193'
EXTRN rd_kafka_q_destroy_final
rd_kafka_fatal_error ALIAS X'99846D92818692816D8681A381936D8599999699'
EXTRN rd_kafka_fatal_error
rd_kafka_toppar_get0 ALIAS X'99846D92818692816DA396979781996D8785A3F0'
EXTRN rd_kafka_toppar_get0
rd_kafka_error_code ALIAS X'99846D92818692816D85999996996D83968485'
EXTRN rd_kafka_error_code
rd_kafka_error_string ALIAS X'99846D92818692816D85999996996DA2A39989958*
7'
EXTRN rd_kafka_error_string
snprintf ALIAS C'snprintf'
EXTRN snprintf
rd_slice_ensure_contig ALIAS X'99846DA2938983856D8595A2A499856D839695A3*
8987'
EXTRN rd_slice_ensure_contig
strdup ALIAS C'strdup'
EXTRN strdup
rd_kafka_error_txn_requires_abort ALIAS X'99846D92818692816D85999996996*
DA3A7956D998598A4899985A26D81829699A3'
EXTRN rd_kafka_error_txn_requires_abort
vsnprintf ALIAS C'VSNPRNT@'
EXTRN vsnprintf
rd_kafka_error_destroy ALIAS X'99846D92818692816D85999996996D8485A2A399*
96A8'
EXTRN rd_kafka_error_destroy
rd_kafka_error_new ALIAS X'99846D92818692816D85999996996D9585A6'
EXTRN rd_kafka_error_new
rd_kafka_topic_partition_list_destroy ALIAS X'99846D92818692816DA396978*
9836D978199A389A38996956D9389A2A36D8485A2A39996A8'
EXTRN rd_kafka_topic_partition_list_destroy
rd_kafka_q_purge0 ALIAS X'99846D92818692816D986D97A4998785F0'
EXTRN rd_kafka_q_purge0
rd_kafka_idemp_set_state ALIAS X'99846D92818692816D89848594976DA285A36D*
A2A381A385'
EXTRN rd_kafka_idemp_set_state
__assert ALIAS C'@@ASSERT'
EXTRN __assert
rd_kafka_coord_cache_evict ALIAS X'99846D92818692816D83969699846D838183*
88856D85A58983A3'
EXTRN rd_kafka_coord_cache_evict
rd_kafka_broker_$Api$Version_supported ALIAS X'99846D92818692816D829996*
9285996DC19789E58599A28996956DA2A497979699A38584'
EXTRN rd_kafka_broker_$Api$Version_supported
rd_kafka_broker_find_by_nodeid0_fl ALIAS X'99846D92818692816D8299969285*
996D868995846D82A86D959684858984F06D8693'
EXTRN rd_kafka_broker_find_by_nodeid0_fl
rd_kafka_idemp_pid_fsm ALIAS X'99846D92818692816D89848594976D9789846D86*
A294'
EXTRN rd_kafka_idemp_pid_fsm
mtx_init ALIAS X'94A3A76D899589A3'
EXTRN mtx_init
rd_kafka_coord_req ALIAS X'99846D92818692816D83969699846D998598'
EXTRN rd_kafka_coord_req
mtx_destroy ALIAS X'94A3A76D8485A2A39996A8'
EXTRN mtx_destroy
mtx_lock ALIAS X'94A3A76D93968392'
EXTRN mtx_lock
gettimeofday ALIAS C'GETTFD@Y'
EXTRN gettimeofday
rd_kafka_idemp_broker_any ALIAS X'99846D92818692816D89848594976D8299969*
285996D8195A8'
EXTRN rd_kafka_idemp_broker_any
mtx_unlock ALIAS X'94A3A76DA49593968392'
EXTRN mtx_unlock
rd_kafka_idemp_check_error ALIAS X'99846D92818692816D89848594976D838885*
83926D8599999699'
EXTRN rd_kafka_idemp_check_error
rd_kafka_idemp_start ALIAS X'99846D92818692816D89848594976DA2A38199A3'
EXTRN rd_kafka_idemp_start
cnd_signal ALIAS X'8395846DA28987958193'
EXTRN cnd_signal
rd_kafka_timer_stop ALIAS X'99846D92818692816DA3899485996DA2A39697'
EXTRN rd_kafka_timer_stop
rd_kafka_lwtopic_destroy ALIAS X'99846D92818692816D93A6A3969789836D8485*
A2A39996A8'
EXTRN rd_kafka_lwtopic_destroy
rd_kafka_buf_read_topic_partitions ALIAS X'99846D92818692816D82A4866D99*
8581846DA3969789836D978199A389A3899695A2'
EXTRN rd_kafka_buf_read_topic_partitions
rd_kafka_timer_start0 ALIAS X'99846D92818692816DA3899485996DA2A38199A3F*
0'
EXTRN rd_kafka_timer_start0
rd_kafka_buf_write_topic_partitions ALIAS X'99846D92818692816D82A4866DA*
69989A3856DA3969789836D978199A389A3899695A2'
EXTRN rd_kafka_buf_write_topic_partitions
rd_kafka_$Find$Coordinator$Request ALIAS X'99846D92818692816DC6899584C3*
96969984899581A39699D98598A485A2A3'
EXTRN rd_kafka_$Find$Coordinator$Request
rd_kafka_broker_destroy_final ALIAS X'99846D92818692816D8299969285996D8*
485A2A39996A86D8689958193'
EXTRN rd_kafka_broker_destroy_final
rd_kafka_buf_destroy_final ALIAS X'99846D92818692816D82A4866D8485A2A399*
96A86D8689958193'
EXTRN rd_kafka_buf_destroy_final
rd_kafka_broker_add_logical ALIAS X'99846D92818692816D8299969285996D818*
4846D93968789838193'
EXTRN rd_kafka_broker_add_logical
rd_kafka_topic_destroy_final ALIAS X'99846D92818692816DA3969789836D8485*
A2A39996A86D8689958193'
EXTRN rd_kafka_topic_destroy_final
rd_kafka_broker_set_nodename ALIAS X'99846D92818692816D8299969285996DA2*
85A36D9596848595819485'
EXTRN rd_kafka_broker_set_nodename
rd_kafka_buf_new_request0 ALIAS X'99846D92818692816D82A4866D9585A66D998*
598A485A2A3F0'
EXTRN rd_kafka_buf_new_request0
rd_kafka_topic_partition_list_sort_by_topic ALIAS X'99846D92818692816DA*
3969789836D978199A389A38996956D9389A2A36DA29699A36D82A86*
DA396978983'
EXTRN rd_kafka_topic_partition_list_sort_by_topic
rd_kafka_topic_find0_fl ALIAS X'99846D92818692816DA3969789836D86899584F*
06D8693'
EXTRN rd_kafka_topic_find0_fl
rd_kafka_broker_buf_enq_replyq ALIAS X'99846D92818692816D8299969285996D*
82A4866D8595986D99859793A898'
EXTRN rd_kafka_broker_buf_enq_replyq
rd_kafka_buf_retry ALIAS X'99846D92818692816D82A4866D9985A399A8'
EXTRN rd_kafka_buf_retry
rd_kafka_crash ALIAS X'99846D92818692816D839981A288'
EXTRN rd_kafka_crash
rwlock_rdlock ALIAS X'99A6939683926D998493968392'
EXTRN rwlock_rdlock
rd_kafka_broker_name ALIAS X'99846D92818692816D8299969285996D95819485'
EXTRN rd_kafka_broker_name
rwlock_wrlock ALIAS X'99A6939683926DA69993968392'
EXTRN rwlock_wrlock
rd_kafka_all_brokers_wakeup ALIAS X'99846D92818692816D8193936D829996928*
599A26DA6819285A497'
EXTRN rd_kafka_all_brokers_wakeup
rwlock_rdunlock ALIAS X'99A6939683926D9984A49593968392'
EXTRN rwlock_rdunlock
rd_kafka_topic_partition_list_str ALIAS X'99846D92818692816DA3969789836*
D978199A389A38996956D9389A2A36DA2A399'
EXTRN rd_kafka_topic_partition_list_str
rwlock_wrunlock ALIAS X'99A6939683926DA699A49593968392'
EXTRN rwlock_wrunlock
__stderrp ALIAS C'@@STDERP'
__stderrp DXD 0F
calloc ALIAS C'calloc'
EXTRN calloc
rd_kafka_flush ALIAS X'99846D92818692816D8693A4A288'
EXTRN rd_kafka_flush
rd_kafka_purge ALIAS X'99846D92818692816D97A4998785'
EXTRN rd_kafka_purge
free ALIAS C'free'
EXTRN free
rd_kafka_log0 ALIAS X'99846D92818692816D939687F0'
EXTRN rd_kafka_log0
rd_kafka_topic_partition_list_match ALIAS X'99846D92818692816DA39697898*
36D978199A389A38996956D9389A2A36D9481A38388'
EXTRN rd_kafka_topic_partition_list_match
*
*
*
* ....... start of ebcdic_2_utf8
@LNAME338 DS 0H
DC X'0000000D'
DC C'ebcdic_2_utf8'
DC X'00'
ebcdic_2_utf8 DCCPRLG CINDEX=338,BASER=12,FRAME=176,ENTRY=NO,ARCH=ZARCH*
,LNAMEADDR=@LNAME338
DCCPRV REG=9 ; Get PRV from DVT
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** const unsigned char* outstart = out;
LG 4,0(0,3) ; out
LGR 15,4
LG 1,8(0,3) ; outlen
LG 5,16(0,3) ; in
LGR 2,5
LG 3,24(0,3) ; inlen
* *** const unsigned char* base = in;
* *** const unsigned char* processed = in;
LGR 6,5 ; processed
* *** const unsigned char* inend = in + (*inlen);
LG 7,0(0,3) ; inlen
LA 7,0(7,5)
* *** const unsigned char* outend = out + (*outlen);
LG 8,0(0,1) ; outlen
LA 8,0(8,4)
* *** unsigned char c;
* ***
* *** while ((in < inend) && ((out - outstart) < *outlen)) {
B @L6
DS 0D
@FRAMESIZE_338 DC F'176'
@lit_338_2 DC FD'255' 0x00000000000000ff
@lit_338_1 DC Q(@@STATIC)
@L5 DS 0H
* *** c = *in++;
LGR 10,2
LA 2,1(0,2)
IC 10,0(0,10)
STC 10,168(0,13) ; c
* *** if (c > 0xFF)
LR 11,10
NILF 11,X'000000FF'
CHI 11,255
BNH @L8
* *** {
* *** *outlen = out - outstart;
SGR 15,4
STG 15,0(0,1) ; outlen
* *** *inlen = processed - base;
SGR 6,5
STG 6,0(0,3) ; inlen
* *** return(-1);
LGHI 15,-1 ; -1
B @ret_lab_338
* *** }
@L8 DS 0H
* ***
* *** if (out >= outend)
CGR 15,8
BNL @L3
* *** break;
@L9 DS 0H
* ***
* *** *out++ = E2U[c];
LGR 6,15
LA 15,1(0,15)
LGF 11,@lit_338_1
LA 11,0(11,9)
NG 10,@lit_338_2
IC 10,0(10,11)
STC 10,0(0,6)
* *** processed = (unsigned char*)in;
LGR 6,2 ; processed
* ***
* *** }
@L6 DS 0H
CGR 2,7
BNL @L3
LGR 10,15
SGR 10,4
CLG 10,0(0,1)
BL @L5
@L3 DS 0H
* ***
* *** *outlen = out - outstart;
SGR 15,4
STG 15,0(0,1) ; outlen
* *** *inlen = processed - base;
SGR 6,5
STG 6,0(0,3) ; inlen
* *** return(0);
LGHI 15,0 ; 0
* *** }
@ret_lab_338 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "ebcdic_2_utf8"
* (FUNCTION #338)
*
@AUTO#ebcdic_2_utf8 DSECT
DS XL168
ebcdic_2_utf8#c#0 DS 1CL1 ; c
*
@CODE CSECT
*
*
*
* ....... start of utf8_2_ebcdic
@LNAME339 DS 0H
DC X'0000000D'
DC C'utf8_2_ebcdic'
DC X'00'
utf8_2_ebcdic DCCPRLG CINDEX=339,BASER=12,FRAME=176,ENTRY=NO,ARCH=ZARCH*
,LNAMEADDR=@LNAME339
DCCPRV REG=9 ; Get PRV from DVT
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** const unsigned char* outstart = out;
LG 15,8(0,3) ; outlen
LG 4,16(0,3) ; in
LGR 1,4
LG 2,24(0,3) ; inlen
LG 3,0(0,3) ; out
LGR 8,3
* *** const unsigned char* base = in;
* *** const unsigned char* processed = in;
LGR 5,4 ; processed
* *** const unsigned char* inend = in + (*inlen);
LG 6,0(0,2) ; inlen
LA 6,0(6,4)
* *** const unsigned char* outend = out + (*outlen);
LG 7,0(0,15) ; outlen
LA 7,0(7,3)
* *** unsigned char c;
* ***
* *** while ((in < inend) && ((out - outstart) < *outlen)) {
B @L13
DS 0D
@FRAMESIZE_339 DC F'176'
@lit_339_7 DC FD'255' 0x00000000000000ff
@lit_339_6 DC Q(@@STATIC)
@L12 DS 0H
* *** c = *in++;
LGR 10,1
LA 1,1(0,1)
IC 10,0(0,10)
STC 10,168(0,13) ; c
* *** if (c > 0xFF)
LR 11,10
NILF 11,X'000000FF'
CHI 11,255
BNH @L15
* *** {
* *** *outlen = out - outstart;
SGR 8,3
STG 8,0(0,15) ; outlen
* *** *inlen = processed - base;
SGR 5,4
STG 5,0(0,2) ; inlen
* *** return(-1);
LGHI 15,-1 ; -1
B @ret_lab_339
* *** }
@L15 DS 0H
* ***
* *** if (out >= outend)
CGR 8,7
BNL @L10
* *** break;
@L16 DS 0H
* ***
* *** *out++ = U2E[c];
LGR 5,8
LA 8,1(0,8)
LGF 11,@lit_339_6
LA 11,0(11,9)
NG 10,@lit_339_7
IC 10,256(10,11)
STC 10,0(0,5)
* *** processed = (unsigned char*)in;
LGR 5,1 ; processed
* *** }
@L13 DS 0H
CGR 1,6
BNL @L10
LGR 10,8
SGR 10,3
CLG 10,0(0,15)
BL @L12
@L10 DS 0H
* ***
* *** *outlen = out - outstart;
SGR 8,3
STG 8,0(0,15) ; outlen
* *** *inlen = processed - base;
SGR 5,4
STG 5,0(0,2) ; inlen
* *** return(0);
LGHI 15,0 ; 0
* *** }
@ret_lab_339 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "utf8_2_ebcdic"
* (FUNCTION #339)
*
@AUTO#utf8_2_ebcdic DSECT
DS XL168
utf8_2_ebcdic#c#0 DS 1CL1 ; c
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic32_init
@LNAME732 DS 0H
DC X'00000010'
DC C'rd_atomic32_init'
DC X'00'
rd_atomic32_init DCCPRLG CINDEX=732,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME732
* ******* End of Prologue
* *
* *** ra->val = v;
LG 15,0(0,1) ; ra
L 1,12(0,1) ; v
ST 1,0(0,15) ; ra
* ***
* *** pthread_mutex_init(&ra->lock, 0);
LA 15,8(0,15)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_732_10 ; pthread_mutex_init
@@gen_label8 DS 0H
BALR 14,15
@@gen_label9 DS 0H
* *** # 79 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** }
@ret_lab_732 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_732 DC F'184'
@lit_732_10 DC AD(pthread_mutex_init)
DROP 12
*
* DSECT for automatic variables in "rd_atomic32_init"
* (FUNCTION #732)
*
@AUTO#rd_atomic32_init DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic32_add
@LNAME733 DS 0H
DC X'0000000F'
DC C'rd_atomic32_add'
DC X'00'
rd_atomic32_add DCCPRLG CINDEX=733,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME733
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,3) ; ra
* ***
* *** int32_t r;
* *** pthread_mutex_lock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_733_12 ; pthread_mutex_lock
@@gen_label10 DS 0H
BALR 14,15
@@gen_label11 DS 0H
* *** ra->val += v;
L 15,0(0,2)
A 15,12(0,3)
ST 15,0(0,2)
* *** r = ra->val;
LR 3,15 ; ra
* *** pthread_mutex_unlock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_733_13 ; pthread_mutex_unlock
@@gen_label12 DS 0H
BALR 14,15
@@gen_label13 DS 0H
* *** return r;
LGFR 15,3
* *** # 103 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** return __atomic_add_fetch(&ra->val, v, 6);
* ***
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_733 DC F'184'
@lit_733_12 DC AD(pthread_mutex_lock)
@lit_733_13 DC AD(pthread_mutex_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_atomic32_add"
* (FUNCTION #733)
*
@AUTO#rd_atomic32_add DSECT
DS XL168
rd_atomic32_add#r#0 DS 1F ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic32_sub
@LNAME734 DS 0H
DC X'0000000F'
DC C'rd_atomic32_sub'
DC X'00'
rd_atomic32_sub DCCPRLG CINDEX=734,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME734
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,3) ; ra
* ***
* *** int32_t r;
* *** pthread_mutex_lock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_734_15 ; pthread_mutex_lock
@@gen_label14 DS 0H
BALR 14,15
@@gen_label15 DS 0H
* *** ra->val -= v;
L 15,0(0,2)
S 15,12(0,3)
ST 15,0(0,2)
* *** r = ra->val;
LR 3,15 ; ra
* *** pthread_mutex_unlock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_734_16 ; pthread_mutex_unlock
@@gen_label16 DS 0H
BALR 14,15
@@gen_label17 DS 0H
* *** return r;
LGFR 15,3
* *** # 128 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** return __atomic_sub_fetch(&ra->val, v, 6);
* ***
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_734 DC F'184'
@lit_734_15 DC AD(pthread_mutex_lock)
@lit_734_16 DC AD(pthread_mutex_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_atomic32_sub"
* (FUNCTION #734)
*
@AUTO#rd_atomic32_sub DSECT
DS XL168
rd_atomic32_sub#r#0 DS 1F ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic32_set
@LNAME736 DS 0H
DC X'0000000F'
DC C'rd_atomic32_set'
DC X'00'
rd_atomic32_set DCCPRLG CINDEX=736,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME736
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,3) ; ra
* ***
* *** int32_t r;
* *** pthread_mutex_lock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_736_18 ; pthread_mutex_lock
@@gen_label18 DS 0H
BALR 14,15
@@gen_label19 DS 0H
* *** r = ra->val = v;
L 3,12(0,3) ; v
ST 3,0(0,2)
* *** pthread_mutex_unlock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_736_19 ; pthread_mutex_unlock
@@gen_label20 DS 0H
BALR 14,15
@@gen_label21 DS 0H
* *** return r;
LGFR 15,3
* *** # 178 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** __atomic_store_n(&ra->val, v, 6);
* *** return v;
* *** # 186 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_736 DC F'184'
@lit_736_18 DC AD(pthread_mutex_lock)
@lit_736_19 DC AD(pthread_mutex_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_atomic32_set"
* (FUNCTION #736)
*
@AUTO#rd_atomic32_set DSECT
DS XL168
rd_atomic32_set#r#0 DS 1F ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic64_init
@LNAME737 DS 0H
DC X'00000010'
DC C'rd_atomic64_init'
DC X'00'
rd_atomic64_init DCCPRLG CINDEX=737,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME737
* ******* End of Prologue
* *
* *** ra->val = v;
LG 15,0(0,1) ; ra
LG 1,8(0,1) ; v
STG 1,0(0,15) ; ra
* ***
* *** pthread_mutex_init(&ra->lock, 0);
LA 15,8(0,15)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_737_21 ; pthread_mutex_init
@@gen_label22 DS 0H
BALR 14,15
@@gen_label23 DS 0H
* *** # 199 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** }
@ret_lab_737 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_737 DC F'184'
@lit_737_21 DC AD(pthread_mutex_init)
DROP 12
*
* DSECT for automatic variables in "rd_atomic64_init"
* (FUNCTION #737)
*
@AUTO#rd_atomic64_init DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic64_get
@LNAME740 DS 0H
DC X'0000000F'
DC C'rd_atomic64_get'
DC X'00'
rd_atomic64_get DCCPRLG CINDEX=740,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME740
* ******* End of Prologue
* *
LG 2,0(0,1) ; ra
* ***
* *** int64_t r;
* *** pthread_mutex_lock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_740_23 ; pthread_mutex_lock
@@gen_label24 DS 0H
BALR 14,15
@@gen_label25 DS 0H
* *** r = ra->val;
LG 3,0(0,2) ; ra
* *** pthread_mutex_unlock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_740_24 ; pthread_mutex_unlock
@@gen_label26 DS 0H
BALR 14,15
@@gen_label27 DS 0H
* *** return r;
LGR 15,3
* *** # 277 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** return __atomic_fetch_add(&ra->val, 0, 6);
* ***
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_740 DC F'184'
@lit_740_23 DC AD(pthread_mutex_lock)
@lit_740_24 DC AD(pthread_mutex_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_atomic64_get"
* (FUNCTION #740)
*
@AUTO#rd_atomic64_get DSECT
DS XL168
rd_atomic64_get#r#0 DS 8XL1 ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_atomic64_set
@LNAME741 DS 0H
DC X'0000000F'
DC C'rd_atomic64_set'
DC X'00'
rd_atomic64_set DCCPRLG CINDEX=741,BASER=12,FRAME=184,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME741
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,3) ; ra
* ***
* *** int64_t r;
* *** pthread_mutex_lock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_741_26 ; pthread_mutex_lock
@@gen_label28 DS 0H
BALR 14,15
@@gen_label29 DS 0H
* *** ra->val = v;
LG 15,8(0,3) ; v
STG 15,0(0,2) ; ra
* *** r = ra->val;
LGR 3,15 ; ra
* *** pthread_mutex_unlock(&ra->lock);
LA 15,8(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_741_27 ; pthread_mutex_unlock
@@gen_label30 DS 0H
BALR 14,15
@@gen_label31 DS 0H
* *** return r;
LGR 15,3
* *** # 301 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** __atomic_store_n(&ra->val, v, 6);
* *** return v;
* *** # 309 "C:\asgkafka\librdkafka\src\rdatomic.h"
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_741 DC F'184'
@lit_741_26 DC AD(pthread_mutex_lock)
@lit_741_27 DC AD(pthread_mutex_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_atomic64_set"
* (FUNCTION #741)
*
@AUTO#rd_atomic64_set DSECT
DS XL168
rd_atomic64_set#r#0 DS 8XL1 ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_free
@LNAME754 DS 0H
DC X'00000007'
DC C'rd_free'
DC X'00'
rd_free DCCPRLG CINDEX=754,BASER=12,FRAME=176,ENTRY=NO,ARCH=ZARCH,LNAM*
EADDR=@LNAME754
* ******* End of Prologue
* *
* *** free(ptr);
LG 15,0(0,1) ; ptr
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_754_29 ; free
@@gen_label32 DS 0H
BALR 14,15
@@gen_label33 DS 0H
* *** }
@ret_lab_754 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_754 DC F'176'
@lit_754_29 DC AD(free)
DROP 12
*
* DSECT for automatic variables in "rd_free"
* (FUNCTION #754)
*
@AUTO#rd_free DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_strdup
@LNAME755 DS 0H
DC X'00000009'
DC C'rd_strdup'
DC X'00'
rd_strdup DCCPRLG CINDEX=755,BASER=12,FRAME=208,ENTRY=NO,ARCH=ZARCH,LNA*
MEADDR=@LNAME755
* ******* End of Prologue
* *
* ***
* *** char *n = strdup(s);
LG 15,0(0,1) ; s
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_755_31 ; strdup
@@gen_label34 DS 0H
BALR 14,15
@@gen_label35 DS 0H
LGR 2,15
* ***
* ***
* ***
* *** ((n) ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdkaf\
* ka\\src\\rd.h", 148, "n"));
LTGR 15,2
BNZ @L38
@L37 DS 0H
LG 15,@lit_755_32
LA 15,32(0,15)
STG 15,176(0,13)
LG 15,@lit_755_33
STG 15,184(0,13)
MVGHI 192(13),148
LA 15,32(0,15)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_755_34 ; __assert
@@gen_label37 DS 0H
BALR 14,15
@@gen_label38 DS 0H
@L38 DS 0H
* *** return n;
LGR 15,2
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_755 DC F'208'
@lit_755_31 DC AD(strdup)
@lit_755_34 DC AD(__assert)
@lit_755_33 DC AD(@strings@)
@lit_755_32 DC AD(@DATA)
DROP 12
*
* DSECT for automatic variables in "rd_strdup"
* (FUNCTION #755)
*
@AUTO#rd_strdup DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_refcnt_sub0
@LNAME758 DS 0H
DC X'0000000E'
DC C'rd_refcnt_sub0'
DC X'00'
rd_refcnt_sub0 DCCPRLG CINDEX=758,BASER=12,FRAME=208,ENTRY=NO,ARCH=ZARC*
H,LNAMEADDR=@LNAME758
* ******* End of Prologue
* *
* *** int r;
* *** # 332 "C:\asgkafka\librdkafka\src\rd.h"
* *** r = rd_atomic32_sub(R, 1);
LG 15,0(0,1) ; R
STG 15,176(0,13)
MVGHI 184(13),1
LA 1,176(0,13)
LG 15,@lit_758_36 ; rd_atomic32_sub
@@gen_label39 DS 0H
BALR 14,15
@@gen_label40 DS 0H
LTR 2,15
* ***
* *** if (r < 0)
BNL @L41
* *** ((!*"refcnt sub-zero") ? (void)0 : __assert(__\
* func__, "C:\\asgkafka\\librdkafka\\src\\rd.h", 335, "!*\"refcnt sub-\
* zero\""));
LG 15,@lit_758_37
LA 1,34(0,15)
CLI 0(1),0
BE @L41
@L42 DS 0H
LG 1,@lit_758_38
LA 1,54(0,1)
STG 1,176(0,13)
STG 15,184(0,13)
MVGHI 192(13),335
LA 15,50(0,15)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_758_39 ; __assert
@@gen_label43 DS 0H
BALR 14,15
@@gen_label44 DS 0H
@L43 DS 0H
@L41 DS 0H
* *** return r;
LGFR 15,2
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_758 DC F'208'
@lit_758_36 DC AD(rd_atomic32_sub)
@lit_758_37 DC AD(@strings@)
@lit_758_39 DC AD(__assert)
@lit_758_38 DC AD(@DATA)
DROP 12
*
* DSECT for automatic variables in "rd_refcnt_sub0"
* (FUNCTION #758)
*
@AUTO#rd_refcnt_sub0 DSECT
DS XL168
rd_refcnt_sub0#r#0 DS 1F ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_clock
@LNAME1088 DS 0H
DC X'00000008'
DC C'rd_clock'
DC X'00'
rd_clock DCCPRLG CINDEX=1088,BASER=12,FRAME=200,ENTRY=NO,ARCH=ZARCH,LNA*
MEADDR=@LNAME1088
* ******* End of Prologue
* *
* *** # 97 "C:\asgkafka\librdkafka\src\rdtime.h"
* *** struct timeval tv;
* *** gettimeofday(&tv, ((void *)0));
LA 15,168(0,13)
STG 15,184(0,13)
XC 192(8,13),192(13)
LA 1,184(0,13)
LG 15,@lit_1088_41 ; gettimeofday
@@gen_label45 DS 0H
BALR 14,15
@@gen_label46 DS 0H
* *** return ((rd_ts_t)tv.tv_sec * 1000000LLU) + (rd_ts_t)tv.tv_\
* usec;
LG 15,168(0,13)
MSGFI 15,X'000F4240'
LG 1,176(0,13) ; offset of tv_usec in timeval
ALGR 15,1
* *** # 118 "C:\asgkafka\librdkafka\src\rdtime.h"
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1088 DC F'200'
@lit_1088_41 DC AD(gettimeofday)
DROP 12
*
* DSECT for automatic variables in "rd_clock"
* (FUNCTION #1088)
*
@AUTO#rd_clock DSECT
DS XL168
rd_clock#tv#0 DS 16XL1 ; tv
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_ms
@LNAME1092 DS 0H
DC X'0000000D'
DC C'rd_timeout_ms'
DC X'00'
rd_timeout_ms DCCPRLG CINDEX=1092,BASER=12,FRAME=168,SAVEAREA=NO,ENTRY=*
NO,ARCH=ZARCH,LNAMEADDR=@LNAME1092
* ******* End of Prologue
* *
* *** if (timeout_us <= 0)
LG 15,0(0,1) ; timeout_us
LTGR 1,15
BH @L46
* *** return (int)timeout_us;
LGFR 15,15
B @ret_lab_1092
DS 0D
@lit_1092_43 DC F'1000' 0x000003e8
* *** else
@L46 DS 0H
* ***
* ***
* ***
* *** return (int)((timeout_us + 999) / 1000);
AGHI 15,999
LGR 3,15
DSGF 2,@lit_1092_43
LGFR 15,3
* *** }
@ret_lab_1092 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_timeout_ms"
* (FUNCTION #1092)
*
@AUTO#rd_timeout_ms DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_init
@LNAME1093 DS 0H
DC X'0000000F'
DC C'rd_timeout_init'
DC X'00'
rd_timeout_init DCCPRLG CINDEX=1093,BASER=12,FRAME=168,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME1093
* ******* End of Prologue
* *
* *** if (timeout_ms == -1 ||
L 2,4(0,1) ; timeout_ms
CHI 2,-1
BE @L49
* *** timeout_ms == 0)
LTR 2,2
BNE @L48
@L49 DS 0H
* *** return timeout_ms;
LGFR 15,2
B @ret_lab_1093
DS 0D
@FRAMESIZE_1093 DC F'168'
@lit_1093_44 DC AD(rd_clock)
@L48 DS 0H
* ***
* *** return rd_clock() + (timeout_ms * 1000);
LG 15,@lit_1093_44 ; rd_clock
@@gen_label50 DS 0H
BALR 14,15
@@gen_label51 DS 0H
MHI 2,1000
AGFR 15,2
* *** }
@ret_lab_1093 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_timeout_init"
* (FUNCTION #1093)
*
@AUTO#rd_timeout_init DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_remains_us
@LNAME1096 DS 0H
DC X'00000015'
DC C'rd_timeout_remains_us'
DC X'00'
rd_timeout_remains_us DCCPRLG CINDEX=1096,BASER=12,FRAME=176,ENTRY=NO,A*
RCH=ZARCH,LNAMEADDR=@LNAME1096
* ******* End of Prologue
* *
LG 2,0(0,1) ; abs_timeout
* *** rd_ts_t timeout_us;
* ***
* *** if (abs_timeout == -1 ||
CGHI 2,-1
BE @L59
* *** abs_timeout == 0)
LTGR 1,2
BNE @L58
@L59 DS 0H
* *** return (rd_ts_t)abs_timeout;
LGR 15,2
B @ret_lab_1096
DS 0D
@FRAMESIZE_1096 DC F'176'
@lit_1096_46 DC AD(rd_clock)
@L58 DS 0H
* ***
* *** timeout_us = abs_timeout - rd_clock();
LG 15,@lit_1096_46 ; rd_clock
@@gen_label54 DS 0H
BALR 14,15
@@gen_label55 DS 0H
SGR 2,15
* *** if (timeout_us <= 0)
LTGR 1,2
BH @L60
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1096
* *** else
@L60 DS 0H
* *** return timeout_us;
LGR 15,2
* *** }
@ret_lab_1096 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_timeout_remains_us"
* (FUNCTION #1096)
*
@AUTO#rd_timeout_remains_us DSECT
DS XL168
rd_timeout_remains_us#timeout_us#0 DS 8XL1 ; timeout_us
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_remains
@LNAME1097 DS 0H
DC X'00000012'
DC C'rd_timeout_remains'
DC X'00'
rd_timeout_remains DCCPRLG CINDEX=1097,BASER=12,FRAME=176,ENTRY=NO,ARCH*
=ZARCH,LNAMEADDR=@LNAME1097
* ******* End of Prologue
* *
* *** return rd_timeout_ms(rd_timeout_remains_us(abs_timeout\
* ));
LG 15,0(0,1) ; abs_timeout
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1097_49 ; rd_timeout_remains_us
@@gen_label57 DS 0H
BALR 14,15
@@gen_label58 DS 0H
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1097_50 ; rd_timeout_ms
@@gen_label59 DS 0H
BALR 14,15
@@gen_label60 DS 0H
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1097 DC F'176'
@lit_1097_49 DC AD(rd_timeout_remains_us)
@lit_1097_50 DC AD(rd_timeout_ms)
DROP 12
*
* DSECT for automatic variables in "rd_timeout_remains"
* (FUNCTION #1097)
*
@AUTO#rd_timeout_remains DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_remains_limit0
@LNAME1098 DS 0H
DC X'00000019'
DC C'rd_timeout_remains_limit0'
DC X'00'
rd_timeout_remains_limit0 DCCPRLG CINDEX=1098,BASER=12,FRAME=168,SAVEAR*
EA=NO,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1098
* ******* End of Prologue
* *
* *** if (remains_ms == -1 || remains_ms > limit_ms)
L 15,4(0,1) ; remains_ms
CHI 15,-1
BE @L63
C 15,12(0,1)
BNH @L62
@L63 DS 0H
* *** return limit_ms;
LGF 15,12(0,1) ; limit_ms
B @ret_lab_1098
* *** else
@L62 DS 0H
* *** return remains_ms;
LGFR 15,15
* *** }
@ret_lab_1098 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_timeout_remains_limit0"
* (FUNCTION #1098)
*
@AUTO#rd_timeout_remains_limit0 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_timeout_expired
@LNAME1100 DS 0H
DC X'00000012'
DC C'rd_timeout_expired'
DC X'00'
rd_timeout_expired DCCPRLG CINDEX=1100,BASER=0,FRAME=168,SAVEAREA=NO,EN*
TRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1100
* ******* End of Prologue
* *
* *** return timeout_ms == 0;
LHI 15,0 ; 0
X 15,4(0,1)
LPR 15,15
AHI 15,-1
SRL 15,31(0)
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
*
* DSECT for automatic variables in "rd_timeout_expired"
* (FUNCTION #1100)
*
@AUTO#rd_timeout_expired DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_slice_abs_offset
@LNAME1286 DS 0H
DC X'00000013'
DC C'rd_slice_abs_offset'
DC X'00'
rd_slice_abs_offset DCCPRLG CINDEX=1286,BASER=12,FRAME=168,SAVEAREA=NO,*
ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1286
* ******* End of Prologue
* *
* *** if (((!slice->seg)))
LG 15,0(0,1) ; slice
LTG 1,8(0,15) ; offset of seg in rd_slice_s
BNZ @L102
* *** return slice->end;
LG 15,32(0,15) ; offset of end in rd_slice_s
B @ret_lab_1286
@L102 DS 0H
* ***
* *** return slice->seg->seg_absof + slice->rof;
LG 1,8(0,15) ; offset of seg in rd_slice_s
LG 1,40(0,1) ; offset of seg_absof in rd_segment_s
ALG 1,16(0,15)
LGR 15,1
* *** }
@ret_lab_1286 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_slice_abs_offset"
* (FUNCTION #1286)
*
@AUTO#rd_slice_abs_offset DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_slice_offset
@LNAME1287 DS 0H
DC X'0000000F'
DC C'rd_slice_offset'
DC X'00'
rd_slice_offset DCCPRLG CINDEX=1287,BASER=12,FRAME=168,SAVEAREA=NO,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1287
* ******* End of Prologue
* *
* *** if (((!slice->seg)))
LG 15,0(0,1) ; slice
LTG 1,8(0,15) ; offset of seg in rd_slice_s
BNZ @L103
* *** return ((slice)->end - (slice)->start);
LG 1,32(0,15) ; offset of end in rd_slice_s
SLG 1,24(0,15)
LGR 15,1
B @ret_lab_1287
@L103 DS 0H
* ***
* *** return (slice->seg->seg_absof + slice->rof) - slice->s\
* tart;
LG 1,8(0,15) ; offset of seg in rd_slice_s
LG 1,40(0,1) ; offset of seg_absof in rd_segment_s
ALG 1,16(0,15)
SLG 1,24(0,15)
LGR 15,1
* *** }
@ret_lab_1287 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_slice_offset"
* (FUNCTION #1287)
*
@AUTO#rd_slice_offset DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_uvarint_enc_u64
@LNAME1308 DS 0H
DC X'00000012'
DC C'rd_uvarint_enc_u64'
DC X'00'
rd_uvarint_enc_u64 DCCPRLG CINDEX=1308,BASER=12,FRAME=176,SAVEAREA=NO,E*
NTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1308
LGR 2,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** size_t of = 0;
LG 15,16(0,2) ; num
LGHI 1,0 ; 0
* ***
* *** do {
@L105 DS 0H
* *** if (((of >= dstsize)))
CLG 1,8(0,2)
BL @L108
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1308
DS 0D
@lit_1308_55 DC FD'127' 0x000000000000007f
@L108 DS 0H
* ***
* *** dst[of++] = (num & 0x7f) | (num > 0x7f ? 0x80 \
* : 0);
LG 3,0(0,2) ; dst
LGR 4,1
AGHI 1,1
LGR 5,15
NG 5,@lit_1308_55
CLGFI 15,X'0000007F'
BNH @L109
LHI 6,128 ; 128
B @L110
@L109 DS 0H
LHI 6,0 ; 0
@L110 DS 0H
LGFR 6,6
OGR 5,6
STC 5,0(4,3)
* *** num >>= 7;
SRLG 15,15,7(0)
* *** } while (num);
LTGR 3,15
BNZ @L105
* ***
* *** return of;
LGR 15,1
* *** }
@ret_lab_1308 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_uvarint_enc_u64"
* (FUNCTION #1308)
*
@AUTO#rd_uvarint_enc_u64 DSECT
DS XL168
rd_uvarint_enc_u64#of#0 DS 8XL1 ; of
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_ApiKey2str
@LNAME1314 DS 0H
DC X'00000013'
DC C'rd_kafka_ApiKey2str'
DC X'00'
rd_kafka_$Api$Key2str DCCPRLG CINDEX=1314,BASER=12,FRAME=200,ENTRY=NO,A*
RCH=ZARCH,LNAMEADDR=@LNAME1314
DCCPRV REG=15 ; Get PRV from DVT
* ******* End of Prologue
* *
* *** static const char *names[] = {
* *** [0] = "Produce",
* *** [1] = "Fetch",
* *** [2] = "Offset",
* *** [3] = "Metadata",
* *** [4] = "LeaderAndIsr",
* *** [5] = "StopReplica",
* *** [6] = "UpdateMetadata",
* *** [7] = "ControlledShutdown",
* *** [8] = "OffsetCommit",
* *** [9] = "OffsetFetch",
* *** [10] = "FindCoordinator",
* *** [11] = "JoinGroup",
* *** [12] = "Heartbeat",
* *** [13] = "LeaveGroup",
* *** [14] = "SyncGroup",
* *** [15] = "DescribeGroups",
* *** [16] = "ListGroups",
* *** [17] = "SaslHandshake",
* *** [18] = "ApiVersion",
* *** [19] = "CreateTopics",
* *** [20] = "DeleteTopics",
* *** [21] = "DeleteRecords",
* *** [22] = "InitProducerId",
* *** [23] = "OffsetForLeaderEpoch",
* *** [24] = "AddPartitionsToTxn",
* *** [25] = "AddOffsetsToTxn",
* *** [26] = "EndTxn",
* *** [27] = "WriteTxnMarkers",
* *** [28] = "TxnOffsetCommit",
* *** [29] = "DescribeAcls",
* *** [30] = "CreateAcls",
* *** [31] = "DeleteAcls",
* *** [32] = "DescribeConfigs",
* *** [33] = "AlterConfigs",
* *** [34] = "AlterReplicaLogDirs",
* *** [35] = "DescribeLogDirs",
* *** [36] = "SaslAuthenticate",
* *** [37] = "CreatePartitions",
* *** [38] = "CreateDelegationToken",
* *** [39] = "RenewDelegationToken",
* *** [40] = "ExpireDelegationToken",
* *** [41] = "DescribeDelegationToken",
* *** [42] = "DeleteGroups",
* *** [43] = "ElectLeadersRequest",
* *** [44] =
* *** "IncrementalAlterConfigsRequest",
* *** [45] =
* *** "AlterPartitionReassignmentsRequest",
* *** [46] =
* *** "ListPartitionReassignmentsRequest",
* *** [47] = "OffsetDeleteRequest",
* *** [48] =
* *** "DescribeClientQuotasRequest",
* *** [49] =
* *** "AlterClientQuotasRequest",
* *** [50] =
* *** "DescribeUserScramCredentialsRequest",
* *** [51] =
* *** "AlterUserScramCredentialsRequest",
* *** [52] = "VoteRequest",
* *** [53] = "BeginQuorumEpochRequest",
* *** [54] = "EndQuorumEpochRequest",
* *** [55] = "DescribeQuorumRequest",
* *** [56] = "AlterIsrRequest",
* *** [57] = "UpdateFeaturesRequest",
* *** [58] = "EnvelopeRequest",
* *** };
* *** static char ret[64];
* ***
* *** if (ApiKey < 0 || ApiKey >= (int)(sizeof((names)) / si\
* zeof(*(names))) ||
LH 2,6(0,1) ; ApiKey
LTR 2,2
BL @L119
LH 2,6(0,1) ; ApiKey
CHI 2,59
BNL @L119
@L117 DS 0H
* *** !names[ApiKey]) {
LGH 2,6(0,1) ; ApiKey
LGF 3,@lit_1314_58
LA 3,0(3,15)
SLLG 2,2,3(0) ; *0x8
LTG 2,544(2,3)
BNZ @L118
@L119 DS 0H
* *** snprintf(ret, sizeof(ret), "Unknown-%hd?", Api\
* Key);
LGF 2,@lit_1314_58
LA 2,0(2,15)
LA 15,1016(0,2)
STG 15,168(0,13)
MVGHI 176(13),64
LG 15,@lit_1314_60
LA 15,70(0,15)
STG 15,184(0,13)
LH 15,6(0,1) ; ApiKey
LGFR 15,15
STG 15,192(0,13)
LA 1,168(0,13)
LG 15,@lit_1314_61 ; snprintf
@@gen_label71 DS 0H
BALR 14,15
@@gen_label72 DS 0H
* *** return ret;
LA 15,1016(0,2)
B @ret_lab_1314
DS 0D
@FRAMESIZE_1314 DC F'200'
@lit_1314_58 DC Q(@@STATIC)
@lit_1314_61 DC AD(snprintf)
@lit_1314_60 DC AD(@strings@)
* *** }
@L118 DS 0H
* ***
* *** return names[ApiKey];
LGH 15,6(0,1) ; ApiKey
SLLG 15,15,3(0) ; *0x8
LG 15,544(15,3)
* *** }
@ret_lab_1314 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_ApiKey2str"
* (FUNCTION #1314)
*
@AUTO#rd_kafka_$Api$Key2str DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_pid_reset
@LNAME1331 DS 0H
DC X'00000012'
DC C'rd_kafka_pid_reset'
DC X'00'
rd_kafka_pid_reset DCCPRLG CINDEX=1331,BASER=0,FRAME=168,SAVEAREA=NO,EN*
TRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1331
* ******* End of Prologue
* *
* *** pid->id = -1;
LG 15,0(0,1) ; pid
MVGHI 0(15),-1 ; pid
* *** pid->epoch = -1;
MVHHI 8(15),-1 ; offset of epoch in rd_kafka_pid_s
* *** }
@ret_lab_1331 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
*
* DSECT for automatic variables in "rd_kafka_pid_reset"
* (FUNCTION #1331)
*
@AUTO#rd_kafka_pid_reset DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_strlcpy
@LNAME1384 DS 0H
DC X'0000000A'
DC C'rd_strlcpy'
DC X'00'
rd_strlcpy DCCPRLG CINDEX=1384,BASER=12,FRAME=176,SAVEAREA=NO,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1384
* ******* End of Prologue
* *
LG 15,16(0,1) ; dstsize
* ***
* ***
* ***
* *** if (((dstsize > 0))) {
CLGFI 15,X'00000000'
BNH @ret_lab_1384
* *** size_t srclen = __strlen(src);
LG 2,8(0,1)
LGR 3,2
LGHI 0,0
@@gen_label74 DS 0H
SRST 0,2
BC 1,@@gen_label74
SLGR 0,3
* *** size_t copylen = ((srclen) < (dstsize-1) ? (sr\
* clen) : (dstsize-1));
LGR 2,15
AGHI 2,-1
CLGR 0,2
BNL @L252
LGR 15,0
B @L253
DS 0D
@lit_1384_63 MVC 0(1,4),0(3)
@L252 DS 0H
AGHI 15,-1
@L253 DS 0H
* *** __memcpy(dst,src,copylen);
LG 3,8(0,1)
LG 4,0(0,1)
LTGR 2,15
BZ @@gen_label78
AGHI 2,-1
SRAG 5,2,8(0)
LTGR 5,5
BZ @@gen_label77
@@gen_label76 DS 0H
MVC 0(256,4),0(3)
LA 4,256(0,4)
LA 3,256(0,3)
BCTG 5,@@gen_label76
@@gen_label77 DS 0H
EX 2,@lit_1384_63
@@gen_label78 DS 0H
* *** dst[copylen] = '\0';
LG 1,0(0,1) ; dst
LA 15,0(15,1)
MVI 0(15),0
* *** }
@L251 DS 0H
* ***
* *** }
@ret_lab_1384 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_strlcpy"
* (FUNCTION #1384)
*
@AUTO#rd_strlcpy DSECT
DS XL168
rd_strlcpy#copylen#1 DS 8XL1 ; copylen
ORG @AUTO#rd_strlcpy+168
rd_strlcpy#srclen#1 DS 8XL1 ; srclen
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_ready
@LNAME1424 DS 0H
DC X'00000010'
DC C'rd_kafka_q_ready'
DC X'00'
rd_kafka_q_ready DCCPRLG CINDEX=1424,BASER=0,FRAME=168,SAVEAREA=NO,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1424
* ******* End of Prologue
* *
* *** return rkq->rkq_flags & 0x2;
LG 15,0(0,1) ; rkq
L 15,132(0,15) ; offset of rkq_flags in rd_kafka_q_s
NILF 15,X'00000002'
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
*
* DSECT for automatic variables in "rd_kafka_q_ready"
* (FUNCTION #1424)
*
@AUTO#rd_kafka_q_ready DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_keep
@LNAME1428 DS 0H
DC X'0000000F'
DC C'rd_kafka_q_keep'
DC X'00'
rd_kafka_q_keep DCCPRLG CINDEX=1428,BASER=12,FRAME=176,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME1428
* ******* End of Prologue
* *
* *** mtx_lock(&rkq->rkq_lock);
LG 2,0(0,1) ; rkq
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1428_64 ; mtx_lock
@@gen_label79 DS 0H
BALR 14,15
@@gen_label80 DS 0H
* *** rkq->rkq_refcnt++;
L 15,128(0,2)
AHI 15,1
ST 15,128(0,2)
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1428_65 ; mtx_unlock
@@gen_label81 DS 0H
BALR 14,15
@@gen_label82 DS 0H
* *** return rkq;
LGR 15,2
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1428 DC F'176'
@lit_1428_64 DC AD(mtx_lock)
@lit_1428_65 DC AD(mtx_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_keep"
* (FUNCTION #1428)
*
@AUTO#rd_kafka_q_keep DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_disable0
@LNAME1432 DS 0H
DC X'00000013'
DC C'rd_kafka_q_disable0'
DC X'00'
rd_kafka_q_disable0 DCCPRLG CINDEX=1432,BASER=12,FRAME=176,ENTRY=NO,ARC*
H=ZARCH,LNAMEADDR=@LNAME1432
* ******* End of Prologue
* *
* *** if (do_lock)
LG 2,0(0,1) ; rkq
LT 3,12(0,1) ; do_lock
BZ @L256
* *** mtx_lock(&rkq->rkq_lock);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1432_67 ; mtx_lock
@@gen_label84 DS 0H
BALR 14,15
@@gen_label85 DS 0H
@L256 DS 0H
* *** rkq->rkq_flags &= ~0x2;
L 15,132(0,2)
NILL 15,65533
ST 15,132(0,2)
* *** if (do_lock)
LTR 3,3
BZ @ret_lab_1432
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1432_68 ; mtx_unlock
@@gen_label87 DS 0H
BALR 14,15
@@gen_label88 DS 0H
@L257 DS 0H
* *** }
@ret_lab_1432 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1432 DC F'176'
@lit_1432_67 DC AD(mtx_lock)
@lit_1432_68 DC AD(mtx_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_disable0"
* (FUNCTION #1432)
*
@AUTO#rd_kafka_q_disable0 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_destroy0
@LNAME1435 DS 0H
DC X'00000013'
DC C'rd_kafka_q_destroy0'
DC X'00'
rd_kafka_q_destroy0 DCCPRLG CINDEX=1435,BASER=12,FRAME=216,ENTRY=NO,ARC*
H=ZARCH,LNAMEADDR=@LNAME1435
* ******* End of Prologue
* *
* *** int do_delete = 0;
LG 2,0(0,1) ; rkq
* ***
* *** if (disable) {
LT 15,12(0,1) ; disable
BZ @L258
* ***
* ***
* ***
* ***
* *** rd_kafka_q_disable0(rkq, 1);
STG 2,176(0,13)
MVGHI 184(13),1
LA 1,176(0,13)
LG 15,@lit_1435_71 ; rd_kafka_q_disable0
@@gen_label90 DS 0H
BALR 14,15
@@gen_label91 DS 0H
* *** rd_kafka_q_purge0(rkq, 1);
STG 2,176(0,13)
MVGHI 184(13),1
LA 1,176(0,13)
LG 15,@lit_1435_72 ; rd_kafka_q_purge0
@@gen_label92 DS 0H
BALR 14,15
@@gen_label93 DS 0H
* *** }
@L258 DS 0H
* ***
* *** mtx_lock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1435_73 ; mtx_lock
@@gen_label94 DS 0H
BALR 14,15
@@gen_label95 DS 0H
* *** do { if (((!(rkq->rkq_refcnt > 0)))) rd_kafka_crash("C\
* :\\asgkafka\\librdkafka\\src\\rdkafka_queue.h",211, __FUNCTION__, ((\
* (void *)0)), "assert: " "rkq->rkq_refcnt > 0"); } while (0);
@L259 DS 0H
CHSI 128(2),0
BH @L262
LG 15,@lit_1435_74
LA 1,84(0,15)
STG 1,176(0,13)
MVGHI 184(13),211
LG 1,@lit_1435_75
LA 1,114(0,1)
STG 1,192(0,13)
XC 200(8,13),200(13)
LA 15,128(0,15)
STG 15,208(0,13)
LA 1,176(0,13)
LG 15,@lit_1435_76 ; rd_kafka_crash
@@gen_label97 DS 0H
BALR 14,15
@@gen_label98 DS 0H
@L262 DS 0H
* *** do_delete = !--rkq->rkq_refcnt;
L 15,128(0,2)
AHI 15,-1
ST 15,128(0,2)
LPR 3,15
AHI 3,-1
SRL 3,31(0)
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1435_77 ; mtx_unlock
@@gen_label99 DS 0H
BALR 14,15
@@gen_label100 DS 0H
* ***
* *** if (((do_delete)))
LTR 3,3
BZ @L263
* *** rd_kafka_q_destroy_final(rkq);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1435_78 ; rd_kafka_q_destroy_final
@@gen_label102 DS 0H
BALR 14,15
@@gen_label103 DS 0H
@L263 DS 0H
* *** }
@ret_lab_1435 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1435 DC F'216'
@lit_1435_71 DC AD(rd_kafka_q_disable0)
@lit_1435_72 DC AD(rd_kafka_q_purge0)
@lit_1435_73 DC AD(mtx_lock)
@lit_1435_76 DC AD(rd_kafka_crash)
@lit_1435_75 DC AD(@DATA)
@lit_1435_74 DC AD(@strings@)
@lit_1435_77 DC AD(mtx_unlock)
@lit_1435_78 DC AD(rd_kafka_q_destroy_final)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_destroy0"
* (FUNCTION #1435)
*
@AUTO#rd_kafka_q_destroy0 DSECT
DS XL168
rd_kafka_q_destroy0#do_delete#0 DS 1F ; do_delete
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_destroy_owner
@LNAME1436 DS 0H
DC X'00000018'
DC C'rd_kafka_q_destroy_owner'
DC X'00'
rd_kafka_q_destroy_owner DCCPRLG CINDEX=1436,BASER=12,FRAME=184,ENTRY=N*
O,ARCH=ZARCH,LNAMEADDR=@LNAME1436
* ******* End of Prologue
* *
* *** rd_kafka_q_destroy0(rkq, 1);
LG 15,0(0,1) ; rkq
STG 15,168(0,13)
MVGHI 176(13),1
LA 1,168(0,13)
LG 15,@lit_1436_80 ; rd_kafka_q_destroy0
@@gen_label104 DS 0H
BALR 14,15
@@gen_label105 DS 0H
* *** }
@ret_lab_1436 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1436 DC F'184'
@lit_1436_80 DC AD(rd_kafka_q_destroy0)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_destroy_owner"
* (FUNCTION #1436)
*
@AUTO#rd_kafka_q_destroy_owner DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_fwd_get
@LNAME1439 DS 0H
DC X'00000012'
DC C'rd_kafka_q_fwd_get'
DC X'00'
rd_kafka_q_fwd_get DCCPRLG CINDEX=1439,BASER=12,FRAME=184,ENTRY=NO,ARCH*
=ZARCH,LNAMEADDR=@LNAME1439
* ******* End of Prologue
* *
LG 2,0(0,1) ; rkq
* *** rd_kafka_q_t *fwdq;
* *** if (do_lock)
LT 4,12(0,1) ; do_lock
BZ @L270
* *** mtx_lock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1439_82 ; mtx_lock
@@gen_label107 DS 0H
BALR 14,15
@@gen_label108 DS 0H
@L270 DS 0H
* ***
* *** if ((fwdq = rkq->rkq_fwdq))
LG 3,88(0,2) ; offset of rkq_fwdq in rd_kafka_q_s
LTGR 15,3
BZ @L271
* *** rd_kafka_q_keep(fwdq);
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1439_83 ; rd_kafka_q_keep
@@gen_label110 DS 0H
BALR 14,15
@@gen_label111 DS 0H
@L271 DS 0H
* ***
* *** if (do_lock)
LTR 4,4
BZ @L272
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1439_84 ; mtx_unlock
@@gen_label113 DS 0H
BALR 14,15
@@gen_label114 DS 0H
@L272 DS 0H
* ***
* *** return fwdq;
LGR 15,3
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1439 DC F'184'
@lit_1439_82 DC AD(mtx_lock)
@lit_1439_83 DC AD(rd_kafka_q_keep)
@lit_1439_84 DC AD(mtx_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_fwd_get"
* (FUNCTION #1439)
*
@AUTO#rd_kafka_q_fwd_get DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_io_event
@LNAME1441 DS 0H
DC X'00000013'
DC C'rd_kafka_q_io_event'
DC X'00'
rd_kafka_q_io_event DCCPRLG CINDEX=1441,BASER=12,FRAME=192,ENTRY=NO,ARC*
H=ZARCH,LNAMEADDR=@LNAME1441
* ******* End of Prologue
* *
LG 15,0(0,1) ; rkq
* ***
* *** if (((!rkq->rkq_qio)))
LTG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
BZ @ret_lab_1441
* *** return;
@L275 DS 0H
* ***
* *** if (rkq->rkq_qio->event_cb) {
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LTG 1,32(0,1) ; offset of event_cb in rd_kafka_q_io
BZ @L276
* *** rkq->rkq_qio->event_cb(rkq->rkq_rk,
* *** rkq->rkq_qio->event_cb_\
* opaque);
LG 1,136(0,15)
STG 1,168(0,13)
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LG 1,40(0,1)
STG 1,176(0,13)
LG 15,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LG 15,32(0,15) ; offset of event_cb in rd_kafka_q_io
LA 1,168(0,13)
@@gen_label117 DS 0H
BALR 14,15
@@gen_label118 DS 0H
* *** return;
B @ret_lab_1441
DS 0D
@FRAMESIZE_1441 DC F'192'
@lit_1441_86 DC AD(write)
* *** }
@L276 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* *** if (rkq->rkq_qio->sent)
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
CLI 24(1),0
BNE @ret_lab_1441
* *** return;
@L277 DS 0H
* ***
* *** rkq->rkq_qio->sent = 1;
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
MVI 24(1),1 ; offset of sent in rd_kafka_q_io
* ***
* ***
* ***
* *** if (write(rkq->rkq_qio->fd,rkq->rkq_qio->payload,(int)\
* rkq->rkq_qio->size) == -1)
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LGF 1,0(0,1)
STG 1,168(0,13)
LG 1,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LG 1,8(0,1)
STG 1,176(0,13)
LG 15,144(0,15) ; offset of rkq_qio in rd_kafka_q_s
LGF 15,20(0,15)
STG 15,184(0,13)
LA 1,168(0,13)
LG 15,@lit_1441_86 ; write
@@gen_label120 DS 0H
BALR 14,15
@@gen_label121 DS 0H
* ***
* *** ;
@L278 DS 0H
* *** }
@ret_lab_1441 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_io_event"
* (FUNCTION #1441)
*
@AUTO#rd_kafka_q_io_event DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_op_cmp_prio
@LNAME1442 DS 0H
DC X'00000014'
DC C'rd_kafka_op_cmp_prio'
DC X'00'
rd_kafka_op_cmp_prio DCCPRLG CINDEX=1442,BASER=12,FRAME=176,SAVEAREA=NO*
,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1442
* ******* End of Prologue
* *
* *** const rd_kafka_op_t *a = _a, *b = _b;
LG 15,0(0,1) ; _a
LG 1,8(0,1) ; _b
* ***
* *** return (int)((b->rko_prio) < (a->rko_prio) ? -1 : ((b-\
* >rko_prio) > (a->rko_prio)));
L 2,52(0,1) ; offset of rko_prio in rd_kafka_op_s
C 2,52(0,15)
BNL @L279
LHI 15,-1 ; -1
B @L280
@L279 DS 0H
L 1,52(0,1) ; offset of rko_prio in rd_kafka_op_s
C 1,52(0,15)
BNH @@gen_label123
LHI 15,1
B @@gen_label124
@@gen_label123 DS 0H
LHI 15,0
@@gen_label124 DS 0H
@L280 DS 0H
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_op_cmp_prio"
* (FUNCTION #1442)
*
@AUTO#rd_kafka_op_cmp_prio DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_enq0
@LNAME1444 DS 0H
DC X'0000000F'
DC C'rd_kafka_q_enq0'
DC X'00'
rd_kafka_q_enq0 DCCPRLG CINDEX=1444,BASER=12,FRAME=192,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME1444
* ******* End of Prologue
* *
* *** if (((!rko->rko_prio)))
LMG 3,4,0(1) ; rkq
LT 15,52(0,4) ; offset of rko_prio in rd_kafka_op_s
BNZ @L288
* *** do { (rko)->rko_link .tqe_next = (((void *)0)); (rko)\
* ->rko_link .tqe_prev = (&rkq->rkq_q)->tqh_last; *(&rkq->rkq_q)->tqh_\
* last = (rko); (&rkq->rkq_q)->tqh_last = &(rko)->rko_link .tqe_next; \
* } while ( 0);
@L289 DS 0H
LGHI 15,0 ; 0
STG 15,0(0,4) ; rko
LG 15,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
STG 15,8(0,4) ; offset of tqe_prev in 0000055
LG 15,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
STG 4,0(0,15)
STG 4,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
* *** else if (at_head)
B @L292
DS 0D
@FRAMESIZE_1444 DC F'192'
@lit_1444_90 DC AD(rd_kafka_op_cmp_prio)
@L288 DS 0H
LT 15,20(0,1) ; at_head
BZ @L300
* *** do { if (((rko)->rko_link .tqe_next = (&rkq->rkq_\
* q)->tqh_first) != (((void *)0))) (&rkq->rkq_q)->tqh_first->rko_link \
* .tqe_prev = &(rko)->rko_link .tqe_next; else (&rkq->rkq_q)->tqh_last\
* = &(rko)->rko_link .tqe_next; (&rkq->rkq_q)->tqh_first = (rko); (rk\
* o)->rko_link .tqe_prev = &(&rkq->rkq_q)->tqh_first; } while ( 0);
@L294 DS 0H
LG 15,96(0,3) ; offset of rkq_q in rd_kafka_q_s
STG 15,0(0,4)
LTGR 15,15
BE @L297
LG 15,96(0,3) ; offset of rkq_q in rd_kafka_q_s
STG 4,8(0,15) ; offset of tqe_prev in 0000055
B @L298
@L297 DS 0H
STG 4,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
@L298 DS 0H
STG 4,96(0,3) ; offset of rkq_q in rd_kafka_q_s
LA 15,96(0,3)
STG 15,8(0,4) ; offset of tqe_prev in 0000055
* *** else
B @L292
* *** do { if(((&rkq->rkq_q)->tqh_first) == ((void *)0)) { d\
* o { if (((rko)->rko_link .tqe_next = (&rkq->rkq_q)->tqh_first) != (\
* ((void *)0))) (&rkq->rkq_q)->tqh_first->rko_link .tqe_prev = &(rko)-\
* >rko_link .tqe_next; else (&rkq->rkq_q)->tqh_last = &(rko)->rko_link\
* .tqe_next; (&rkq->rkq_q)->tqh_first = (rko); (rko)->rko_link .tqe_p\
* rev = &(&rkq->rkq_q)->tqh_first; } while ( 0); } else { rd_kafka_op_\
* t * _tmp; for ((_tmp) = ((&rkq->rkq_q)->tqh_first); (_tmp) != (((voi\
* d *)0)); (_tmp) = ((_tmp)->rko_link .tqe_next)) { if(rd_kafka_op_cmp\
* _prio(rko,_tmp) < 0) { do { (rko)->rko_link .tqe_prev = (_tmp)->rko\
* _link .tqe_prev; (rko)->rko_link .tqe_next = (_tmp); *(_tmp)->rko_li\
* nk .tqe_prev = (rko); (_tmp)->rko_link .tqe_prev = &(rko)->rko_link \
* .tqe_next; } while ( 0); break; } if(!((_tmp)->rko_link .tqe_next)) \
* { do { if (((rko)->rko_link .tqe_next = (_tmp)->rko_link .tqe_next)\
* != (((void *)0))) (rko)->rko_link .tqe_next->rko_link .tqe_prev = &\
* (rko)->rko_link .tqe_next; else (&rkq->rkq_q)->tqh_last = &(rko)->rk\
* o_link .tqe_next; (_tmp)->rko_link .tqe_next = (rko); (rko)->rko_lin\
* k .tqe_prev = &(_tmp)->rko_link .tqe_next; } while ( 0); break; } } \
* } } while(0);
@L300 DS 0H
LTG 15,96(0,3) ; offset of rkq_q in rd_kafka_q_s
BNE @L303
@L304 DS 0H
LG 15,96(0,3) ; offset of rkq_q in rd_kafka_q_s
STG 15,0(0,4)
LTGR 15,15
BE @L307
LG 15,96(0,3) ; offset of rkq_q in rd_kafka_q_s
STG 4,8(0,15) ; offset of tqe_prev in 0000055
B @L308
@L307 DS 0H
STG 4,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
@L308 DS 0H
STG 4,96(0,3) ; offset of rkq_q in rd_kafka_q_s
LA 15,96(0,3)
STG 15,8(0,4) ; offset of tqe_prev in 0000055
B @L309
@L303 DS 0H
LG 2,96(0,3) ; offset of rkq_q in rd_kafka_q_s
B @L311
@L310 DS 0H
STG 4,176(0,13)
STG 2,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1444_90 ; rd_kafka_op_cmp_prio
@@gen_label130 DS 0H
BALR 14,15
@@gen_label131 DS 0H
LTR 15,15
BNL @L314
@L315 DS 0H
LG 15,8(0,2) ; offset of tqe_prev in 0000055
STG 15,8(0,4) ; offset of tqe_prev in 0000055
STG 2,0(0,4) ; rko
LG 15,8(0,2) ; offset of tqe_prev in 0000055
STG 4,0(0,15)
STG 4,8(0,2) ; offset of tqe_prev in 0000055
B @L312
@L314 DS 0H
LTG 15,0(0,2) ; _tmp
BNZ @L318
@L319 DS 0H
LG 15,0(0,2) ; _tmp
STG 15,0(0,4)
LTGR 15,15
BE @L322
LG 15,0(0,4) ; rko
STG 4,8(0,15) ; offset of tqe_prev in 0000055
B @L323
@L322 DS 0H
STG 4,104(0,3) ; offset of tqh_last in rd_kafka_op_tailq
@L323 DS 0H
STG 4,0(0,2) ; _tmp
STG 2,8(0,4) ; offset of tqe_prev in 0000055
B @L312
@L318 DS 0H
LG 2,0(0,2) ; _tmp
@L311 DS 0H
LTGR 15,2
BNE @L310
@L312 DS 0H
@L309 DS 0H
* ***
* *** rkq->rkq_qlen++;
@L299 DS 0H
@L292 DS 0H
L 15,112(0,3)
AHI 15,1
ST 15,112(0,3)
* *** rkq->rkq_qsize += rko->rko_len;
LG 15,120(0,3)
AGF 15,48(0,4)
STG 15,120(0,3)
* *** }
@ret_lab_1444 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_enq0"
* (FUNCTION #1444)
*
@AUTO#rd_kafka_q_enq0 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_enq1
@LNAME1445 DS 0H
DC X'0000000F'
DC C'rd_kafka_q_enq1'
DC X'00'
rd_kafka_q_enq1 DCCPRLG CINDEX=1445,BASER=12,FRAME=216,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME1445
LGR 7,1 ; ptr to parm area
* ******* End of Prologue
* *
LMG 2,4,0(7) ; rkq
LT 5,36(0,7) ; do_lock
* *** rd_kafka_q_t *fwdq;
* ***
* *** if (do_lock)
BZ @L325
* *** mtx_lock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_92 ; mtx_lock
@@gen_label137 DS 0H
BALR 14,15
@@gen_label138 DS 0H
@L324 DS 0H
* ***
* *** do {} while (0);
@L325 DS 0H
* ***
* *** if (((!(rkq->rkq_flags & 0x2)))) {
TM 135(2),2
BNZ @L328
* ***
* *** if (do_lock)
LTR 5,5
BZ @L329
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_93 ; mtx_unlock
@@gen_label141 DS 0H
BALR 14,15
@@gen_label142 DS 0H
@L329 DS 0H
* ***
* *** return rd_kafka_op_reply(rko, RD_KAFKA_RESP_ER\
* R__DESTROY);
STG 3,176(0,13)
MVGHI 184(13),-197
LA 1,176(0,13)
LG 15,@lit_1445_94 ; rd_kafka_op_reply
@@gen_label143 DS 0H
BALR 14,15
@@gen_label144 DS 0H
LGFR 15,15
B @ret_lab_1445
DS 0D
@FRAMESIZE_1445 DC F'216'
@lit_1445_92 DC AD(mtx_lock)
@lit_1445_93 DC AD(mtx_unlock)
@lit_1445_94 DC AD(rd_kafka_op_reply)
@lit_1445_95 DC AD(rd_kafka_q_fwd_get)
@lit_1445_96 DC AD(rd_kafka_q_enq0)
@lit_1445_97 DC AD(cnd_signal)
@lit_1445_98 DC AD(rd_kafka_q_io_event)
@lit_1445_101 DC AD(rd_kafka_q_enq1)
@lit_1445_102 DC AD(rd_kafka_q_destroy0)
* *** }
@L328 DS 0H
* ***
* *** if (!(fwdq = rd_kafka_q_fwd_get(rkq, 0))) {
STG 2,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1445_95 ; rd_kafka_q_fwd_get
@@gen_label145 DS 0H
BALR 14,15
@@gen_label146 DS 0H
LGR 6,15
LTGR 15,6
BNZ @L330
* *** if (!rko->rko_serve && orig_destq->rkq_serve) \
* {
LTG 15,80(0,3) ; offset of rko_serve in rd_kafka_op_s
BNZ @L331
LTG 15,152(0,4) ; offset of rkq_serve in rd_kafka_q_s
BZ @L331
* ***
* ***
* *** rko->rko_serve = orig_destq->rkq_serve\
* ;
LG 15,152(0,4) ; offset of rkq_serve in rd_kafka_q_s
STG 15,80(0,3) ; offset of rko_serve in rd_kafka_op_s
* *** rko->rko_serve_opaque = orig_destq->rk\
* q_opaque;
LG 15,160(0,4) ; offset of rkq_opaque in rd_kafka_q_s
STG 15,88(0,3) ; offset of rko_serve_opaque in rd_kafka_op_*
s
* *** }
@L331 DS 0H
* ***
* *** rd_kafka_q_enq0(rkq, rko, at_head);
STMG 2,3,176(13)
LGF 15,28(0,7) ; at_head
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_96 ; rd_kafka_q_enq0
@@gen_label150 DS 0H
BALR 14,15
@@gen_label151 DS 0H
* *** cnd_signal(&rkq->rkq_cond);
LA 15,40(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_97 ; cnd_signal
@@gen_label152 DS 0H
BALR 14,15
@@gen_label153 DS 0H
* *** if (rkq->rkq_qlen == 1)
CHSI 112(2),1
BNE @L332
* *** rd_kafka_q_io_event(rkq);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_98 ; rd_kafka_q_io_event
@@gen_label155 DS 0H
BALR 14,15
@@gen_label156 DS 0H
@L332 DS 0H
* ***
* *** if (do_lock)
LTR 5,5
BZ @L334
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_93 ; mtx_unlock
@@gen_label158 DS 0H
BALR 14,15
@@gen_label159 DS 0H
@L333 DS 0H
* *** } else {
B @L334
@L330 DS 0H
* *** if (do_lock)
LTR 5,5
BZ @L335
* *** mtx_unlock(&rkq->rkq_lock);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1445_93 ; mtx_unlock
@@gen_label161 DS 0H
BALR 14,15
@@gen_label162 DS 0H
@L335 DS 0H
* *** rd_kafka_q_enq1(fwdq, rko, orig_destq, at_head\
* , 1);
STG 6,176(0,13)
STMG 3,4,184(13)
LGF 15,28(0,7) ; at_head
STG 15,200(0,13)
MVGHI 208(13),1
LA 1,176(0,13)
LG 15,@lit_1445_101 ; rd_kafka_q_enq1
@@gen_label163 DS 0H
BALR 14,15
@@gen_label164 DS 0H
* *** rd_kafka_q_destroy0(fwdq, 0 );
STG 6,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1445_102 ; rd_kafka_q_destroy0
@@gen_label165 DS 0H
BALR 14,15
@@gen_label166 DS 0H
* *** }
@L334 DS 0H
* ***
* *** return 1;
LGHI 15,1 ; 1
* *** }
@ret_lab_1445 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_enq1"
* (FUNCTION #1445)
*
@AUTO#rd_kafka_q_enq1 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_q_enq
@LNAME1446 DS 0H
DC X'0000000E'
DC C'rd_kafka_q_enq'
DC X'00'
rd_kafka_q_enq DCCPRLG CINDEX=1446,BASER=12,FRAME=208,ENTRY=NO,ARCH=ZAR*
CH,LNAMEADDR=@LNAME1446
* ******* End of Prologue
* *
* *** return rd_kafka_q_enq1(rkq, rko, rkq, 0, 1);
LG 15,0(0,1) ; rkq
STG 15,168(0,13)
LG 15,8(0,1) ; rko
STG 15,176(0,13)
LG 15,0(0,1) ; rkq
STG 15,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),1
LA 1,168(0,13)
LG 15,@lit_1446_105 ; rd_kafka_q_enq1
@@gen_label167 DS 0H
BALR 14,15
@@gen_label168 DS 0H
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1446 DC F'208'
@lit_1446_105 DC AD(rd_kafka_q_enq1)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_q_enq"
* (FUNCTION #1446)
*
@AUTO#rd_kafka_q_enq DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_replyq_make
@LNAME1454 DS 0H
DC X'00000014'
DC C'rd_kafka_replyq_make'
DC X'00'
rd_kafka_replyq_make DCCPRLG CINDEX=1454,BASER=12,FRAME=192,ENTRY=NO,AR*
CH=ZARCH,LNAMEADDR=@LNAME1454
LGR 2,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 3,0(0,2)
* *** rd_kafka_replyq_t replyq = {};
* setting 16 bytes to 0x00
XC 168(16,13),168(13)
* ***
* *** if (rkq) {
LG 15,8(0,2) ; rkq
LTGR 1,15
BZ @L438
* *** replyq.q = rd_kafka_q_keep(rkq);
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1454_107 ; rd_kafka_q_keep
@@gen_label170 DS 0H
BALR 14,15
@@gen_label171 DS 0H
STG 15,168(0,13)
* *** replyq.version = version;
L 15,20(0,2) ; version
ST 15,176(0,13) ; offset of version in rd_kafka_replyq_s
* ***
* ***
* ***
* *** }
@L438 DS 0H
* ***
* *** return replyq;
MVC 0(16,3),168(13)
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1454 DC F'192'
@lit_1454_107 DC AD(rd_kafka_q_keep)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_replyq_make"
* (FUNCTION #1454)
*
@AUTO#rd_kafka_replyq_make DSECT
DS XL168
rd_kafka_replyq_make#replyq#0 DS 16XL1 ; replyq
*
@CODE CSECT
*
*
*
* ....... start of rd_crc32_update
@LNAME1485 DS 0H
DC X'0000000F'
DC C'rd_crc32_update'
DC X'00'
rd_crc32_update DCCPRLG CINDEX=1485,BASER=12,FRAME=176,ENTRY=NO,ARCH=ZA*
RCH,LNAMEADDR=@LNAME1485
DCCPRV REG=2 ; Get PRV from DVT
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
L 15,4(0,3) ; crc
LG 1,8(0,3) ; data
* ***
* ***
* ***
* ***
* *** unsigned int tbl_idx;
* ***
* *** while (data_len--) {
B @L483
DS 0D
@FRAMESIZE_1485 DC F'176'
@lit_1485_109 DC Q(crc_table)
@L482 DS 0H
* *** tbl_idx = (crc ^ *data) & 0xff;
LLC 4,0(0,1)
LR 5,15
XR 5,4
NILF 5,X'000000FF'
* *** crc = (crc_table[tbl_idx] ^ (crc >> 8)) & 0xffffffff;
LLGFR 4,5
LLGF 5,@lit_1485_109 ; crc_table
SLLG 4,4,2(0) ; *0x4
LA 4,0(5,4)
SRL 15,8(0)
X 15,0(4,2)
* ***
* *** data++;
LA 1,1(0,1)
* *** }
@L483 DS 0H
LG 4,16(0,3) ; data_len
LGR 5,4
AGHI 5,-1
STG 5,16(0,3) ; data_len
LTGR 4,4
BNZ @L482
* *** return crc & 0xffffffff;
LLGFR 15,15
* ***
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_crc32_update"
* (FUNCTION #1485)
*
@AUTO#rd_crc32_update DSECT
DS XL168
rd_crc32_update#tbl_idx#0 DS 1F ; tbl_idx
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_ApiVersion_set
@LNAME1516 DS 0H
DC X'0000001B'
DC C'rd_kafka_buf_ApiVersion_set'
DC X'00'
rd_kafka_buf_$Api$Version_set DCCPRLG CINDEX=1516,BASER=0,FRAME=168,SAV*
EAREA=NO,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1516
* ******* End of Prologue
* *
* *** rkbuf->rkbuf_reqhdr.ApiVersion = version;
LG 15,0(0,1) ; rkbuf
MVC 186(2,15),14(1)
* *** rkbuf->rkbuf_features = features;
L 1,20(0,1) ; features
ST 1,328(0,15) ; offset of rkbuf_features in rd_kafka_buf_s
* *** }
@ret_lab_1516 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
*
* DSECT for automatic variables in "rd_kafka_buf_ApiVersion_set"
* (FUNCTION #1516)
*
@AUTO#rd_kafka_buf_$Api$Version_set DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write
@LNAME1517 DS 0H
DC X'00000012'
DC C'rd_kafka_buf_write'
DC X'00'
rd_kafka_buf_write DCCPRLG CINDEX=1517,BASER=12,FRAME=200,ENTRY=NO,ARCH*
=ZARCH,LNAMEADDR=@LNAME1517
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,4) ; rkbuf
* *** size_t r;
* ***
* *** r = rd_buf_write(&rkbuf->rkbuf_buf, data, len);
LA 15,40(0,2)
STG 15,176(0,13)
LG 15,8(0,4) ; data
STG 15,184(0,13)
LG 15,16(0,4) ; len
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1517_111 ; rd_buf_write
@@gen_label173 DS 0H
BALR 14,15
@@gen_label174 DS 0H
LGR 3,15
* ***
* *** if (rkbuf->rkbuf_flags & 0x4)
TM 35(2),4
BZ @L492
* *** rkbuf->rkbuf_crc = rd_crc32_update(rkbuf->rkbuf_crc, d\
* ata, len);
LLGF 15,176(0,2)
STG 15,176(0,13)
LG 15,8(0,4) ; data
STG 15,184(0,13)
LG 15,16(0,4) ; len
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1517_112 ; rd_crc32_update
@@gen_label176 DS 0H
BALR 14,15
@@gen_label177 DS 0H
ST 15,176(0,2)
@L492 DS 0H
* ***
* *** return r;
LGR 15,3
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1517 DC F'200'
@lit_1517_111 DC AD(rd_buf_write)
@lit_1517_112 DC AD(rd_crc32_update)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write"
* (FUNCTION #1517)
*
@AUTO#rd_kafka_buf_write DSECT
DS XL168
rd_kafka_buf_write#r#0 DS 8XL1 ; r
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write_i16
@LNAME1521 DS 0H
DC X'00000016'
DC C'rd_kafka_buf_write_i16'
DC X'00'
rd_kafka_buf_write_i16 DCCPRLG CINDEX=1521,BASER=12,FRAME=192,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1521
* ******* End of Prologue
* *
* *** v = (v);
LH 15,14(0,1) ; v
STH 15,14(0,1) ; v
* *** return rd_kafka_buf_write(rkbuf, &v, sizeof(v));
LG 15,0(0,1) ; rkbuf
STG 15,168(0,13)
LA 15,14(0,1)
STG 15,176(0,13)
MVGHI 184(13),2
LA 1,168(0,13)
LG 15,@lit_1521_114 ; rd_kafka_buf_write
@@gen_label178 DS 0H
BALR 14,15
@@gen_label179 DS 0H
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1521 DC F'192'
@lit_1521_114 DC AD(rd_kafka_buf_write)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write_i16"
* (FUNCTION #1521)
*
@AUTO#rd_kafka_buf_write_i16 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write_i32
@LNAME1523 DS 0H
DC X'00000016'
DC C'rd_kafka_buf_write_i32'
DC X'00'
rd_kafka_buf_write_i32 DCCPRLG CINDEX=1523,BASER=12,FRAME=192,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1523
* ******* End of Prologue
* *
* *** v = (int32_t)(v);
L 15,12(0,1) ; v
* *** return rd_kafka_buf_write(rkbuf, &v, sizeof(v));
LG 15,0(0,1) ; rkbuf
STG 15,168(0,13)
LA 15,12(0,1)
STG 15,176(0,13)
MVGHI 184(13),4
LA 1,168(0,13)
LG 15,@lit_1523_116 ; rd_kafka_buf_write
@@gen_label180 DS 0H
BALR 14,15
@@gen_label181 DS 0H
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1523 DC F'192'
@lit_1523_116 DC AD(rd_kafka_buf_write)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write_i32"
* (FUNCTION #1523)
*
@AUTO#rd_kafka_buf_write_i32 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write_i64
@LNAME1527 DS 0H
DC X'00000016'
DC C'rd_kafka_buf_write_i64'
DC X'00'
rd_kafka_buf_write_i64 DCCPRLG CINDEX=1527,BASER=12,FRAME=192,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1527
* ******* End of Prologue
* *
* *** v = (v);
LG 15,8(0,1) ; v
* *** return rd_kafka_buf_write(rkbuf, &v, sizeof(v));
LG 15,0(0,1) ; rkbuf
STG 15,168(0,13)
LA 15,8(0,1)
STG 15,176(0,13)
MVGHI 184(13),8
LA 1,168(0,13)
LG 15,@lit_1527_118 ; rd_kafka_buf_write
@@gen_label182 DS 0H
BALR 14,15
@@gen_label183 DS 0H
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1527 DC F'192'
@lit_1527_118 DC AD(rd_kafka_buf_write)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write_i64"
* (FUNCTION #1527)
*
@AUTO#rd_kafka_buf_write_i64 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write_uvarint
@LNAME1530 DS 0H
DC X'0000001A'
DC C'rd_kafka_buf_write_uvarint'
DC X'00'
rd_kafka_buf_write_uvarint DCCPRLG CINDEX=1530,BASER=12,FRAME=208,ENTRY*
=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1530
LGR 2,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** char varint[(sizeof(v) + 1 + (sizeof(v)/7))];
* *** size_t sz;
* ***
* *** sz = rd_uvarint_enc_u64(varint, sizeof(varint), v);
LA 15,168(0,13)
STG 15,184(0,13)
MVGHI 192(13),10
LG 15,8(0,2) ; v
STG 15,200(0,13)
LA 1,184(0,13)
LG 15,@lit_1530_120 ; rd_uvarint_enc_u64
@@gen_label184 DS 0H
BALR 14,15
@@gen_label185 DS 0H
* ***
* *** return rd_kafka_buf_write(rkbuf, varint, sz);
LG 1,0(0,2) ; rkbuf
STG 1,184(0,13)
LA 1,168(0,13)
STG 1,192(0,13)
STG 15,200(0,13)
LA 1,184(0,13)
LG 15,@lit_1530_121 ; rd_kafka_buf_write
@@gen_label186 DS 0H
BALR 14,15
@@gen_label187 DS 0H
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1530 DC F'208'
@lit_1530_120 DC AD(rd_uvarint_enc_u64)
@lit_1530_121 DC AD(rd_kafka_buf_write)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write_uvarint"
* (FUNCTION #1530)
*
@AUTO#rd_kafka_buf_write_uvarint DSECT
DS XL168
rd_kafka_buf_write_uvarint#sz#0 DS 8XL1 ; sz
ORG @AUTO#rd_kafka_buf_write_uvarint+168
rd_kafka_buf_write_uvarint#varint#0 DS 10XL1 ; varint
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_buf_write_str
@LNAME1532 DS 0H
DC X'00000016'
DC C'rd_kafka_buf_write_str'
DC X'00'
rd_kafka_buf_write_str DCCPRLG CINDEX=1532,BASER=12,FRAME=216,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1532
* ******* End of Prologue
* *
LMG 4,5,0(1) ; rkbuf
LG 2,16(0,1) ; len
* *** size_t r;
* ***
* ***
* *** size_t ulen;
* *** size_t alen;
* *** alen = ((len == -1) ? __strlen(str) : len);
CGHI 2,-1
BNE @L515
LGR 15,5
LGHI 0,0
@@gen_label189 DS 0H
SRST 0,15
BC 1,@@gen_label189
SLGR 0,5
B @L516
DS 0D
@FRAMESIZE_1532 DC F'216'
@lit_1532_123 DC AD(calloc)
@lit_1532_124 DC AD(ebcdic_2_utf8)
@lit_1532_125 DC AD(rd_kafka_buf_write_i16)
@lit_1532_126 DC AD(rd_kafka_buf_write)
@lit_1532_127 DC AD(free)
@lit_1532_129 DC AD(rd_kafka_buf_write_uvarint)
@L515 DS 0H
LGR 0,2
@L516 DS 0H
STG 0,176(0,13) ; alen
* *** ulen = alen;
STG 0,168(0,13) ; ulen
* *** char* cbuf = calloc(1, ulen);
MVGHI 184(13),1
STG 0,192(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_123 ; calloc
@@gen_label190 DS 0H
BALR 14,15
@@gen_label191 DS 0H
LGR 6,15
* *** ebcdic_2_utf8(cbuf, &ulen, str, &alen);
STG 6,184(0,13)
LA 15,168(0,13)
STG 15,192(0,13)
STG 5,200(0,13)
LA 15,176(0,13)
STG 15,208(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_124 ; ebcdic_2_utf8
@@gen_label192 DS 0H
BALR 14,15
@@gen_label193 DS 0H
* ***
* ***
* *** if (!(rkbuf->rkbuf_flags & 0x40)) {
TM 35(4),64
BNZ @L517
* ***
* ***
* *** len = ulen;
LG 2,168(0,13) ; ulen
* *** # 1219 "C:\asgkafka\librdkafka\src\rdkafka_buf.h"
* *** r = rd_kafka_buf_write_i16(rkbuf, (int16_t)len);
STG 4,184(0,13)
LGHR 15,2
STG 15,192(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_125 ; rd_kafka_buf_write_i16
@@gen_label195 DS 0H
BALR 14,15
@@gen_label196 DS 0H
LGR 3,15 ; r
* *** if (str)
LTGR 15,5
BZ @L518
* ***
* *** rd_kafka_buf_write(rkbuf, cbuf, len);
STG 4,184(0,13)
STG 6,192(0,13)
STG 2,200(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_126 ; rd_kafka_buf_write
@@gen_label198 DS 0H
BALR 14,15
@@gen_label199 DS 0H
@L518 DS 0H
* *** free(cbuf);
STG 6,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_127 ; free
@@gen_label200 DS 0H
BALR 14,15
@@gen_label201 DS 0H
* ***
* ***
* ***
* *** return r;
LGR 15,3
B @ret_lab_1532
* *** }
@L517 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* *** if (!str)
LTGR 15,5
BNZ @L519
* *** len = 0;
LGHI 2,0 ; 0
B @L520
* *** else if (len == (size_t)-1)
@L519 DS 0H
CGHI 2,-1
BNE @L521
* *** {
* ***
* *** len = ulen + 1;
LG 2,168(0,13) ; ulen
AGHI 2,1
* ***
* ***
* ***
* *** }
B @L520
* *** else
@L521 DS 0H
* *** {
* ***
* *** len = ulen + 1;
LG 2,168(0,13) ; ulen
AGHI 2,1
* ***
* ***
* ***
* *** }
@L522 DS 0H
* ***
* *** r = rd_kafka_buf_write_uvarint(rkbuf, (uint64_t)len);
@L520 DS 0H
STG 4,184(0,13)
STG 2,192(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_129 ; rd_kafka_buf_write_uvarint
@@gen_label204 DS 0H
BALR 14,15
@@gen_label205 DS 0H
LGR 3,15 ; r
* *** if (len > 1)
CLGFI 2,X'00000001'
BNH @L523
* ***
* *** rd_kafka_buf_write(rkbuf, cbuf, len - 1);
STG 4,184(0,13)
STG 6,192(0,13)
AGHI 2,-1
STG 2,200(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_126 ; rd_kafka_buf_write
@@gen_label207 DS 0H
BALR 14,15
@@gen_label208 DS 0H
@L523 DS 0H
* *** free(cbuf);
STG 6,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1532_127 ; free
@@gen_label209 DS 0H
BALR 14,15
@@gen_label210 DS 0H
* ***
* ***
* ***
* *** return r;
LGR 15,3
* *** }
@ret_lab_1532 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_buf_write_str"
* (FUNCTION #1532)
*
@AUTO#rd_kafka_buf_write_str DSECT
DS XL168
rd_kafka_buf_write_str#ulen#0 DS 8XL1 ; ulen
ORG @AUTO#rd_kafka_buf_write_str+168
rd_kafka_buf_write_str#r#0 DS 8XL1 ; r
ORG @AUTO#rd_kafka_buf_write_str+176
rd_kafka_buf_write_str#alen#0 DS 8XL1 ; alen
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_rkt_is_lw
@LNAME1670 DS 0H
DC X'00000012'
DC C'rd_kafka_rkt_is_lw'
DC X'00'
rd_kafka_rkt_is_lw DCCPRLG CINDEX=1670,BASER=12,FRAME=176,SAVEAREA=NO,E*
NTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1670
* ******* End of Prologue
* *
* *** const rd_kafka_lwtopic_t *lrkt = ((const rd_kafka_lwto\
* pic_t *)app_rkt);
LG 15,0(0,1) ; app_rkt
* *** return !__memcmp(lrkt->lrkt_magic,"LRKT",4);
LG 1,@lit_1670_133
LA 1,156(0,1)
CLC 0(4,15),0(1)
LGHI 15,1
BH @@gen_label211
BE @@gen_label212
AGHI 15,-1
@@gen_label212 DS 0H
AGHI 15,-1
@@gen_label211 DS 0H
LPR 15,15
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_1670_134
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@lit_1670_133 DC AD(@strings@)
@lit_1670_134 DC FD'255' 0x00000000000000ff
DROP 12
*
* DSECT for automatic variables in "rd_kafka_rkt_is_lw"
* (FUNCTION #1670)
*
@AUTO#rd_kafka_rkt_is_lw DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_rkt_get_lw
@LNAME1671 DS 0H
DC X'00000013'
DC C'rd_kafka_rkt_get_lw'
DC X'00'
rd_kafka_rkt_get_lw DCCPRLG CINDEX=1671,BASER=12,FRAME=176,ENTRY=NO,ARC*
H=ZARCH,LNAMEADDR=@LNAME1671
LGR 2,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** if (rd_kafka_rkt_is_lw(rkt))
LG 15,0(0,2) ; rkt
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1671_135 ; rd_kafka_rkt_is_lw
@@gen_label213 DS 0H
BALR 14,15
@@gen_label214 DS 0H
NILF 15,X'000000FF'
LTR 15,15
BZ @L555
* *** return ((rd_kafka_lwtopic_t *)rkt);
LG 15,0(0,2) ; rkt
B @ret_lab_1671
DS 0D
@FRAMESIZE_1671 DC F'176'
@lit_1671_135 DC AD(rd_kafka_rkt_is_lw)
@L555 DS 0H
* *** return ((void *)0);
LGHI 15,0 ; 0
* *** }
@ret_lab_1671 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_rkt_get_lw"
* (FUNCTION #1671)
*
@AUTO#rd_kafka_rkt_get_lw DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_topic_destroy0
@LNAME1678 DS 0H
DC X'00000017'
DC C'rd_kafka_topic_destroy0'
DC X'00'
rd_kafka_topic_destroy0 DCCPRLG CINDEX=1678,BASER=12,FRAME=184,ENTRY=NO*
,ARCH=ZARCH,LNAMEADDR=@LNAME1678
* ******* End of Prologue
* *
LG 2,0(0,1) ; rkt
* *** rd_kafka_lwtopic_t *lrkt;
* *** if ((((lrkt = rd_kafka_rkt_get_lw(rkt)) != ((void *)0)\
* )))
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1678_138 ; rd_kafka_rkt_get_lw
@@gen_label216 DS 0H
BALR 14,15
@@gen_label217 DS 0H
LTGR 1,15
BE @L558
* *** rd_kafka_lwtopic_destroy(lrkt);
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1678_139 ; rd_kafka_lwtopic_destroy
@@gen_label219 DS 0H
BALR 14,15
@@gen_label220 DS 0H
B @L559
DS 0D
@FRAMESIZE_1678 DC F'184'
@lit_1678_138 DC AD(rd_kafka_rkt_get_lw)
@lit_1678_139 DC AD(rd_kafka_lwtopic_destroy)
@lit_1678_140 DC AD(rd_refcnt_sub0)
@lit_1678_141 DC AD(rd_kafka_topic_destroy_final)
* *** else if (((rd_refcnt_sub0(&rkt->rkt_refcnt) == 0)))
@L558 DS 0H
LA 15,24(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1678_140 ; rd_refcnt_sub0
@@gen_label221 DS 0H
BALR 14,15
@@gen_label222 DS 0H
LTR 15,15
BNE @L559
* *** rd_kafka_topic_destroy_final(rkt);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1678_141 ; rd_kafka_topic_destroy_final
@@gen_label224 DS 0H
BALR 14,15
@@gen_label225 DS 0H
@L560 DS 0H
* *** }
@L559 DS 0H
@ret_lab_1678 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_topic_destroy0"
* (FUNCTION #1678)
*
@AUTO#rd_kafka_topic_destroy0 DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_broker_get_state
@LNAME1726 DS 0H
DC X'00000019'
DC C'rd_kafka_broker_get_state'
DC X'00'
rd_kafka_broker_get_state DCCPRLG CINDEX=1726,BASER=12,FRAME=184,ENTRY=*
NO,ARCH=ZARCH,LNAMEADDR=@LNAME1726
* ******* End of Prologue
* *
LG 2,0(0,1) ; rkb
* *** rd_kafka_broker_state_t state;
* *** mtx_lock(&(rkb)->rkb_lock);
LA 15,72(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1726_143 ; mtx_lock
@@gen_label226 DS 0H
BALR 14,15
@@gen_label227 DS 0H
* *** state = rkb->rkb_state;
L 3,196(0,2) ; offset of rkb_state in rd_kafka_broker_s
* *** mtx_unlock(&(rkb)->rkb_lock);
LA 15,72(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1726_144 ; mtx_unlock
@@gen_label228 DS 0H
BALR 14,15
@@gen_label229 DS 0H
* *** return state;
LGFR 15,3
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1726 DC F'184'
@lit_1726_143 DC AD(mtx_lock)
@lit_1726_144 DC AD(mtx_unlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_broker_get_state"
* (FUNCTION #1726)
*
@AUTO#rd_kafka_broker_get_state DSECT
DS XL168
rd_kafka_broker_get_state#state#0 DS 1F ; state
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_broker_is_up
@LNAME1727 DS 0H
DC X'00000015'
DC C'rd_kafka_broker_is_up'
DC X'00'
rd_kafka_broker_is_up DCCPRLG CINDEX=1727,BASER=12,FRAME=184,ENTRY=NO,A*
RCH=ZARCH,LNAMEADDR=@LNAME1727
* ******* End of Prologue
* *
* *** rd_kafka_broker_state_t state = rd_kafka_broker_get_st\
* ate(rkb);
LG 15,0(0,1) ; rkb
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1727_146 ; rd_kafka_broker_get_state
@@gen_label230 DS 0H
BALR 14,15
@@gen_label231 DS 0H
* *** return ((state) == RD_KAFKA_BROKER_STATE_UP || (state)\
* == RD_KAFKA_BROKER_STATE_UPDATE);
CHI 15,6
BE @L567
CHI 15,7
BNE @L569
@L567 DS 0H
LHI 15,1 ; 1
B @L568
DS 0D
@FRAMESIZE_1727 DC F'184'
@lit_1727_146 DC AD(rd_kafka_broker_get_state)
@lit_1727_149 DC FD'255' 0x00000000000000ff
@L569 DS 0H
LHI 15,0 ; 0
@L568 DS 0H
NG 15,@lit_1727_149
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_broker_is_up"
* (FUNCTION #1727)
*
@AUTO#rd_kafka_broker_is_up DSECT
DS XL168
rd_kafka_broker_is_up#state#0 DS 1F ; state
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_topic_partition_match_valid_offset
@LNAME1853 DS 0H
DC X'0000002B'
DC C'rd_kafka_topic_partition_match_v'
DC C'alid_offset'
DC X'00'
rd_kafka_topic_partition_match_valid_offset DCCPRLG CINDEX=1853,BASER=1*
2,FRAME=176,SAVEAREA=NO,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@L*
NAME1853
* ******* End of Prologue
* *
* *** const rd_kafka_topic_partition_t *rktpar = elem;
LG 15,0(0,1) ; elem
* *** return rktpar->offset >= 0;
CGHSI 16(15),0
BL @@gen_label234
LHI 15,1
B @@gen_label235
@@gen_label234 DS 0H
LHI 15,0
@@gen_label235 DS 0H
LGFR 15,15
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_topic_partition_match_v
* alid_offset"
* (FUNCTION #1853)
*
@AUTO#rd_kafka_topic_partition_match_valid_offset DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_toppar_topic_cmp
@LNAME1873 DS 0H
DC X'00000019'
DC C'rd_kafka_toppar_topic_cmp'
DC X'00'
rd_kafka_toppar_topic_cmp DCCPRLG CINDEX=1873,BASER=12,FRAME=176,SAVEAR*
EA=NO,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1873
* ******* End of Prologue
* *
* *** const rd_kafka_toppar_t *a = _a, *b = _b;
LG 15,0(0,1) ; _a
LG 1,8(0,1) ; _b
* *** return __strcmp(a->rktp_rkt->rkt_topic->str,b->rktp_rk\
* t->rkt_topic->str);
LG 15,96(0,15) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
LG 1,96(0,1) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 1,128(0,1) ; offset of rkt_topic in rd_kafka_topic_s
LG 15,8(0,15)
LG 1,8(0,1)
LA 0,0(0,0)
LGHI 2,0
@@gen_label236 DS 0H
CLST 15,1
BC 1,@@gen_label236
BE @@gen_label237
LLGC 2,0(0,15)
LLGC 15,0(0,1)
SLGR 2,15
@@gen_label237 DS 0H
LGFR 15,2
* ***
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_toppar_topic_cmp"
* (FUNCTION #1873)
*
@AUTO#rd_kafka_toppar_topic_cmp DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_idemp_state2str
@LNAME1892 DS 0H
DC X'00000018'
DC C'rd_kafka_idemp_state2str'
DC X'00'
rd_kafka_idemp_state2str DCCPRLG CINDEX=1892,BASER=12,FRAME=168,ENTRY=N*
O,ARCH=ZARCH,LNAMEADDR=@LNAME1892
DCCPRV REG=15 ; Get PRV from DVT
* ******* End of Prologue
* *
* *** static const char *names[] = {
* *** "Init",
* *** "Terminate",
* *** "FatalError",
* *** "RequestPID",
* *** "WaitTransport",
* *** "WaitPID",
* *** "Assigned",
* *** "DrainReset",
* *** "DrainBump"
* *** return names[state];
LGF 1,4(0,1) ; state
LGF 2,@lit_1892_151
LA 15,0(2,15)
SLLG 1,1,3(0) ; *0x8
LG 15,1584(1,15)
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1892 DC F'168'
@lit_1892_151 DC Q(@@STATIC)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_idemp_state2str"
* (FUNCTION #1892)
*
@AUTO#rd_kafka_idemp_state2str DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_state2str
@LNAME1893 DS 0H
DC X'00000016'
DC C'rd_kafka_txn_state2str'
DC X'00'
rd_kafka_txn_state2str DCCPRLG CINDEX=1893,BASER=12,FRAME=168,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME1893
DCCPRV REG=15 ; Get PRV from DVT
* ******* End of Prologue
* *
* *** static const char *names[] = {
* *** "Init",
* *** "WaitPID",
* *** "ReadyNotAcked",
* *** "Ready",
* *** "InTransaction",
* *** "BeginCommit",
* *** "CommittingTransaction",
* *** "CommitNotAcked",
* *** "AbortingTransaction",
* *** "AbortedNotAcked",
* *** "AbortableError",
* *** "FatalError"
* *** return names[state];
LGF 1,4(0,1) ; state
LGF 2,@lit_1893_153
LA 15,0(2,15)
SLLG 1,1,3(0) ; *0x8
LG 15,1656(1,15)
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1893 DC F'168'
@lit_1893_153 DC Q(@@STATIC)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_state2str"
* (FUNCTION #1893)
*
@AUTO#rd_kafka_txn_state2str DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_idemp_get_pid0
@LNAME1929 DS 0H
DC X'00000017'
DC C'rd_kafka_idemp_get_pid0'
DC X'00'
rd_kafka_idemp_get_pid0 DCCPRLG CINDEX=1929,BASER=12,FRAME=192,ENTRY=NO*
,ARCH=ZARCH,LNAMEADDR=@LNAME1929
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 4,0(0,3)
LG 2,8(0,3) ; rk
* *** rd_kafka_pid_t pid;
* ***
* *** if (do_lock)
CLI 23(3),0
BE @L671
* *** rwlock_rdlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1929_155 ; rwlock_rdlock
@@gen_label239 DS 0H
BALR 14,15
@@gen_label240 DS 0H
@L671 DS 0H
* *** if (((rk->rk_eos.idemp_state == RD_KAFKA_IDEMP_STATE_A\
* SSIGNED)))
CHSI 3184(2),6
BNE @L672
* *** pid = rk->rk_eos.pid;
MVC 168(16,13),3200(2)
B @L673
DS 0D
@FRAMESIZE_1929 DC F'192'
@lit_1929_155 DC AD(rwlock_rdlock)
@lit_1929_156 DC AD(rd_kafka_pid_reset)
@lit_1929_157 DC AD(rwlock_rdunlock)
* *** else
@L672 DS 0H
* *** rd_kafka_pid_reset(&pid);
LA 15,168(0,13)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1929_156 ; rd_kafka_pid_reset
@@gen_label242 DS 0H
BALR 14,15
@@gen_label243 DS 0H
@L673 DS 0H
* *** if (do_lock)
CLI 23(3),0
BE @L674
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_1929_157 ; rwlock_rdunlock
@@gen_label245 DS 0H
BALR 14,15
@@gen_label246 DS 0H
@L674 DS 0H
* ***
* *** return pid;
MVC 0(16,4),168(13)
* *** }
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_idemp_get_pid0"
* (FUNCTION #1929)
*
@AUTO#rd_kafka_idemp_get_pid0 DSECT
DS XL168
rd_kafka_idemp_get_pid0#pid#0 DS 16XL1 ; pid
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_normalize_err
@LNAME1998 DS 0H
DC X'0000001A'
DC C'rd_kafka_txn_normalize_err'
DC X'00'
rd_kafka_txn_normalize_err DCCPRLG CINDEX=1998,BASER=12,FRAME=168,SAVEA*
REA=NO,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1998
* ******* End of Prologue
* *
* ***
* *** switch (err)
B @L675
* *** {
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_EPOCH:
* *** case RD_KAFKA_RESP_ERR_PRODUCER_FENCED:
@L678 DS 0H
* *** return RD_KAFKA_RESP_ERR__FENCED;
LGHI 15,-144 ; -144
B @ret_lab_1998
* *** default:
* *** return err;
@L679 DS 0H
LGF 15,4(0,1) ; err
B @ret_lab_1998
* *** }
@L675 DS 0H
L 15,4(0,1) ; err
CHI 15,47
BL @L679
CHI 15,47
BE @L678
CHI 15,90
BE @L678
B @L679
* *** }
@ret_lab_1998 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_normalize_err"
* (FUNCTION #1998)
*
@AUTO#rd_kafka_txn_normalize_err DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_ensure_transactional
@LNAME1999 DS 0H
DC X'0000001D'
DC C'rd_kafka_ensure_transactional'
DC X'00'
rd_kafka_ensure_transactional DCCPRLG CINDEX=1999,BASER=12,FRAME=184,EN*
TRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1999
* ******* End of Prologue
* *
* *** if (((rk->rk_type != RD_KAFKA_PRODUCER)))
LG 15,0(0,1) ; rk
CHSI 2520(15),0
BE @L680
* *** return rd_kafka_error_new(
* *** RD_KAFKA_RESP_ERR__INVALID_ARG,
* *** "The Transactional API can only be use\
* d "
MVGHI 168(13),-186
* *** "on producer instances");
LG 15,@lit_1999_160
LA 15,162(0,15)
STG 15,176(0,13)
LA 1,168(0,13)
LG 15,@lit_1999_161 ; rd_kafka_error_new
@@gen_label248 DS 0H
BALR 14,15
@@gen_label249 DS 0H
B @ret_lab_1999
DS 0D
@FRAMESIZE_1999 DC F'184'
@lit_1999_161 DC AD(rd_kafka_error_new)
@lit_1999_160 DC AD(@strings@)
@L680 DS 0H
* ***
* *** if (((!rk->rk_conf.eos.transactional_id)))
LTG 15,2024(0,15) ; offset of transactional_id in 0000105
BNZ @L681
* *** return rd_kafka_error_new(
* *** RD_KAFKA_RESP_ERR__NOT_CONFIGURED,
* *** "The Transactional API requires "
MVGHI 168(13),-145
* *** "transactional.id to be configured");
LG 15,@lit_1999_160
LA 15,224(0,15)
STG 15,176(0,13)
LA 1,168(0,13)
LG 15,@lit_1999_161 ; rd_kafka_error_new
@@gen_label251 DS 0H
BALR 14,15
@@gen_label252 DS 0H
B @ret_lab_1999
@L681 DS 0H
* ***
* *** return ((void *)0);
LGHI 15,0 ; 0
* *** }
@ret_lab_1999 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_ensure_transactional"
* (FUNCTION #1999)
*
@AUTO#rd_kafka_ensure_transactional DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_require_states0
@LNAME2000 DS 0H
DC X'0000001C'
DC C'rd_kafka_txn_require_states0'
DC X'00'
rd_kafka_txn_require_states0 DCCPRLG CINDEX=2000,BASER=12,FRAME=200,ENT*
RY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2000
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 3,0(0,4) ; rk
* *** rd_kafka_error_t *error;
* *** size_t i;
* ***
* *** if ((((error = rd_kafka_ensure_transactional(rk)) != (\
* (void *)0))))
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_166 ; rd_kafka_ensure_transactional
@@gen_label253 DS 0H
BALR 14,15
@@gen_label254 DS 0H
LTGR 2,15 ; error
BE @L682
* *** return error;
LGR 15,2
B @ret_lab_2000
DS 0D
@FRAMESIZE_2000 DC F'200'
@lit_2000_166 DC AD(rd_kafka_ensure_transactional)
@lit_2000_170 DC AD(rd_kafka_error_new_fatal)
@lit_2000_169 DC AD(@strings@)
@lit_2000_172 DC AD(rd_kafka_error_new)
@lit_2000_173 DC AD(rd_kafka_error_set_txn_requires_abort)
@lit_2000_174 DC AD(rd_kafka_txn_state2str)
@L682 DS 0H
* ***
* *** for (i = 0 ; (int)states[i] != -1 ; i++)
LGHI 15,0 ; 0
B @L684
@L683 DS 0H
* *** if (rk->rk_eos.txn_state == states[i])
L 1,3384(0,3) ; offset of txn_state in 0000146
LG 2,8(0,4) ; states
SLLG 5,15,2(0) ; *0x4
C 1,0(5,2)
BNE @L687
* *** return ((void *)0);
LGHI 15,0 ; 0
B @ret_lab_2000
@L687 DS 0H
* ***
* ***
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_FATAL_E\
* RROR)
AGHI 15,1
@L684 DS 0H
LG 1,8(0,4) ; states
SLLG 2,15,2(0) ; *0x4
LA 1,0(2,1)
CHSI 0(1),-1
BNE @L683
CHSI 3384(3),11
BNE @L688
* *** error = rd_kafka_error_new_fatal(rk->rk_eos.tx\
* n_err,
* *** "%s", rk->rk_\
* eos.txn_errstr);
LGF 15,3800(0,3)
STG 15,176(0,13)
LG 15,@lit_2000_169
LA 15,290(0,15)
STG 15,184(0,13)
LG 15,3808(0,3)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_170 ; rd_kafka_error_new_fatal
@@gen_label259 DS 0H
BALR 14,15
@@gen_label260 DS 0H
LGR 2,15 ; error
B @L689
* *** else if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_AB\
* ORTABLE_ERROR) {
@L688 DS 0H
CHSI 3384(3),10
BNE @L690
* *** error = rd_kafka_error_new(rk->rk_eos.txn_err,
* *** "%s", rk->rk_eos.tx\
* n_errstr);
LGF 15,3800(0,3)
STG 15,176(0,13)
LG 15,@lit_2000_169
LA 15,290(0,15)
STG 15,184(0,13)
LG 15,3808(0,3)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_172 ; rd_kafka_error_new
@@gen_label262 DS 0H
BALR 14,15
@@gen_label263 DS 0H
LGR 2,15 ; error
* *** rd_kafka_error_set_txn_requires_abort(error);
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_173 ; rd_kafka_error_set_txn_requires_abort
@@gen_label264 DS 0H
BALR 14,15
@@gen_label265 DS 0H
* *** } else
B @L689
@L690 DS 0H
* *** error = rd_kafka_error_new(
* *** RD_KAFKA_RESP_ERR__STATE,
* *** "Operation not valid in state %s",
* *** rd_kafka_txn_state2str(rk->rk_eos.txn_\
* state));
LGF 15,3384(0,3)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_174 ; rd_kafka_txn_state2str
@@gen_label266 DS 0H
BALR 14,15
@@gen_label267 DS 0H
MVGHI 176(13),-172
LG 1,@lit_2000_169
LA 1,294(0,1)
STG 1,184(0,13)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2000_172 ; rd_kafka_error_new
@@gen_label268 DS 0H
BALR 14,15
@@gen_label269 DS 0H
LGR 2,15 ; error
@L691 DS 0H
* ***
* ***
* *** return error;
@L689 DS 0H
LGR 15,2
* *** }
@ret_lab_2000 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_require_states0"
* (FUNCTION #2000)
*
@AUTO#rd_kafka_txn_require_states0 DSECT
DS XL168
rd_kafka_txn_require_states0#i#0 DS 8XL1 ; i
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_state_transition_is_valid
@LNAME2001 DS 0H
DC X'00000026'
DC C'rd_kafka_txn_state_transition_is'
DC C'_valid'
DC X'00'
rd_kafka_txn_state_transition_is_valid DCCPRLG CINDEX=2001,BASER=12,FRA*
ME=200,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2001
DCCPRV REG=3 ; Get PRV from DVT
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
L 2,4(0,4) ; curr
* ***
* *** *ignore = 0;
LG 15,16(0,4) ; ignore
MVI 0(15),0 ; ignore
* ***
* *** switch (new_state)
B @L692
DS 0D
@FRAMESIZE_2001 DC F'200'
@lit_2001_179 DC FD'255' 0x00000000000000ff
@lit_2001_202 DC AD(fprintf)
@lit_2001_201 DC AD(@DATA)
@lit_2001_200 DC AD(@strings@)
@lit_2001_199 DC Q(__stderrp)
@lit_2001_203 DC AD(rd_kafka_txn_state2str)
@lit_2001_209 DC AD(__assert)
* *** {
* *** case RD_KAFKA_TXN_STATE_INIT:
@L694 DS 0H
* ***
* ***
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_WAIT_PID:
@L695 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_INIT;
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_READY_NOT_ACKED:
@L696 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_WAIT_PID;
XILF 2,X'00000001'
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_READY:
@L697 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_READY_NOT_AC\
* KED ||
CHI 2,2
BE @L699
* *** curr == RD_KAFKA_TXN_STATE_COMMIT_NOT_\
* ACKED ||
CHI 2,7
BE @L699
@L698 DS 0H
* *** curr == RD_KAFKA_TXN_STATE_ABORT_NOT_A\
* CKED;
CHI 2,9
BNE @L701
@L699 DS 0H
LHI 15,1 ; 1
B @L700
@L701 DS 0H
LHI 15,0 ; 0
@L700 DS 0H
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_IN_TRANSACTION:
@L702 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_READY;
XILF 2,X'00000003'
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_BEGIN_COMMIT:
@L703 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_IN_TRANSACTI\
* ON;
XILF 2,X'00000004'
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_COMMITTING_TRANSACTION:
@L704 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_BEGIN_COMMIT\
* ;
XILF 2,X'00000005'
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_COMMIT_NOT_ACKED:
@L705 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_BEGIN_COMMIT\
* ||
CHI 2,5
BE @L706
* *** curr == RD_KAFKA_TXN_STATE_COMMITTING_\
* TRANSACTION;
CHI 2,6
BNE @L708
@L706 DS 0H
LHI 15,1 ; 1
B @L707
@L708 DS 0H
LHI 15,0 ; 0
@L707 DS 0H
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_ABORTING_TRANSACTION:
@L709 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_IN_TRANSACTI\
* ON ||
CHI 2,4
BE @L710
* *** curr == RD_KAFKA_TXN_STATE_ABORTABLE_E\
* RROR;
CHI 2,10
BNE @L712
@L710 DS 0H
LHI 15,1 ; 1
B @L711
@L712 DS 0H
LHI 15,0 ; 0
@L711 DS 0H
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_ABORT_NOT_ACKED:
@L713 DS 0H
* *** return curr == RD_KAFKA_TXN_STATE_ABORTING_TRA\
* NSACTION;
XILF 2,X'00000008'
LPR 15,2
AHI 15,-1
SRL 15,31(0)
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_ABORTABLE_ERROR:
@L714 DS 0H
* *** if (curr == RD_KAFKA_TXN_STATE_ABORTING_TRANSA\
* CTION ||
CHI 2,8
BE @L716
* *** curr == RD_KAFKA_TXN_STATE_FATAL_ERROR) {
CHI 2,11
BNE @L715
@L716 DS 0H
* ***
* ***
* *** *ignore = 1;
LG 15,16(0,4) ; ignore
MVI 0(15),1 ; ignore
* *** return 1;
LGHI 15,1 ; 1
B @ret_lab_2001
* *** }
@L715 DS 0H
* ***
* *** return curr == RD_KAFKA_TXN_STATE_IN_TRANSACTI\
* ON ||
CHI 2,4
BE @L718
* *** curr == RD_KAFKA_TXN_STATE_BEGIN_COMMI\
* T ||
CHI 2,5
BE @L718
@L717 DS 0H
* *** curr == RD_KAFKA_TXN_STATE_COMMITTING_\
* TRANSACTION;
CHI 2,6
BNE @L720
@L718 DS 0H
LHI 15,1 ; 1
B @L719
@L720 DS 0H
LHI 15,0 ; 0
@L719 DS 0H
NG 15,@lit_2001_179
B @ret_lab_2001
* ***
* *** case RD_KAFKA_TXN_STATE_FATAL_ERROR:
@L721 DS 0H
* ***
* *** return 1;
LGHI 15,1 ; 1
B @ret_lab_2001
* ***
* *** default:
* *** do { fprintf(__stderrp, "INTERNAL ERROR: librd\
* kafka %s:%d: ", __FUNCTION__, 211); fprintf(__stderrp, "Invalid txn \
* state transition: %s -> %s", rd_kafka_txn_state2str(curr), rd_kafka_\
* txn_state2str(new_state)); fprintf(__stderrp, "\n"); ((!*"INTERNAL E\
* RROR IN LIBRDKAFKA") ? (void)0 : __assert(__func__, "C:\\asgkafka\\l\
* ibrdkafka\\src\\rdkafka_txnmgr.c", 211, "!*\"INTERNAL ERROR IN LIBRD\
* KAFKA\"")); } while (0);
@L723 DS 0H
LLGF 5,@lit_2001_199 ; __stderrp
LG 15,0(5,3) ; __stderrp
STG 15,168(0,13)
LG 6,@lit_2001_200
LA 15,326(0,6)
STG 15,176(0,13)
LG 7,@lit_2001_201
LA 15,450(0,7)
STG 15,184(0,13)
MVGHI 192(13),211
LA 1,168(0,13)
LG 8,@lit_2001_202 ; fprintf
LGR 15,8
@@gen_label282 DS 0H
BALR 14,15
@@gen_label283 DS 0H
LGFR 15,2
STG 15,168(0,13)
LA 1,168(0,13)
LG 2,@lit_2001_203 ; rd_kafka_txn_state2str
LGR 15,2
@@gen_label284 DS 0H
BALR 14,15
@@gen_label285 DS 0H
LGR 9,15
LGF 15,12(0,4) ; new_state
STG 15,168(0,13)
LA 1,168(0,13)
LGR 15,2
@@gen_label286 DS 0H
BALR 14,15
@@gen_label287 DS 0H
LG 1,0(5,3) ; __stderrp
STG 1,168(0,13)
LA 1,362(0,6)
STG 1,176(0,13)
STG 9,184(0,13)
STG 15,192(0,13)
LA 1,168(0,13)
LGR 15,8
@@gen_label288 DS 0H
BALR 14,15
@@gen_label289 DS 0H
LG 15,0(5,3) ; __stderrp
STG 15,168(0,13)
LA 15,402(0,6)
STG 15,176(0,13)
LA 1,168(0,13)
LGR 15,8
@@gen_label290 DS 0H
BALR 14,15
@@gen_label291 DS 0H
LA 15,404(0,6)
CLI 0(15),0
BE @L727
@L726 DS 0H
LA 15,450(0,7)
STG 15,168(0,13)
LA 15,434(0,6)
STG 15,176(0,13)
MVGHI 184(13),211
LA 15,478(0,6)
STG 15,192(0,13)
LA 1,168(0,13)
LG 15,@lit_2001_209 ; __assert
@@gen_label293 DS 0H
BALR 14,15
@@gen_label294 DS 0H
@L727 DS 0H
* ***
* ***
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_2001
* *** }
@L692 DS 0H
L 15,12(0,4) ; new_state
CLFI 15,X'0000000B'
BH @L723
LGFR 15,15
LA 1,@@gen_label295
SLLG 15,15,3(0)
LG 15,0(1,15)
B 0(15,12)
@@gen_label295 DS 0D
DC AD(@L694-@REGION_2001_1)
DC AD(@L695-@REGION_2001_1)
DC AD(@L696-@REGION_2001_1)
DC AD(@L697-@REGION_2001_1)
DC AD(@L702-@REGION_2001_1)
DC AD(@L703-@REGION_2001_1)
DC AD(@L704-@REGION_2001_1)
DC AD(@L705-@REGION_2001_1)
DC AD(@L709-@REGION_2001_1)
DC AD(@L713-@REGION_2001_1)
DC AD(@L714-@REGION_2001_1)
DC AD(@L721-@REGION_2001_1)
* *** }
@ret_lab_2001 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_state_transition_is
* _valid"
* (FUNCTION #2001)
*
@AUTO#rd_kafka_txn_state_transition_is_valid DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_set_state
@LNAME2002 DS 0H
DC X'00000016'
DC C'rd_kafka_txn_set_state'
DC X'00'
rd_kafka_txn_set_state DCCPRLG CINDEX=2002,BASER=12,FRAME=248,ENTRY=NO,*
ARCH=ZARCH,LNAMEADDR=@LNAME2002
* ******* End of Prologue
* *
LG 2,0(0,1) ; rk
L 3,12(0,1) ; new_state
* *** rd_bool_t ignore;
* ***
* *** if (rk->rk_eos.txn_state == new_state)
C 3,3384(0,2)
BE @ret_lab_2002
* *** return;
@L728 DS 0H
* ***
* ***
* *** if (!rd_kafka_txn_state_transition_is_valid(rk->rk_eos\
* .txn_state,
* *** new_state,\
* &ignore)) {
LGF 15,3384(0,2)
STG 15,176(0,13)
LGFR 15,3
STG 15,184(0,13)
LA 15,168(0,13)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2002_213 ; rd_kafka_txn_state_transition_is_vali*
d
@@gen_label297 DS 0H
BALR 14,15
@@gen_label298 DS 0H
NILF 15,X'000000FF'
LTR 15,15
BNZ @L729
* *** rd_kafka_log0(&rk->rk_conf, rk, ((void *)0), 2\
* , 0x0, "TXNSTATE", "BUG: Invalid transaction state transition " "att\
* empted: %s -> %s", rd_kafka_txn_state2str(rk->rk_eos.txn_state), rd_\
* kafka_txn_state2str(new_state));
LGF 15,3384(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 4,@lit_2002_214 ; rd_kafka_txn_state2str
LGR 15,4
@@gen_label300 DS 0H
BALR 14,15
@@gen_label301 DS 0H
LGR 5,15
LGFR 15,3
STG 15,176(0,13)
LA 1,176(0,13)
LGR 15,4
@@gen_label302 DS 0H
BALR 14,15
@@gen_label303 DS 0H
LA 1,528(0,2)
STMG 1,2,176(13)
XC 192(8,13),192(13)
MVGHI 200(13),2
XC 208(8,13),208(13)
LG 4,@lit_2002_216
LA 1,512(0,4)
STG 1,216(0,13)
LA 1,522(0,4)
STG 1,224(0,13)
STG 5,232(0,13)
STG 15,240(0,13)
LA 1,176(0,13)
LG 15,@lit_2002_217 ; rd_kafka_log0
@@gen_label304 DS 0H
BALR 14,15
@@gen_label305 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** ((!*"BUG: Invalid transaction state transition\
* ") ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdkafka\\src\\rd\
* kafka_txnmgr.c", 244, "!*\"BUG: Invalid transaction state transition\
* \""));
LA 15,584(0,4)
CLI 0(15),0
BE @L729
@L730 DS 0H
LG 15,@lit_2002_218
LA 15,490(0,15)
STG 15,176(0,13)
LA 15,434(0,4)
STG 15,184(0,13)
MVGHI 192(13),244
LA 15,626(0,4)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_2002_219 ; __assert
@@gen_label307 DS 0H
BALR 14,15
@@gen_label308 DS 0H
@L731 DS 0H
* *** }
@L729 DS 0H
* ***
* *** if (ignore) {
CLI 168(13),0
BE @L733
* ***
* *** return;
B @ret_lab_2002
DS 0D
@FRAMESIZE_2002 DC F'248'
@lit_2002_213 DC AD(rd_kafka_txn_state_transition_is_valid)
@lit_2002_214 DC AD(rd_kafka_txn_state2str)
@lit_2002_217 DC AD(rd_kafka_log0)
@lit_2002_216 DC AD(@strings@)
@lit_2002_219 DC AD(__assert)
@lit_2002_218 DC AD(@DATA)
@lit_2002_225 DC AD(rd_atomic32_set)
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNSTATE","Transactio\
* n state change %s -> %s", rd_kafka_txn_state2str(rk->rk_eos.txn_stat\
* e), rd_kafka_txn_state2str(new_state)); } while (0);
@L733 DS 0H
TM 802(2),128
BZ @L736
LGF 15,3384(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 4,@lit_2002_214 ; rd_kafka_txn_state2str
LGR 15,4
@@gen_label311 DS 0H
BALR 14,15
@@gen_label312 DS 0H
LGR 5,15
LGFR 15,3
STG 15,176(0,13)
LA 1,176(0,13)
LGR 15,4
@@gen_label313 DS 0H
BALR 14,15
@@gen_label314 DS 0H
LA 1,528(0,2)
STMG 1,2,176(13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008000' ; 32768
STG 1,208(0,13)
LG 1,@lit_2002_216
LA 4,512(0,1)
STG 4,216(0,13)
LA 1,672(0,1)
STG 1,224(0,13)
STG 5,232(0,13)
STG 15,240(0,13)
LA 1,176(0,13)
LG 15,@lit_2002_217 ; rd_kafka_log0
@@gen_label315 DS 0H
BALR 14,15
@@gen_label316 DS 0H
@L736 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_IN_TRAN\
* SACTION)
CHSI 3384(2),4
BNE @L737
* *** rd_atomic32_set(&rk->rk_eos.txn_may_enq, 0);
LA 15,3328(0,2)
STG 15,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_2002_225 ; rd_atomic32_set
@@gen_label318 DS 0H
BALR 14,15
@@gen_label319 DS 0H
B @L738
* *** else if (new_state == RD_KAFKA_TXN_STATE_IN_TRANSACTIO\
* N)
@L737 DS 0H
CHI 3,4
BNE @L738
* *** rd_atomic32_set(&rk->rk_eos.txn_may_enq, 1);
LA 15,3328(0,2)
STG 15,176(0,13)
MVGHI 184(13),1
LA 1,176(0,13)
LG 15,@lit_2002_225 ; rd_atomic32_set
@@gen_label321 DS 0H
BALR 14,15
@@gen_label322 DS 0H
@L739 DS 0H
* ***
* *** rk->rk_eos.txn_state = new_state;
@L738 DS 0H
ST 3,3384(0,2) ; offset of txn_state in 0000146
* *** }
@ret_lab_2002 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_set_state"
* (FUNCTION #2002)
*
@AUTO#rd_kafka_txn_set_state DSECT
DS XL168
rd_kafka_txn_set_state#ignore#0 DS 1CL1 ; ignore
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_set_fatal_error
rd_kafka_txn_set_fatal_error ALIAS X'99846D92818692816DA3A7956DA285A36D*
8681A381936D8599999699'
@LNAME1924 DS 0H
DC X'0000001C'
DC C'rd_kafka_txn_set_fatal_error'
DC X'00'
rd_kafka_txn_set_fatal_error DCCPRLG CINDEX=1924,BASER=12,FRAME=752,ENT*
RY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1924
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** char errstr[512];
LG 2,0(0,4) ; rk
L 3,20(0,4) ; err
* *** va_list ap;
* ***
* *** ((ap) = (va_list)&(fmt) + ((__builtin_classify_type(fm\
* t) == 1 || __builtin_classify_type(fmt) == 2 || __builtin_classify_t\
* ype(fmt) == 4) ? sizeof(fmt) : (((sizeof(fmt) + sizeof(long) - 1) & \
* ~(sizeof(long) -1)))));
LA 15,32(0,4)
* *** vsnprintf(errstr, sizeof(errstr), fmt, ap);
LA 1,168(0,13)
STG 1,680(0,13)
MVGHI 688(13),512
LG 1,24(0,4) ; fmt
STG 1,696(0,13)
STG 15,704(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_228 ; vsnprintf
@@gen_label323 DS 0H
BALR 14,15
@@gen_label324 DS 0H
* *** ;
* ***
* *** rd_kafka_log0(&rk->rk_conf, rk, ((void *)0), 1, 0x0, "\
* TXNERR", "Fatal transaction error: %s (%s)", errstr, rd_kafka_err2na\
* me(err));
LGFR 15,3
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_229 ; rd_kafka_err2name
@@gen_label325 DS 0H
BALR 14,15
@@gen_label326 DS 0H
LA 1,528(0,2)
STMG 1,2,680(13)
XC 696(8,13),696(13)
MVGHI 704(13),1
XC 712(8,13),712(13)
LG 5,@lit_1924_230
LA 1,706(0,5)
STG 1,720(0,13)
LA 1,714(0,5)
STG 1,728(0,13)
LA 1,168(0,13)
STG 1,736(0,13)
STG 15,744(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_231 ; rd_kafka_log0
@@gen_label327 DS 0H
BALR 14,15
@@gen_label328 DS 0H
* ***
* ***
* ***
* *** if (do_lock)
LT 4,12(0,4) ; do_lock
BZ @L740
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_232 ; rwlock_wrlock
@@gen_label330 DS 0H
BALR 14,15
@@gen_label331 DS 0H
@L740 DS 0H
* *** rd_kafka_set_fatal_error0(rk, RD_DONT_LOCK, err, "%s",\
* errstr);
STG 2,680(0,13)
XC 688(8,13),688(13)
LGFR 15,3
STG 15,696(0,13)
LA 15,290(0,5)
STG 15,704(0,13)
LA 15,168(0,13)
STG 15,712(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_233 ; rd_kafka_set_fatal_error0
@@gen_label332 DS 0H
BALR 14,15
@@gen_label333 DS 0H
* ***
* *** rk->rk_eos.txn_err = err;
ST 3,3800(0,2) ; offset of txn_err in 0000146
* *** if (rk->rk_eos.txn_errstr)
LTG 15,3808(0,2) ; offset of txn_errstr in 0000146
BZ @L741
* *** rd_free(rk->rk_eos.txn_errstr);
LG 15,3808(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_234 ; rd_free
@@gen_label335 DS 0H
BALR 14,15
@@gen_label336 DS 0H
@L741 DS 0H
* *** rk->rk_eos.txn_errstr = rd_strdup(errstr);
LA 15,168(0,13)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_235 ; rd_strdup
@@gen_label337 DS 0H
BALR 14,15
@@gen_label338 DS 0H
STG 15,3808(0,2)
* ***
* *** if (rk->rk_eos.txn_init_rkq) {
LTG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
BZ @L742
* ***
* ***
* *** rd_kafka_txn_curr_api_reply_error(
* *** rk->rk_eos.txn_init_rkq,
* *** rd_kafka_error_new_fatal(err, "%s", er\
* rstr));
LGFR 15,3
STG 15,680(0,13)
LA 15,290(0,5)
STG 15,688(0,13)
LA 15,168(0,13)
STG 15,696(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_236 ; rd_kafka_error_new_fatal
@@gen_label340 DS 0H
BALR 14,15
@@gen_label341 DS 0H
LG 1,3592(0,2)
STG 1,680(0,13)
STG 15,688(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_237 ; rd_kafka_txn_curr_api_reply_error
@@gen_label342 DS 0H
BALR 14,15
@@gen_label343 DS 0H
* *** rk->rk_eos.txn_init_rkq = ((void *)0);
LGHI 15,0 ; 0
STG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
* *** }
@L742 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_FATAL_ER\
* ROR);
STG 2,680(0,13)
MVGHI 688(13),11
LA 1,680(0,13)
LG 15,@lit_1924_239 ; rd_kafka_txn_set_state
@@gen_label344 DS 0H
BALR 14,15
@@gen_label345 DS 0H
* ***
* *** if (do_lock)
LTR 4,4
BZ @L743
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1924_240 ; rwlock_wrunlock
@@gen_label347 DS 0H
BALR 14,15
@@gen_label348 DS 0H
@L743 DS 0H
* *** }
@ret_lab_1924 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1924 DC F'752'
@lit_1924_228 DC AD(vsnprintf)
@lit_1924_229 DC AD(rd_kafka_err2name)
@lit_1924_231 DC AD(rd_kafka_log0)
@lit_1924_230 DC AD(@strings@)
@lit_1924_232 DC AD(rwlock_wrlock)
@lit_1924_233 DC AD(rd_kafka_set_fatal_error0)
@lit_1924_234 DC AD(rd_free)
@lit_1924_235 DC AD(rd_strdup)
@lit_1924_236 DC AD(rd_kafka_error_new_fatal)
@lit_1924_237 DC AD(rd_kafka_txn_curr_api_reply_error)
@lit_1924_239 DC AD(rd_kafka_txn_set_state)
@lit_1924_240 DC AD(rwlock_wrunlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_set_fatal_error"
* (FUNCTION #1924)
*
@AUTO#rd_kafka_txn_set_fatal_error DSECT
DS XL168
rd_kafka_txn_set_fatal_error#errstr#0 DS 512XL1 ; errstr
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_set_abortable_error0
rd_kafka_txn_set_abortable_error0 ALIAS X'99846D92818692816DA3A7956DA28*
5A36D81829699A3818293856D8599999699F0'
@LNAME1923 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_set_abortable_error'
DC C'0'
DC X'00'
rd_kafka_txn_set_abortable_error0 DCCPRLG CINDEX=1923,BASER=12,FRAME=76*
8,ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1923
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** char errstr[512];
LG 2,0(0,4) ; rk
L 3,12(0,4) ; err
* *** va_list ap;
* ***
* *** if (rd_kafka_fatal_error(rk, ((void *)0), 0)) {
STG 2,680(0,13)
XC 688(16,13),688(13)
LA 1,680(0,13)
LG 15,@lit_1923_242 ; rd_kafka_fatal_error
@@gen_label349 DS 0H
BALR 14,15
@@gen_label350 DS 0H
LTR 15,15
BZ @L744
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "FATAL","Not p\
* ropagating abortable transactional " "error (%s) " "since previous f\
* atal error already raised", rd_kafka_err2name(err)); } while (0);
@L745 DS 0H
TM 802(2),128
BZ @ret_lab_1923
LGFR 15,3
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_243 ; rd_kafka_err2name
@@gen_label353 DS 0H
BALR 14,15
@@gen_label354 DS 0H
LA 1,528(0,2)
STMG 1,2,680(13)
XC 696(8,13),696(13)
MVGHI 704(13),7
LLILF 1,X'00008000' ; 32768
STG 1,712(0,13)
LG 1,@lit_1923_245
LA 2,748(0,1)
STG 2,720(0,13)
LA 1,754(0,1)
STG 1,728(0,13)
STG 15,736(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_246 ; rd_kafka_log0
@@gen_label355 DS 0H
BALR 14,15
@@gen_label356 DS 0H
@L748 DS 0H
* ***
* ***
* ***
* ***
* *** return;
B @ret_lab_1923
DS 0D
@FRAMESIZE_1923 DC F'768'
@lit_1923_242 DC AD(rd_kafka_fatal_error)
@lit_1923_243 DC AD(rd_kafka_err2name)
@lit_1923_246 DC AD(rd_kafka_log0)
@lit_1923_245 DC AD(@strings@)
@lit_1923_247 DC AD(vsnprintf)
@lit_1923_248 DC AD(rwlock_wrlock)
@lit_1923_254 DC AD(rwlock_wrunlock)
@lit_1923_255 DC AD(rd_free)
@lit_1923_256 DC AD(rd_strdup)
@lit_1923_257 DC AD(rd_kafka_txn_state2str)
@lit_1923_263 DC AD(rd_kafka_txn_set_state)
@lit_1923_265 DC AD(rd_kafka_purge)
* *** }
@L744 DS 0H
* ***
* *** ((ap) = (va_list)&(fmt) + ((__builtin_classify_type(fm\
* t) == 1 || __builtin_classify_type(fmt) == 2 || __builtin_classify_t\
* ype(fmt) == 4) ? sizeof(fmt) : (((sizeof(fmt) + sizeof(long) - 1) & \
* ~(sizeof(long) -1)))));
LA 15,32(0,4)
* *** vsnprintf(errstr, sizeof(errstr), fmt, ap);
LA 1,168(0,13)
STG 1,680(0,13)
MVGHI 688(13),512
LG 1,24(0,4) ; fmt
STG 1,696(0,13)
STG 15,704(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_247 ; vsnprintf
@@gen_label357 DS 0H
BALR 14,15
@@gen_label358 DS 0H
* *** ;
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_248 ; rwlock_wrlock
@@gen_label359 DS 0H
BALR 14,15
@@gen_label360 DS 0H
* ***
* *** if (requires_epoch_bump)
CLI 23(4),0
BE @L749
* *** rk->rk_eos.txn_requires_epoch_bump = requires_\
* epoch_bump;
IC 15,23(0,4) ; requires_epoch_bump
STC 15,3456(0,2) ; offset of txn_requires_epoch_bump in 0000*
146
@L749 DS 0H
* ***
* *** if (rk->rk_eos.txn_err) {
LT 15,3800(0,2) ; offset of txn_err in 0000146
BZ @L750
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNERR","Igno\
* ring sub-sequent abortable transaction " "error: %s (%s): " "previou\
* s error (%s) already raised", errstr, rd_kafka_err2name(err), rd_kaf\
* ka_err2name(rk->rk_eos.txn_err)); } while (0);
@L751 DS 0H
TM 802(2),128
BZ @L754
LGFR 15,3
STG 15,680(0,13)
LA 1,680(0,13)
LG 3,@lit_1923_243 ; rd_kafka_err2name
LGR 15,3
@@gen_label364 DS 0H
BALR 14,15
@@gen_label365 DS 0H
LGR 4,15
LGF 15,3800(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LGR 15,3
@@gen_label366 DS 0H
BALR 14,15
@@gen_label367 DS 0H
LA 1,528(0,2)
STMG 1,2,680(13)
XC 696(8,13),696(13)
MVGHI 704(13),7
LLILF 1,X'00008000' ; 32768
STG 1,712(0,13)
LG 1,@lit_1923_245
LA 3,706(0,1)
STG 3,720(0,13)
LA 1,848(0,1)
STG 1,728(0,13)
LA 1,168(0,13)
STG 1,736(0,13)
STG 4,744(0,13)
STG 15,752(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_246 ; rd_kafka_log0
@@gen_label368 DS 0H
BALR 14,15
@@gen_label369 DS 0H
@L754 DS 0H
* *** # 357 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_254 ; rwlock_wrunlock
@@gen_label370 DS 0H
BALR 14,15
@@gen_label371 DS 0H
* *** return;
B @ret_lab_1923
* *** }
@L750 DS 0H
* ***
* *** rk->rk_eos.txn_err = err;
ST 3,3800(0,2) ; offset of txn_err in 0000146
* *** if (rk->rk_eos.txn_errstr)
LTG 15,3808(0,2) ; offset of txn_errstr in 0000146
BZ @L755
* *** rd_free(rk->rk_eos.txn_errstr);
LG 15,3808(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_255 ; rd_free
@@gen_label373 DS 0H
BALR 14,15
@@gen_label374 DS 0H
@L755 DS 0H
* *** rk->rk_eos.txn_errstr = rd_strdup(errstr);
LA 15,168(0,13)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_256 ; rd_strdup
@@gen_label375 DS 0H
BALR 14,15
@@gen_label376 DS 0H
STG 15,3808(0,2)
* ***
* *** rd_kafka_log0(&rk->rk_conf, rk, ((void *)0), 3, 0x0, "\
* TXNERR", "Current transaction failed in state %s: %s (%s%s)", rd_kaf\
* ka_txn_state2str(rk->rk_eos.txn_state), errstr, rd_kafka_err2name(er\
* r), requires_epoch_bump ? ", requires epoch bump" : "");
LGF 15,3384(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_257 ; rd_kafka_txn_state2str
@@gen_label377 DS 0H
BALR 14,15
@@gen_label378 DS 0H
LGR 5,15
LGFR 15,3
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_243 ; rd_kafka_err2name
@@gen_label379 DS 0H
BALR 14,15
@@gen_label380 DS 0H
CLI 23(4),0
BE @L756
LG 1,@lit_1923_245
LA 1,942(0,1)
B @L757
@L756 DS 0H
LG 1,@lit_1923_245
LA 1,964(0,1)
@L757 DS 0H
LA 3,528(0,2)
STG 3,680(0,13)
STG 2,688(0,13)
XC 696(8,13),696(13)
MVGHI 704(13),3
XC 712(8,13),712(13)
LG 3,@lit_1923_245
LA 4,706(0,3)
STG 4,720(0,13)
LA 3,966(0,3)
STG 3,728(0,13)
STG 5,736(0,13)
LA 3,168(0,13)
STG 3,744(0,13)
STG 15,752(0,13)
STG 1,760(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_246 ; rd_kafka_log0
@@gen_label382 DS 0H
BALR 14,15
@@gen_label383 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_ABORTABL\
* E_ERROR);
STG 2,680(0,13)
MVGHI 688(13),10
LA 1,680(0,13)
LG 15,@lit_1923_263 ; rd_kafka_txn_set_state
@@gen_label384 DS 0H
BALR 14,15
@@gen_label385 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,680(0,13)
LA 1,680(0,13)
LG 15,@lit_1923_254 ; rwlock_wrunlock
@@gen_label386 DS 0H
BALR 14,15
@@gen_label387 DS 0H
* ***
* ***
* *** rd_kafka_purge(rk,
* *** 0x1 |
STG 2,680(0,13)
* *** 0x100 |
* *** 0x4);
MVGHI 688(13),261
LA 1,680(0,13)
LG 15,@lit_1923_265 ; rd_kafka_purge
@@gen_label388 DS 0H
BALR 14,15
@@gen_label389 DS 0H
* ***
* *** }
@ret_lab_1923 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_set_abortable_error
* 0"
* (FUNCTION #1923)
*
@AUTO#rd_kafka_txn_set_abortable_error0 DSECT
DS XL168
rd_kafka_txn_set_abortable_error0#errstr#0 DS 512XL1 ; errstr
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_reply_error
@LNAME1996 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_curr_api_reply_erro'
DC C'r'
DC X'00'
rd_kafka_txn_curr_api_reply_error DCCPRLG CINDEX=1996,BASER=12,FRAME=19*
2,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1996
* ******* End of Prologue
* *
LMG 2,3,0(1) ; rkq
* *** rd_kafka_op_t *rko;
* ***
* *** if (!rkq) {
LTGR 15,2
BNZ @L758
* *** if (error)
LTGR 15,3
BZ @ret_lab_1996
* *** rd_kafka_error_destroy(error);
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1996_267 ; rd_kafka_error_destroy
@@gen_label392 DS 0H
BALR 14,15
@@gen_label393 DS 0H
@L759 DS 0H
* *** return;
B @ret_lab_1996
DS 0D
@FRAMESIZE_1996 DC F'192'
@lit_1996_267 DC AD(rd_kafka_error_destroy)
@lit_1996_269 DC AD(rd_kafka_op_new0)
@lit_1996_270 DC AD(rd_kafka_error_code)
@lit_1996_271 DC AD(rd_kafka_q_enq)
@lit_1996_272 DC AD(rd_kafka_q_destroy0)
* *** }
@L758 DS 0H
* ***
* *** rko = rd_kafka_op_new0(((void *)0), RD_KAFKA_OP_TXN|(i\
* nt)(1 << 30));
XC 176(8,13),176(13)
LLILF 15,X'4000002F' ; 1073741871
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1996_269 ; rd_kafka_op_new0
@@gen_label394 DS 0H
BALR 14,15
@@gen_label395 DS 0H
LGR 4,15
* ***
* *** if (error) {
LTGR 15,3
BZ @L760
* *** rko->rko_error = error;
STG 3,40(0,4) ; offset of rko_error in rd_kafka_op_s
* *** rko->rko_err = rd_kafka_error_code(error);
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1996_270 ; rd_kafka_error_code
@@gen_label397 DS 0H
BALR 14,15
@@gen_label398 DS 0H
ST 15,32(0,4)
* *** }
@L760 DS 0H
* ***
* *** rd_kafka_q_enq(rkq, rko);
STG 2,176(0,13)
STG 4,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1996_271 ; rd_kafka_q_enq
@@gen_label399 DS 0H
BALR 14,15
@@gen_label400 DS 0H
* ***
* *** rd_kafka_q_destroy0(rkq, 0 );
STG 2,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1996_272 ; rd_kafka_q_destroy0
@@gen_label401 DS 0H
BALR 14,15
@@gen_label402 DS 0H
* *** }
@ret_lab_1996 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_reply_erro
* r"
* (FUNCTION #1996)
*
@AUTO#rd_kafka_txn_curr_api_reply_error DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_reply
@LNAME2003 DS 0H
DC X'0000001B'
DC C'rd_kafka_txn_curr_api_reply'
DC X'00'
rd_kafka_txn_curr_api_reply DCCPRLG CINDEX=2003,BASER=12,FRAME=200,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2003
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** rd_kafka_error_t *error = ((void *)0);
L 3,12(0,4) ; actions
LGHI 2,0 ; 0
* ***
* *** if (err) {
LT 15,20(0,4) ; err
BZ @L761
* *** va_list ap;
* *** ((ap) = (va_list)&(errstr_fmt) + ((__builtin_c\
* lassify_type(errstr_fmt) == 1 || __builtin_classify_type(errstr_fmt)\
* == 2 || __builtin_classify_type(errstr_fmt) == 4) ? sizeof(errstr_f\
* mt) : (((sizeof(errstr_fmt) + sizeof(long) - 1) & ~(sizeof(long) -1)\
* ))));
LA 1,32(0,4)
* *** error = rd_kafka_error_new_v(err, errstr_fmt, \
* ap);
LGFR 15,15
STG 15,176(0,13)
LG 15,24(0,4) ; errstr_fmt
STG 15,184(0,13)
STG 1,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2003_275 ; rd_kafka_error_new_v
@@gen_label404 DS 0H
BALR 14,15
@@gen_label405 DS 0H
LGR 2,15 ; error
* *** ;
* ***
* *** if (actions & 0x200)
LR 15,3
NILF 15,X'00000200'
LTR 15,15
BZ @L762
* *** rd_kafka_error_set_fatal(error);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2003_276 ; rd_kafka_error_set_fatal
@@gen_label407 DS 0H
BALR 14,15
@@gen_label408 DS 0H
B @L763
DS 0D
@FRAMESIZE_2003 DC F'200'
@lit_2003_275 DC AD(rd_kafka_error_new_v)
@lit_2003_276 DC AD(rd_kafka_error_set_fatal)
@lit_2003_277 DC AD(rd_kafka_error_set_txn_requires_abort)
@lit_2003_278 DC AD(rd_kafka_error_set_retriable)
@lit_2003_279 DC AD(rd_kafka_txn_curr_api_reply_error)
* *** else if (actions & 0x1)
@L762 DS 0H
TML 3,1
BZ @L764
* *** rd_kafka_error_set_txn_requires_abort(\
* error);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2003_277 ; rd_kafka_error_set_txn_requires_abort
@@gen_label410 DS 0H
BALR 14,15
@@gen_label411 DS 0H
B @L763
* *** else if (actions & 0x8)
@L764 DS 0H
TML 3,8
BZ @L763
* *** rd_kafka_error_set_retriable(error);
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2003_278 ; rd_kafka_error_set_retriable
@@gen_label413 DS 0H
BALR 14,15
@@gen_label414 DS 0H
@L766 DS 0H
* *** }
@L765 DS 0H
@L763 DS 0H
@L761 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rkq, error);
LG 15,0(0,4) ; rkq
STG 15,176(0,13)
STG 2,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2003_279 ; rd_kafka_txn_curr_api_reply_error
@@gen_label415 DS 0H
BALR 14,15
@@gen_label416 DS 0H
* *** }
@ret_lab_2003 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_reply"
* (FUNCTION #2003)
*
@AUTO#rd_kafka_txn_curr_api_reply DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_idemp_state_change
rd_kafka_txn_idemp_state_change ALIAS X'99846D92818692816DA3A7956D89848*
594976DA2A381A3856D838881958785'
@LNAME1922 DS 0H
DC X'0000001F'
DC C'rd_kafka_txn_idemp_state_change'
DC X'00'
rd_kafka_txn_idemp_state_change DCCPRLG CINDEX=1922,BASER=12,FRAME=208,*
ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1922
* ******* End of Prologue
* *
* *** rd_bool_t reply_assigned = 0;
LG 2,0(0,1) ; rk
L 15,12(0,1) ; idemp_state
MVI 168(13),0 ; reply_assigned
* ***
* *** if (idemp_state == RD_KAFKA_IDEMP_STATE_ASSIGNED &&
CHI 15,6
BNE @L767
* *** rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_WAIT_PI\
* D) {
CHSI 3384(2),1
BNE @L767
* ***
* *** do {} while (0);
@L768 DS 0H
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* READY_NOT_ACKED);
STG 2,176(0,13)
MVGHI 184(13),2
LA 1,176(0,13)
LG 15,@lit_1922_281 ; rd_kafka_txn_set_state
@@gen_label419 DS 0H
BALR 14,15
@@gen_label420 DS 0H
* *** reply_assigned = 1;
MVI 168(13),1 ; reply_assigned
* ***
* *** } else if (idemp_state == RD_KAFKA_IDEMP_STATE_ASSIGNE\
* D &&
B @L771
DS 0D
@FRAMESIZE_1922 DC F'208'
@lit_1922_281 DC AD(rd_kafka_txn_set_state)
@lit_1922_285 DC AD(@strings@)
@lit_1922_287 DC AD(rd_kafka_error_new_fatal)
@lit_1922_288 DC AD(rd_kafka_txn_curr_api_reply_error)
@lit_1922_290 DC AD(rd_kafka_txn_curr_api_reply)
@L767 DS 0H
CHI 15,6
BNE @L772
* *** rk->rk_eos.txn_state ==
* *** RD_KAFKA_TXN_STATE_ABORTING_TRANSACTION) {
CHSI 3384(2),8
BNE @L772
* ***
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* ABORT_NOT_ACKED);
STG 2,176(0,13)
MVGHI 184(13),9
LA 1,176(0,13)
LG 15,@lit_1922_281 ; rd_kafka_txn_set_state
@@gen_label423 DS 0H
BALR 14,15
@@gen_label424 DS 0H
* *** reply_assigned = 1;
MVI 168(13),1 ; reply_assigned
* ***
* *** } else if (idemp_state == RD_KAFKA_IDEMP_STATE_FATAL_E\
* RROR &&
B @L771
@L772 DS 0H
CHI 15,2
BNE @L771
* *** rk->rk_eos.txn_state != RD_KAFKA_TXN_STATE_\
* FATAL_ERROR) {
CHSI 3384(2),11
BE @L771
* ***
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* FATAL_ERROR);
STG 2,176(0,13)
MVGHI 184(13),11
LA 1,176(0,13)
LG 15,@lit_1922_281 ; rd_kafka_txn_set_state
@@gen_label427 DS 0H
BALR 14,15
@@gen_label428 DS 0H
* *** if (rk->rk_eos.txn_init_rkq) {
LTG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
BZ @L771
* ***
* ***
* ***
* *** rd_kafka_txn_curr_api_reply_error(
* *** rk->rk_eos.txn_init_rkq,
* *** rd_kafka_error_new_fatal(
* *** rk->rk_eos.txn_err ?
* *** "Fatal error raised by\
* "
* *** rk->rk_eos.txn_errstr \
* ?
LT 15,3800(0,2) ; offset of txn_err in 0000146
BZ @L776
* *** rk->rk_eos.txn_err :
L 15,3800(0,2) ; offset of txn_err in 0000146
B @L777
@L776 DS 0H
* *** RD_KAFKA_RESP_ERR__FAT\
* AL,
LHI 15,-150 ; -150
@L777 DS 0H
LTG 1,3808(0,2) ; offset of txn_errstr in 0000146
BZ @L778
* *** rk->rk_eos.txn_errstr \
* :
LG 1,3808(0,2) ; offset of txn_errstr in 0000146
B @L779
@L778 DS 0H
* *** "see previous logs"));
LG 1,@lit_1922_285
LA 1,1016(0,1)
@L779 DS 0H
LGFR 15,15
STG 15,176(0,13)
* *** "idempotent producer w\
* hile "
* *** "retrieving PID: %s",
LG 15,@lit_1922_285
LA 15,1034(0,15)
STG 15,184(0,13)
STG 1,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1922_287 ; rd_kafka_error_new_fatal
@@gen_label432 DS 0H
BALR 14,15
@@gen_label433 DS 0H
LG 1,3592(0,2)
STG 1,176(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1922_288 ; rd_kafka_txn_curr_api_reply_error
@@gen_label434 DS 0H
BALR 14,15
@@gen_label435 DS 0H
* *** rk->rk_eos.txn_init_rkq = ((void *)0);
LGHI 15,0 ; 0
STG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
* *** }
@L775 DS 0H
* *** }
@L774 DS 0H
* ***
* *** if (reply_assigned && rk->rk_eos.txn_init_rkq) {
@L773 DS 0H
@L771 DS 0H
CLI 168(13),0
BE @L780
LTG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
BZ @L780
* ***
* ***
* ***
* *** rd_kafka_txn_curr_api_reply(rk->rk_eos.txn_ini\
* t_rkq, 0,
* *** RD_KAFKA_RESP_ERR_\
* NO_ERROR,
* *** ((void *)0));
LG 15,3592(0,2)
STG 15,176(0,13)
XC 184(24,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1922_290 ; rd_kafka_txn_curr_api_reply
@@gen_label438 DS 0H
BALR 14,15
@@gen_label439 DS 0H
* *** rk->rk_eos.txn_init_rkq = ((void *)0);
LGHI 15,0 ; 0
STG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
* *** }
@L780 DS 0H
* ***
* ***
* *** }
@ret_lab_1922 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_idemp_state_change"
* (FUNCTION #1922)
*
@AUTO#rd_kafka_txn_idemp_state_change DSECT
DS XL168
rd_kafka_txn_idemp_state_change#reply_assigned#0 DS 1CL1 ; reply_assign*
ed
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_partition_registered
@LNAME2004 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_partition_registere'
DC C'd'
DC X'00'
rd_kafka_txn_partition_registered DCCPRLG CINDEX=2004,BASER=12,FRAME=25*
6,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2004
* ******* End of Prologue
* *
* *** rd_kafka_t *rk = rktp->rktp_rkt->rkt_rk;
LG 2,0(0,1) ; rktp
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 3,328(0,15) ; offset of rkt_rk in rd_kafka_topic_s
* ***
* *** mtx_lock(&(rktp)->rktp_lock);
LA 15,192(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_293 ; mtx_lock
@@gen_label440 DS 0H
BALR 14,15
@@gen_label441 DS 0H
* ***
* *** if (((!(rktp->rktp_flags & 0x100)))) {
TM 690(2),1
BNZ @L788
* *** do { if ((((rk)->rk_conf.debug & (0x8000|0x80)\
* ))) rd_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000|0x80), "ADD\
* PARTS","\"%.*s\" [%" "d" "] is not in pending " "list but returned i\
* n AddPartitionsToTxn " "response: ignoring", (int)((rktp->rktp_rkt->\
* rkt_topic)->len == -1 ? 0 : (rktp->rktp_rkt->rkt_topic)->len), (rktp\
* ->rktp_rkt->rkt_topic)->str, rktp->rktp_partition); } while (0);
@L782 DS 0H
L 15,800(0,3)
NILF 15,X'00008080'
LTR 15,15
BZ @L785
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
CHSI 0(15),-1
BNE @L786
LHI 15,0 ; 0
B @L787
DS 0D
@FRAMESIZE_2004 DC F'256'
@lit_2004_293 DC AD(mtx_lock)
@lit_2004_297 DC AD(rd_kafka_log0)
@lit_2004_296 DC AD(@strings@)
@lit_2004_298 DC AD(mtx_unlock)
@lit_2004_305 DC AD(__assert)
@lit_2004_303 DC AD(@DATA)
@L786 DS 0H
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
L 15,0(0,15)
@L787 DS 0H
LA 1,528(0,3)
STG 1,176(0,13)
STG 3,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008080' ; 32896
STG 1,208(0,13)
LG 1,@lit_2004_296
LA 3,1102(0,1)
STG 3,216(0,13)
LA 1,1112(0,1)
STG 1,224(0,13)
LGFR 15,15
STG 15,232(0,13)
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
LG 15,8(0,15)
STG 15,240(0,13)
LGF 15,104(0,2)
STG 15,248(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_297 ; rd_kafka_log0
@@gen_label445 DS 0H
BALR 14,15
@@gen_label446 DS 0H
@L785 DS 0H
* *** # 551 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** mtx_unlock(&(rktp)->rktp_lock);
LA 15,192(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_298 ; mtx_unlock
@@gen_label447 DS 0H
BALR 14,15
@@gen_label448 DS 0H
* *** return;
B @ret_lab_2004
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000|0x4)))) rd_ka\
* fka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000|0x4), "ADDPARTS","%.\
* *s [%" "d" "] registered with transaction", (int)((rktp->rktp_rkt->r\
* kt_topic)->len == -1 ? 0 : (rktp->rktp_rkt->rkt_topic)->len), (rktp-\
* >rktp_rkt->rkt_topic)->str, rktp->rktp_partition); } while (0);
@L788 DS 0H
L 15,800(0,3)
NILF 15,X'00008004'
LTR 15,15
BZ @L791
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
CHSI 0(15),-1
BNE @L792
LHI 15,0 ; 0
B @L793
@L792 DS 0H
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
L 15,0(0,15)
@L793 DS 0H
LA 1,528(0,3)
STG 1,176(0,13)
STG 3,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008004' ; 32772
STG 1,208(0,13)
LG 1,@lit_2004_296
LA 4,1102(0,1)
STG 4,216(0,13)
LA 1,1202(0,1)
STG 1,224(0,13)
LGFR 15,15
STG 15,232(0,13)
LG 15,96(0,2) ; offset of rktp_rkt in rd_kafka_toppar_s
LG 15,128(0,15) ; offset of rkt_topic in rd_kafka_topic_s
LG 15,8(0,15)
STG 15,240(0,13)
LGF 15,104(0,2)
STG 15,248(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_297 ; rd_kafka_log0
@@gen_label451 DS 0H
BALR 14,15
@@gen_label452 DS 0H
@L791 DS 0H
* ***
* ***
* ***
* ***
* *** (((rktp->rktp_flags & (0x100| 0x200)) == 0x100) ? (voi\
* d)0 : __assert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdkafka_txn\
* mgr.c", 560, "(rktp->rktp_flags & (0x100| 0x200)) == 0x100"));
L 15,688(0,2) ; offset of rktp_flags in rd_kafka_toppar_s
NILF 15,X'00000300'
CHI 15,256
BE @L795
@L794 DS 0H
LG 15,@lit_2004_303
LA 15,514(0,15)
STG 15,176(0,13)
LG 15,@lit_2004_296
LA 1,434(0,15)
STG 1,184(0,13)
MVGHI 192(13),560
LA 15,1240(0,15)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_305 ; __assert
@@gen_label454 DS 0H
BALR 14,15
@@gen_label455 DS 0H
@L795 DS 0H
* ***
* ***
* ***
* *** rktp->rktp_flags = (rktp->rktp_flags & ~0x100) |
* *** 0x200;
L 15,688(0,2) ; offset of rktp_flags in rd_kafka_toppar_s
NILL 15,65279
OILL 15,512
ST 15,688(0,2) ; offset of rktp_flags in rd_kafka_toppar_s
* ***
* *** mtx_unlock(&(rktp)->rktp_lock);
LA 15,192(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_298 ; mtx_unlock
@@gen_label456 DS 0H
BALR 14,15
@@gen_label457 DS 0H
* ***
* *** mtx_lock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,3)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_293 ; mtx_lock
@@gen_label458 DS 0H
BALR 14,15
@@gen_label459 DS 0H
* *** do { if (((rktp)->rktp_txnlink .tqe_next) != (((void\
* *)0))) (rktp)->rktp_txnlink .tqe_next->rktp_txnlink .tqe_prev = (rk\
* tp)->rktp_txnlink .tqe_prev; else (&rk->rk_eos.txn_waitresp_rktps)->\
* tqh_last = (rktp)->rktp_txnlink .tqe_prev; *(rktp)->rktp_txnlink .tq\
* e_prev = (rktp)->rktp_txnlink .tqe_next; ; } while ( 0);
@L796 DS 0H
LTG 15,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
BE @L799
LG 15,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
LG 1,88(0,2) ; offset of tqe_prev in 0000134
STG 1,88(0,15) ; offset of tqe_prev in 0000134
B @L800
@L799 DS 0H
LG 15,88(0,2) ; offset of tqe_prev in 0000134
STG 15,3728(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L800 DS 0H
LG 15,88(0,2) ; offset of tqe_prev in 0000134
LG 1,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
STG 1,0(0,15)
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,3)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2004_298 ; mtx_unlock
@@gen_label461 DS 0H
BALR 14,15
@@gen_label462 DS 0H
* ***
* ***
* ***
* *** do { (rktp)->rktp_txnlink .tqe_next = (((void *)0)); \
* (rktp)->rktp_txnlink .tqe_prev = (&rk->rk_eos.txn_rktps)->tqh_last; \
* *(&rk->rk_eos.txn_rktps)->tqh_last = (rktp); (&rk->rk_eos.txn_rktps)\
* ->tqh_last = &(rktp)->rktp_txnlink .tqe_next; } while ( 0);
@L801 DS 0H
LGHI 15,0 ; 0
STG 15,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
LG 15,3744(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
STG 15,88(0,2) ; offset of tqe_prev in 0000134
LG 15,3744(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
STG 2,0(0,15)
LA 15,80(0,2)
STG 15,3744(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
* *** }
@ret_lab_2004 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_partition_registere
* d"
* (FUNCTION #2004)
*
@AUTO#rd_kafka_txn_partition_registered DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_handle_AddPartitionsToTxn
@LNAME2005 DS 0H
DC X'00000026'
DC C'rd_kafka_txn_handle_AddPartition'
DC C'sToTxn'
DC X'00'
rd_kafka_txn_handle_$Add$Partitions$To$Txn DCCPRLG CINDEX=2005,BASER=12*
,FRAME=912,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2005
LGR 10,1
* ******* End of Prologue
* *
* *** const int log_decode_errors = 3;
LMG 3,4,0(10) ; rk
L 5,20(0,10) ; err
LG 2,24(0,10) ; rkbuf
* *** int32_t TopicCnt;
* *** int actions = 0;
LHI 7,0 ; 0
* *** int retry_backoff_ms = 500;
LHI 15,500 ; 500
ST 15,896(0,13) ; spill
* *** rd_kafka_resp_err_t reset_coord_err = RD_KAFKA_RESP_ER\
* R_NO_ERROR;
LR 11,7 ; reset_coord_err
* ***
* *** if (err)
LTR 5,5
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2005_1_4
DROP 12
USING @REGION_2005_4,12
B @_done@2005@0
DROP 12
USING @REGION_2005_1,12
* *** goto done;
@L804 DS 0H
* ***
* *** rwlock_rdlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_315 ; rwlock_rdlock
@@gen_label464 DS 0H
BALR 14,15
@@gen_label465 DS 0H
* *** ((rk->rk_eos.txn_state != RD_KAFKA_TXN_STATE_COMMITTIN\
* G_TRANSACTION) ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdka\
* fka\\src\\rdkafka_txnmgr.c", 602, "rk->rk_eos.txn_state != RD_KAFKA_\
* TXN_STATE_COMMITTING_TRANSACTION"));
CHSI 3384(3),6
BNE @L806
@L805 DS 0H
LG 15,@lit_2005_316
LA 15,548(0,15)
STG 15,760(0,13)
LG 15,@lit_2005_317
LA 1,434(0,15)
STG 1,768(0,13)
MVGHI 776(13),602
LA 15,1286(0,15)
STG 15,784(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_318 ; __assert
@@gen_label467 DS 0H
BALR 14,15
@@gen_label468 DS 0H
@L806 DS 0H
* ***
* ***
* *** if (rk->rk_eos.txn_state != RD_KAFKA_TXN_STATE_IN_TRAN\
* SACTION &&
CHSI 3384(3),4
BE @L807
* *** rk->rk_eos.txn_state != RD_KAFKA_TXN_STATE_BEGIN_C\
* OMMIT) {
CHSI 3384(3),5
BE @L807
* ***
* *** do { if ((((rkb)->rkb_rk->rk_conf.debug & (0x8\
* 000)))) { do { char _logname[256]; mtx_lock(&(rkb)->rkb_logname_lock\
* ); rd_strlcpy(_logname, rkb->rkb_logname, sizeof(_logname)); mtx_unl\
* ock(&(rkb)->rkb_logname_lock); rd_kafka_log0(&(rkb)->rkb_rk->rk_conf\
* , (rkb)->rkb_rk, _logname, 7, (0x8000), "ADDPARTS", "Ignoring outdat\
* ed AddPartitionsToTxn response in " "state %s", rd_kafka_txn_state2s\
* tr(rk->rk_eos.txn_state)); } while (0); } } while (0);
@L808 DS 0H
LG 15,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L811
@L812 DS 0H
LGHI 2,5688 ; 5688
LA 15,0(2,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_320 ; mtx_lock
@@gen_label472 DS 0H
BALR 14,15
@@gen_label473 DS 0H
LA 15,228(0,13)
STG 15,760(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_322 ; rd_strlcpy
@@gen_label474 DS 0H
BALR 14,15
@@gen_label475 DS 0H
LA 15,0(2,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_324 ; mtx_unlock
@@gen_label476 DS 0H
BALR 14,15
@@gen_label477 DS 0H
LGF 15,3384(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_325 ; rd_kafka_txn_state2str
@@gen_label478 DS 0H
BALR 14,15
@@gen_label479 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,4048(0,4)
STG 1,768(0,13)
LA 1,228(0,13)
STG 1,776(0,13)
MVGHI 784(13),7
LLILF 1,X'00008000' ; 32768
STG 1,792(0,13)
LG 1,@lit_2005_317
LA 2,1102(0,1)
STG 2,800(0,13)
LA 1,1352(0,1)
STG 1,808(0,13)
STG 15,816(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_328 ; rd_kafka_log0
@@gen_label480 DS 0H
BALR 14,15
@@gen_label481 DS 0H
@L811 DS 0H
* ***
* ***
* ***
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_329 ; rwlock_rdunlock
@@gen_label482 DS 0H
BALR 14,15
@@gen_label483 DS 0H
* *** err = RD_KAFKA_RESP_ERR__OUTDATED;
LHI 5,-167 ; -167
* *** goto done;
ALGF 12,@lit_region_diff_2005_1_4
DROP 12
USING @REGION_2005_4,12
B @_done@2005@0
DROP 12
USING @REGION_2005_1,12
DS 0D
@FRAMESIZE_2005 DC F'912'
@lit_region_diff_2005_1_4 DC A(@REGION_2005_4-@REGION_2005_1)
@lit_2005_315 DC AD(rwlock_rdlock)
@lit_2005_318 DC AD(__assert)
@lit_2005_317 DC AD(@strings@)
@lit_2005_316 DC AD(@DATA)
@lit_2005_320 DC AD(mtx_lock)
@lit_2005_322 DC AD(rd_strlcpy)
@lit_2005_324 DC AD(mtx_unlock)
@lit_2005_325 DC AD(rd_kafka_txn_state2str)
@lit_2005_328 DC AD(rd_kafka_log0)
@lit_2005_329 DC AD(rwlock_rdunlock)
@lit_2005_333 DC AD(rd_slice_read)
@lit_2005_334 DC AD(rd_slice_abs_offset)
@lit_2005_337 DC AD(rd_kafka_crash)
@lit_2005_339 DC AD(snprintf)
@lit_2005_346 DC AD(rd_kafka_$Api$Key2str)
@lit_2005_347 DC AD(rd_slice_offset)
@lit_2005_353 DC AD(rd_kafka_op_throttle_time)
@lit_region_diff_2005_1_2 DC A(@REGION_2005_2-@REGION_2005_1)
@lit_2005_375 DC AD(rd_slice_read_uvarint)
* *** }
@L807 DS 0H
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_329 ; rwlock_rdunlock
@@gen_label484 DS 0H
BALR 14,15
@@gen_label485 DS 0H
* ***
* *** do { int32_t _throttle_time_ms; do { int32_t _v; do { \
* size_t __len2 = (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->r\
* kbuf_reader, &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if\
* (((__len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(\
* rkbuf)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { i\
* f (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\
* \\src\\rdkafka_txnmgr.c",618, __FUNCTION__, (((void *)0)), "assert: \
* " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__t\
* mpstr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpst\
* r[0] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->\
* rkb_logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_lognam\
* e, sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lo\
* ck); rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkb\
* uf_rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Pr\
* otocol read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu" \
* " (%s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining byte\
* s (%s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->\
* rkbuf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&r\
* kbuf->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTIO\
* N__, 618, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset\
* (&rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbu\
* f_uflow_mitigation : "incorrect broker.version.fallback?", __tmpstr)\
* ; } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; \
* goto err_parse; } while (0); } } while (0); } while (0); *(&_throttl\
* e_time_ms) = (_v); } while (0); rd_kafka_op_throttle_time((rkbuf)->r\
* kbuf_rkb, (rkbuf)->rkbuf_rkb->rkb_rk->rk_rep, _throttle_time_ms); } \
* while (0);
@L815 DS 0H
@L818 DS 0H
@L821 DS 0H
LGHI 6,4 ; 4
LA 15,120(0,2)
STG 15,760(0,13)
LA 15,172(0,13)
STG 15,768(0,13)
STG 6,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_333 ; rd_slice_read
@@gen_label486 DS 0H
BALR 14,15
@@gen_label487 DS 0H
LTGR 15,15
BNZ @L824
@L825 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_334 ; rd_slice_abs_offset
@@gen_label489 DS 0H
BALR 14,15
@@gen_label490 DS 0H
SLGR 8,15
CLGR 6,8
BNH @L828
@L829 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L832
@L833 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L836
LG 15,@lit_2005_317
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),618
LG 1,@lit_2005_316
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_337 ; rd_kafka_crash
@@gen_label494 DS 0H
BALR 14,15
@@gen_label495 DS 0H
@L836 DS 0H
LA 15,228(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_317
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_339 ; snprintf
@@gen_label496 DS 0H
BALR 14,15
@@gen_label497 DS 0H
LA 15,228(0,13)
LGR 1,15
LGHI 0,0
@@gen_label498 DS 0H
SRST 0,15
BC 1,@@gen_label498
SLGR 0,1
CGHI 0,2
BNE @L838
MVI 228(13),0
@L837 DS 0H
@L838 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_320 ; mtx_lock
@@gen_label500 DS 0H
BALR 14,15
@@gen_label501 DS 0H
LA 15,484(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_322 ; rd_strlcpy
@@gen_label502 DS 0H
BALR 14,15
@@gen_label503 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_324 ; mtx_unlock
@@gen_label504 DS 0H
BALR 14,15
@@gen_label505 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_346 ; rd_kafka_ApiKey2str
@@gen_label506 DS 0H
BALR 14,15
@@gen_label507 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_347 ; rd_slice_offset
@@gen_label508 DS 0H
BALR 14,15
@@gen_label509 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_334 ; rd_slice_abs_offset
@@gen_label510 DS 0H
BALR 14,15
@@gen_label511 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L841
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L842
@L841 DS 0H
LG 15,@lit_2005_317
LA 15,1440(0,15)
@L842 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,484(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_317
LA 14,1476(0,1)
STG 14,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 8,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_316
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),618
STG 6,864(0,13)
STG 9,872(0,13)
STG 15,880(0,13)
LA 15,228(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_328 ; rd_kafka_log0
@@gen_label513 DS 0H
BALR 14,15
@@gen_label514 DS 0H
@L832 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_1_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_1,12
@L828 DS 0H
@L824 DS 0H
L 15,172(0,13) ; _v
ST 15,168(0,13)
LG 15,256(0,2)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LG 15,0(0,15)
STG 15,768(0,13)
LGF 15,168(0,13) ; _throttle_time_ms
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_353 ; rd_kafka_op_throttle_time
@@gen_label515 DS 0H
BALR 14,15
@@gen_label516 DS 0H
* ***
* *** do { int32_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",620, __\
* FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while (\
* 0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": "); \
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname[\
* 256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_l\
* ogname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unlock\
* (&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkbu\
* f_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_d\
* ecode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " "\
* for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" "\
* bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(r\
* kbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_slic\
* e_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rkb\
* uf->rkbuf_reader)->start), __FUNCTION__, 620, __len0, ((&rkbuf->rkbu\
* f_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf->\
* rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrect \
* broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbuf_\
* err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); } }\
* while (0); } while (0); *(&TopicCnt) = (_v); } while (0);
@L843 DS 0H
@L846 DS 0H
LGHI 6,4 ; 4
LA 15,120(0,2)
STG 15,760(0,13)
LA 15,176(0,13)
STG 15,768(0,13)
STG 6,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_333 ; rd_slice_read
@@gen_label517 DS 0H
BALR 14,15
@@gen_label518 DS 0H
LTGR 15,15
BNZ @L849
@L850 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_334 ; rd_slice_abs_offset
@@gen_label520 DS 0H
BALR 14,15
@@gen_label521 DS 0H
SLGR 8,15
CLGR 6,8
BNH @L853
@L854 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L857
@L858 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L861
LG 15,@lit_2005_317
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),620
LG 1,@lit_2005_316
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_337 ; rd_kafka_crash
@@gen_label525 DS 0H
BALR 14,15
@@gen_label526 DS 0H
@L861 DS 0H
LA 15,228(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_317
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_339 ; snprintf
@@gen_label527 DS 0H
BALR 14,15
@@gen_label528 DS 0H
LA 15,228(0,13)
LGR 1,15
LGHI 0,0
@@gen_label529 DS 0H
SRST 0,15
BC 1,@@gen_label529
SLGR 0,1
CGHI 0,2
BNE @L863
MVI 228(13),0
@L862 DS 0H
@L863 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_320 ; mtx_lock
@@gen_label531 DS 0H
BALR 14,15
@@gen_label532 DS 0H
LA 15,484(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_322 ; rd_strlcpy
@@gen_label533 DS 0H
BALR 14,15
@@gen_label534 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_324 ; mtx_unlock
@@gen_label535 DS 0H
BALR 14,15
@@gen_label536 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_346 ; rd_kafka_ApiKey2str
@@gen_label537 DS 0H
BALR 14,15
@@gen_label538 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_347 ; rd_slice_offset
@@gen_label539 DS 0H
BALR 14,15
@@gen_label540 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_334 ; rd_slice_abs_offset
@@gen_label541 DS 0H
BALR 14,15
@@gen_label542 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L866
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L867
@L866 DS 0H
LG 15,@lit_2005_317
LA 15,1440(0,15)
@L867 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,484(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_317
LA 14,1476(0,1)
STG 14,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 8,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_316
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),620
STG 6,864(0,13)
STG 9,872(0,13)
STG 15,880(0,13)
LA 15,228(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_328 ; rd_kafka_log0
@@gen_label544 DS 0H
BALR 14,15
@@gen_label545 DS 0H
@L857 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_1_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_1,12
@L853 DS 0H
@L849 DS 0H
L 15,176(0,13) ; _v
ST 15,224(0,13)
* ***
* *** while (TopicCnt-- > 0) {
ALGF 12,@lit_region_diff_2005_1_4
DROP 12
USING @REGION_2005_4,12
B @L871
DROP 12
USING @REGION_2005_1,12
@L870 DS 0H
* *** rd_kafkap_str_t Topic;
* *** rd_kafka_topic_t *rkt;
* *** int32_t PartCnt;
* *** rd_bool_t request_error = 0;
MVI 202(13),0 ; request_error
* ***
* *** do { int _klen; if ((rkbuf)->rkbuf_flags & 0x4\
* 0) { uint64_t _uva; do { uint64_t _v; size_t _r = rd_slice_read_uvar\
* int(&(rkbuf)->rkbuf_reader, &_v); if ((((_r == 0)))) do { if (log_de\
* code_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash(\
* "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",628, __FUNCTION__,\
* (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while (0); char __\
* tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": " "uvarint pars\
* ing failed"); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { \
* char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock);\
* rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname\
* )); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0\
* (&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _\
* logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer\
* underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expe\
* cted %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafk\
* a_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVe\
* rsion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader\
* )->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 628, (size_t)\
* 0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_\
* reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigat\
* ion : "incorrect broker.version.fallback?", __tmpstr); } while (0); \
* } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse;\
* } while (0); *(&_uva) = _v; } while (0); (&Topic)->len = ((int32_t)\
* _uva) - 1; _klen = (&Topic)->len; } else { do { int16_t _v; do { siz\
* e_t __len2 = (size_t)(2); if (!rd_slice_read(&(rkbuf)->rkbuf_reader,\
* &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if (((__len0 >\
* ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbu\
* f_reader))))) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf\
* ->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkaf\
* ka_txnmgr.c",628, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rk\
* buf_rkb"); } while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeo\
* f(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0';\
* do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_\
* lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_l\
* ogname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafk\
* a_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb\
* _rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read \
* buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): "\
* "expected %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", r\
* d_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr\
* .ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_\
* reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 628, __\
* len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkb\
* uf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_miti\
* gation : "incorrect broker.version.fallback?", __tmpstr); } while (0\
* ); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_par\
* se; } while (0); } } while (0); } while (0); (&Topic)->len = (int16_\
* t)(_v); } while (0); _klen = (((&Topic)->len) == -1 ? 0 : ((&Topic)-\
* >len)); } if (((&Topic)->len == -1)) (&Topic)->str = ((void *)0); el\
* se if ((((&Topic)->len) == -1 ? 0 : ((&Topic)->len)) == 0) (&Topic)-\
* >str = ""; else if (!((&Topic)->str = rd_slice_ensure_contig(&rkbuf-\
* >rkbuf_reader, _klen))) do { size_t __len0 = (size_t)(_klen); if (((\
* __len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbu\
* f)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { if ((\
* (!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\sr\
* c\\rdkafka_txnmgr.c",628, __FUNCTION__, (((void *)0)), "assert: " "r\
* kbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__tmpst\
* r, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0]\
* = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_\
* logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, s\
* izeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock);\
* rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_r\
* kb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protoc\
* ol read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%\
* s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining bytes (%\
* s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbu\
* f_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf\
* ->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__,\
* 628, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rk\
* buf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uf\
* low_mitigation : "incorrect broker.version.fallback?", __tmpstr); } \
* while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto\
* err_parse; } while (0); } } while (0); if((&Topic)->len > 0) { char\
* *tbuf = calloc(1,(&Topic)->len); __memcpy(tbuf,(&Topic)->str,(&Topi\
* c)->len); size_t ulen=(size_t)(&Topic)->len; size_t alen=ulen; utf8_\
* 2_ebcdic((&Topic)->str, &alen, tbuf, &ulen); free(tbuf); } } while (\
* 0);
@L872 DS 0H
TM 35(2),64
BNZ *+14 Around region break
ALGF 12,@lit_region_diff_2005_1_2
DROP 12
USING @REGION_2005_2,12
B @L898
DROP 12
USING @REGION_2005_1,12
@L876 DS 0H
LA 15,120(0,2)
STG 15,760(0,13)
LA 15,192(0,13)
STG 15,768(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_375 ; rd_slice_read_uvarint
@@gen_label547 DS 0H
BALR 14,15
@@gen_label548 DS 0H
LTGR 15,15
BE *+14 Around region break
ALGF 12,@lit_region_diff_2005_1_2
DROP 12
USING @REGION_2005_2,12
B @L879
DROP 12
USING @REGION_2005_1,12
@L880 DS 0H
LHI 15,3 ; 3
LTR 15,15
BH *+14 Around region break
ALGF 12,@lit_region_diff_2005_1_2
DROP 12
USING @REGION_2005_2,12
B @L883
DROP 12
USING @REGION_2005_1,12
@L884 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2005_1_2
DROP 12
USING @REGION_2005_2,12
B @L887
DROP 12
USING @REGION_2005_1,12
ALGF 12,@lit_region_diff_2005_1_2
@REGION_2005_2 DS 0H
DROP 12
USING @REGION_2005_2,12
LG 15,@lit_2005_376
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),628
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_378 ; rd_kafka_crash
@@gen_label552 DS 0H
BALR 14,15
@@gen_label553 DS 0H
@L887 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_376
LA 15,1600(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_380 ; snprintf
@@gen_label554 DS 0H
BALR 14,15
@@gen_label555 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label556 DS 0H
SRST 0,15
BC 1,@@gen_label556
SLGR 0,1
CGHI 0,2
BNE @L889
MVI 248(13),0
@L888 DS 0H
@L889 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_382 ; mtx_lock
@@gen_label558 DS 0H
BALR 14,15
@@gen_label559 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_384 ; rd_strlcpy
@@gen_label560 DS 0H
BALR 14,15
@@gen_label561 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_386 ; mtx_unlock
@@gen_label562 DS 0H
BALR 14,15
@@gen_label563 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_387 ; rd_kafka_ApiKey2str
@@gen_label564 DS 0H
BALR 14,15
@@gen_label565 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_388 ; rd_slice_offset
@@gen_label566 DS 0H
BALR 14,15
@@gen_label567 DS 0H
LGR 6,15
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_389 ; rd_slice_abs_offset
@@gen_label568 DS 0H
BALR 14,15
@@gen_label569 DS 0H
SLGR 8,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L892
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L893
DS 0D
@lit_2005_378 DC AD(rd_kafka_crash)
@lit_2005_377 DC AD(@DATA)
@lit_2005_376 DC AD(@strings@)
@lit_2005_380 DC AD(snprintf)
@lit_2005_382 DC AD(mtx_lock)
@lit_2005_384 DC AD(rd_strlcpy)
@lit_2005_386 DC AD(mtx_unlock)
@lit_2005_387 DC AD(rd_kafka_$Api$Key2str)
@lit_2005_388 DC AD(rd_slice_offset)
@lit_2005_389 DC AD(rd_slice_abs_offset)
@lit_2005_393 DC AD(rd_kafka_log0)
@lit_region_diff_2005_2_4 DC A(@REGION_2005_4-@REGION_2005_2)
@lit_2005_395 DC AD(rd_slice_read)
@lit_2005_419 DC AD(rd_slice_ensure_contig)
@lit_2005_439 DC AD(calloc)
@lit_2005_440 MVC 0(1,9),0(8)
@lit_2005_441 DC AD(utf8_2_ebcdic)
@lit_2005_442 DC AD(free)
@lit_region_diff_2005_2_3 DC A(@REGION_2005_3-@REGION_2005_2)
@L892 DS 0H
LG 15,@lit_2005_376
LA 15,1440(0,15)
@L893 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_376
LA 9,1476(0,1)
STG 9,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 6,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),628
XC 864(8,13),864(13)
STG 8,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_393 ; rd_kafka_log0
@@gen_label571 DS 0H
BALR 14,15
@@gen_label572 DS 0H
@L883 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_2_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_2,12
@L879 DS 0H
LG 15,192(0,13) ; _v
STG 15,184(0,13)
AHI 15,-1
ST 15,232(0,13)
LR 6,15
B @L894
@L898 DS 0H
LGHI 6,2 ; 2
LA 15,120(0,2)
STG 15,760(0,13)
LA 15,200(0,13)
STG 15,768(0,13)
STG 6,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_395 ; rd_slice_read
@@gen_label573 DS 0H
BALR 14,15
@@gen_label574 DS 0H
LTGR 15,15
BNZ @L901
@L902 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_389 ; rd_slice_abs_offset
@@gen_label576 DS 0H
BALR 14,15
@@gen_label577 DS 0H
SLGR 8,15
CLGR 6,8
BNH @L905
@L906 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L909
@L910 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L913
LG 15,@lit_2005_376
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),628
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_378 ; rd_kafka_crash
@@gen_label581 DS 0H
BALR 14,15
@@gen_label582 DS 0H
@L913 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_376
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_380 ; snprintf
@@gen_label583 DS 0H
BALR 14,15
@@gen_label584 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label585 DS 0H
SRST 0,15
BC 1,@@gen_label585
SLGR 0,1
CGHI 0,2
BNE @L915
MVI 248(13),0
@L914 DS 0H
@L915 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_382 ; mtx_lock
@@gen_label587 DS 0H
BALR 14,15
@@gen_label588 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_384 ; rd_strlcpy
@@gen_label589 DS 0H
BALR 14,15
@@gen_label590 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_386 ; mtx_unlock
@@gen_label591 DS 0H
BALR 14,15
@@gen_label592 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_387 ; rd_kafka_ApiKey2str
@@gen_label593 DS 0H
BALR 14,15
@@gen_label594 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_388 ; rd_slice_offset
@@gen_label595 DS 0H
BALR 14,15
@@gen_label596 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_389 ; rd_slice_abs_offset
@@gen_label597 DS 0H
BALR 14,15
@@gen_label598 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L918
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L919
@L918 DS 0H
LG 15,@lit_2005_376
LA 15,1440(0,15)
@L919 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_376
LA 14,1476(0,1)
STG 14,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 8,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),628
STG 6,864(0,13)
STG 9,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_393 ; rd_kafka_log0
@@gen_label600 DS 0H
BALR 14,15
@@gen_label601 DS 0H
@L909 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_2_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_2,12
@L905 DS 0H
@L901 DS 0H
LH 15,200(0,13) ; _v
ST 15,232(0,13)
CHSI 232(13),-1
BNE @L920
LHI 6,0 ; 0
B @L921
@L920 DS 0H
L 6,232(0,13)
@L921 DS 0H
@L894 DS 0H
CHSI 232(13),-1
BNE @L922
LGHI 15,0 ; 0
STG 15,240(0,13) ; offset of str in rd_kafkap_str_s
B @L923
@L922 DS 0H
CHSI 232(13),-1
BNE @L924
LHI 15,0 ; 0
B @L925
@L924 DS 0H
L 15,232(0,13)
@L925 DS 0H
LTR 15,15
BNE @L926
LG 15,@lit_2005_376
LA 15,964(0,15)
STG 15,240(0,13) ; offset of str in rd_kafkap_str_s
B @L923
@L926 DS 0H
LA 15,120(0,2)
STG 15,760(0,13)
LGFR 15,6
STG 15,768(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_419 ; rd_slice_ensure_contig
@@gen_label606 DS 0H
BALR 14,15
@@gen_label607 DS 0H
STG 15,240(0,13)
LTGR 15,15
BNZ @L923
@L929 DS 0H
LGFR 6,6
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_389 ; rd_slice_abs_offset
@@gen_label609 DS 0H
BALR 14,15
@@gen_label610 DS 0H
SLGR 8,15
CLGR 6,8
BNH @L932
@L933 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L936
@L937 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L940
LG 15,@lit_2005_376
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),628
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_378 ; rd_kafka_crash
@@gen_label614 DS 0H
BALR 14,15
@@gen_label615 DS 0H
@L940 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_376
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_380 ; snprintf
@@gen_label616 DS 0H
BALR 14,15
@@gen_label617 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label618 DS 0H
SRST 0,15
BC 1,@@gen_label618
SLGR 0,1
CGHI 0,2
BNE @L942
MVI 248(13),0
@L941 DS 0H
@L942 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_382 ; mtx_lock
@@gen_label620 DS 0H
BALR 14,15
@@gen_label621 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_384 ; rd_strlcpy
@@gen_label622 DS 0H
BALR 14,15
@@gen_label623 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_386 ; mtx_unlock
@@gen_label624 DS 0H
BALR 14,15
@@gen_label625 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_387 ; rd_kafka_ApiKey2str
@@gen_label626 DS 0H
BALR 14,15
@@gen_label627 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_388 ; rd_slice_offset
@@gen_label628 DS 0H
BALR 14,15
@@gen_label629 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_389 ; rd_slice_abs_offset
@@gen_label630 DS 0H
BALR 14,15
@@gen_label631 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L945
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L946
@L945 DS 0H
LG 15,@lit_2005_376
LA 15,1440(0,15)
@L946 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_376
LA 14,1476(0,1)
STG 14,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 8,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_377
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),628
STG 6,864(0,13)
STG 9,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_393 ; rd_kafka_log0
@@gen_label633 DS 0H
BALR 14,15
@@gen_label634 DS 0H
@L936 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_2_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_2,12
@L932 DS 0H
@L928 DS 0H
@L927 DS 0H
@L923 DS 0H
CHSI 232(13),0
BNH @L947
MVGHI 760(13),1
LGF 15,232(0,13)
STG 15,768(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_439 ; calloc
@@gen_label636 DS 0H
BALR 14,15
@@gen_label637 DS 0H
LGR 6,15
LGF 1,232(0,13)
LG 8,240(0,13)
LGR 9,6
LTGR 15,1
BZ @@gen_label640
AGHI 15,-1
SRAG 1,15,8(0)
LTGR 1,1
BZ @@gen_label639
@@gen_label638 DS 0H
MVC 0(256,9),0(8)
LA 9,256(0,9)
LA 8,256(0,8)
BCTG 1,@@gen_label638
@@gen_label639 DS 0H
EX 15,@lit_2005_440
@@gen_label640 DS 0H
LGF 15,232(0,13)
STG 15,256(0,13) ; ulen
STG 15,248(0,13) ; alen
LG 15,240(0,13)
STG 15,760(0,13)
LA 15,248(0,13)
STG 15,768(0,13)
STG 6,776(0,13)
LA 15,256(0,13)
STG 15,784(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_441 ; utf8_2_ebcdic
@@gen_label641 DS 0H
BALR 14,15
@@gen_label642 DS 0H
STG 6,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_442 ; free
@@gen_label643 DS 0H
BALR 14,15
@@gen_label644 DS 0H
@L947 DS 0H
* *** do { int32_t _v; do { size_t __len2 = (size_t)\
* (sizeof(_v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2\
* )) do { size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)-\
* >rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))\
* ) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)\
* ))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c"\
* ,629, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); }\
* while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr),\
* ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _\
* logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_st\
* rlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mt\
* x_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkb\
* uf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _lognam\
* e, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer under\
* flow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %\
* " "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiK\
* ey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion,\
* rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end\
* - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 629, __len0, ((&rkb\
* uf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)),\
* rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "in\
* correct broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)\
* ->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while \
* (0); } } while (0); } while (0); *(&PartCnt) = (_v); } while (0);
@L948 DS 0H
ALGF 12,@lit_region_diff_2005_2_3
@REGION_2005_3 DS 0H
DROP 12
USING @REGION_2005_3,12
@L951 DS 0H
LGHI 6,4 ; 4
LA 15,120(0,2)
STG 15,760(0,13)
LA 15,204(0,13)
STG 15,768(0,13)
STG 6,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_444 ; rd_slice_read
@@gen_label645 DS 0H
BALR 14,15
@@gen_label646 DS 0H
LTGR 15,15
BNZ @L954
@L955 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label648 DS 0H
BALR 14,15
@@gen_label649 DS 0H
SLGR 8,15
CLGR 6,8
BNH @L958
@L959 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L962
@L963 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L966
LG 15,@lit_2005_446
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),629
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_448 ; rd_kafka_crash
@@gen_label653 DS 0H
BALR 14,15
@@gen_label654 DS 0H
@L966 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_446
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_450 ; snprintf
@@gen_label655 DS 0H
BALR 14,15
@@gen_label656 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label657 DS 0H
SRST 0,15
BC 1,@@gen_label657
SLGR 0,1
CGHI 0,2
BNE @L968
MVI 248(13),0
@L967 DS 0H
@L968 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_452 ; mtx_lock
@@gen_label659 DS 0H
BALR 14,15
@@gen_label660 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_454 ; rd_strlcpy
@@gen_label661 DS 0H
BALR 14,15
@@gen_label662 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_456 ; mtx_unlock
@@gen_label663 DS 0H
BALR 14,15
@@gen_label664 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_457 ; rd_kafka_ApiKey2str
@@gen_label665 DS 0H
BALR 14,15
@@gen_label666 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_458 ; rd_slice_offset
@@gen_label667 DS 0H
BALR 14,15
@@gen_label668 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label669 DS 0H
BALR 14,15
@@gen_label670 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L971
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L972
DS 0D
@lit_2005_444 DC AD(rd_slice_read)
@lit_2005_445 DC AD(rd_slice_abs_offset)
@lit_2005_448 DC AD(rd_kafka_crash)
@lit_2005_447 DC AD(@DATA)
@lit_2005_446 DC AD(@strings@)
@lit_2005_450 DC AD(snprintf)
@lit_2005_452 DC AD(mtx_lock)
@lit_2005_454 DC AD(rd_strlcpy)
@lit_2005_456 DC AD(mtx_unlock)
@lit_2005_457 DC AD(rd_kafka_$Api$Key2str)
@lit_2005_458 DC AD(rd_slice_offset)
@lit_2005_463 DC AD(rd_kafka_log0)
@lit_region_diff_2005_3_4 DC A(@REGION_2005_4-@REGION_2005_3)
@lit_2005_465 DC AD(rd_kafka_topic_find0_fl)
@lit_2005_466 DC AD(rwlock_rdlock)
@lit_2005_512 DC AD(rd_kafka_toppar_get0)
@L971 DS 0H
LG 15,@lit_2005_446
LA 15,1440(0,15)
@L972 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_446
LA 14,1476(0,1)
STG 14,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 8,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),629
STG 6,864(0,13)
STG 9,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_463 ; rd_kafka_log0
@@gen_label672 DS 0H
BALR 14,15
@@gen_label673 DS 0H
@L962 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_3,12
@L958 DS 0H
@L954 DS 0H
L 15,204(0,13) ; _v
ST 15,180(0,13)
* ***
* *** rkt = rd_kafka_topic_find0_fl(__FUNCTION__,631\
* ,rk,&Topic);
LG 15,@lit_2005_447
LA 15,548(0,15)
STG 15,760(0,13)
MVGHI 768(13),631
STG 3,776(0,13)
LA 15,232(0,13)
STG 15,784(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_465 ; rd_kafka_topic_find0_fl
@@gen_label674 DS 0H
BALR 14,15
@@gen_label675 DS 0H
LTGR 8,15
* *** if (rkt)
BNZ *+14 Around region break
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @L977
DROP 12
USING @REGION_2005_3,12
* *** rwlock_rdlock(&(rkt)->rkt_lock);
LA 15,72(0,8)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_466 ; rwlock_rdlock
@@gen_label677 DS 0H
BALR 14,15
@@gen_label678 DS 0H
@L973 DS 0H
* ***
* *** while (PartCnt-- > 0) {
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @L977
DROP 12
USING @REGION_2005_3,12
@L976 DS 0H
* *** rd_kafka_toppar_t *rktp = ((void *)0);
LGHI 9,0 ; 0
* *** int32_t Partition;
* *** int16_t ErrorCode;
* *** int p_actions = 0;
LHI 6,0 ; 0
* ***
* *** do { int32_t _v; do { size_t __len2 = \
* (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v\
* , __len2)) do { size_t __len0 = (size_t)(__len2); if (((__len0 > ((&\
* (rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_re\
* ader))))) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf->rk\
* buf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_t\
* xnmgr.c",641, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_\
* rkb"); } while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__\
* tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do \
* { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock\
* ); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logna\
* me)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_lo\
* g0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk,\
* _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buff\
* er underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "ex\
* pected %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_ka\
* fka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.Api\
* Version, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_read\
* er)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 641, __len0\
* , ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_r\
* eader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigati\
* on : "incorrect broker.version.fallback?", __tmpstr); } while (0); }\
* (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; \
* } while (0); } } while (0); } while (0); *(&Partition) = (_v); } whi\
* le (0);
@L978 DS 0H
@L981 DS 0H
LGHI 15,4 ; 4
LA 1,120(0,2)
STG 1,760(0,13)
LA 1,216(0,13)
STG 1,768(0,13)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_444 ; rd_slice_read
@@gen_label679 DS 0H
BALR 14,15
@@gen_label680 DS 0H
LTGR 15,15
BNZ @L984
@L985 DS 0H
LG 15,152(0,2) ; offset of end in rd_slice_s
STG 15,900(0,13) ; spill
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label682 DS 0H
BALR 14,15
@@gen_label683 DS 0H
LG 1,900(0,13) ; spill
SLGR 1,15
LGHI 15,4 ; 4
CLGR 15,1
BNH @L988
@L989 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L992
@L993 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L996
LG 15,@lit_2005_446
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),641
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_448 ; rd_kafka_crash
@@gen_label687 DS 0H
BALR 14,15
@@gen_label688 DS 0H
@L996 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_446
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_450 ; snprintf
@@gen_label689 DS 0H
BALR 14,15
@@gen_label690 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label691 DS 0H
SRST 0,15
BC 1,@@gen_label691
SLGR 0,1
CGHI 0,2
BNE @L998
MVI 248(13),0
@L997 DS 0H
@L998 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_452 ; mtx_lock
@@gen_label693 DS 0H
BALR 14,15
@@gen_label694 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_454 ; rd_strlcpy
@@gen_label695 DS 0H
BALR 14,15
@@gen_label696 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_456 ; mtx_unlock
@@gen_label697 DS 0H
BALR 14,15
@@gen_label698 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_457 ; rd_kafka_ApiKey2str
@@gen_label699 DS 0H
BALR 14,15
@@gen_label700 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_458 ; rd_slice_offset
@@gen_label701 DS 0H
BALR 14,15
@@gen_label702 DS 0H
LGR 6,15
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label703 DS 0H
BALR 14,15
@@gen_label704 DS 0H
SLGR 8,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1001
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1002
@L1001 DS 0H
LG 15,@lit_2005_446
LA 15,1440(0,15)
@L1002 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_446
LA 9,1476(0,1)
STG 9,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 6,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),641
LGHI 1,4 ; 4
STG 1,864(0,13)
STG 8,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_463 ; rd_kafka_log0
@@gen_label706 DS 0H
BALR 14,15
@@gen_label707 DS 0H
@L992 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_3,12
@L988 DS 0H
@L984 DS 0H
L 15,216(0,13) ; _v
ST 15,208(0,13)
* *** do { int16_t _v; do { size_t __len2 = \
* (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v\
* , __len2)) do { size_t __len0 = (size_t)(__len2); if (((__len0 > ((&\
* (rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_re\
* ader))))) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf->rk\
* buf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_t\
* xnmgr.c",642, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_\
* rkb"); } while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__\
* tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do \
* { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock\
* ); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logna\
* me)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_lo\
* g0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk,\
* _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buff\
* er underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "ex\
* pected %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_ka\
* fka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.Api\
* Version, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_read\
* er)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 642, __len0\
* , ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_r\
* eader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigati\
* on : "incorrect broker.version.fallback?", __tmpstr); } while (0); }\
* (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; \
* } while (0); } } while (0); } while (0); *(&ErrorCode) = (int16_t)(_\
* v); } while (0);
@L1003 DS 0H
@L1006 DS 0H
LGHI 15,2 ; 2
LA 1,120(0,2)
STG 1,760(0,13)
LA 1,220(0,13)
STG 1,768(0,13)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_444 ; rd_slice_read
@@gen_label708 DS 0H
BALR 14,15
@@gen_label709 DS 0H
LTGR 15,15
BNZ @L1009
@L1010 DS 0H
LG 15,152(0,2) ; offset of end in rd_slice_s
STG 15,900(0,13) ; spill
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label711 DS 0H
BALR 14,15
@@gen_label712 DS 0H
LG 1,900(0,13) ; spill
SLGR 1,15
LGHI 15,2 ; 2
CLGR 15,1
BNH @L1013
@L1014 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L1017
@L1018 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1021
LG 15,@lit_2005_446
LA 1,434(0,15)
STG 1,760(0,13)
MVGHI 768(13),642
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,776(0,13)
XC 784(8,13),784(13)
LA 15,1410(0,15)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_448 ; rd_kafka_crash
@@gen_label716 DS 0H
BALR 14,15
@@gen_label717 DS 0H
@L1021 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
MVGHI 768(13),256
LG 15,@lit_2005_446
LA 15,1436(0,15)
STG 15,776(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_450 ; snprintf
@@gen_label718 DS 0H
BALR 14,15
@@gen_label719 DS 0H
LA 15,248(0,13)
LGR 1,15
LGHI 0,0
@@gen_label720 DS 0H
SRST 0,15
BC 1,@@gen_label720
SLGR 0,1
CGHI 0,2
BNE @L1023
MVI 248(13),0
@L1022 DS 0H
@L1023 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 5,5688 ; 5688
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_452 ; mtx_lock
@@gen_label722 DS 0H
BALR 14,15
@@gen_label723 DS 0H
LA 15,504(0,13)
STG 15,760(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_454 ; rd_strlcpy
@@gen_label724 DS 0H
BALR 14,15
@@gen_label725 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(5,15)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_456 ; mtx_unlock
@@gen_label726 DS 0H
BALR 14,15
@@gen_label727 DS 0H
LGH 15,184(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_457 ; rd_kafka_ApiKey2str
@@gen_label728 DS 0H
BALR 14,15
@@gen_label729 DS 0H
LGR 5,15
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_458 ; rd_slice_offset
@@gen_label730 DS 0H
BALR 14,15
@@gen_label731 DS 0H
LGR 6,15
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_445 ; rd_slice_abs_offset
@@gen_label732 DS 0H
BALR 14,15
@@gen_label733 DS 0H
SLGR 8,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1026
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1027
@L1026 DS 0H
LG 15,@lit_2005_446
LA 15,1440(0,15)
@L1027 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,768(0,13)
LA 1,504(0,13)
STG 1,776(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,784(0,13)
XC 792(8,13),792(13)
LG 1,@lit_2005_446
LA 9,1476(0,1)
STG 9,800(0,13)
LA 1,1488(0,1)
STG 1,808(0,13)
STG 5,816(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,824(0,13)
STG 6,832(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,840(0,13)
LG 1,@lit_2005_447
LA 1,548(0,1)
STG 1,848(0,13)
MVGHI 856(13),642
LGHI 1,2 ; 2
STG 1,864(0,13)
STG 8,872(0,13)
STG 15,880(0,13)
LA 15,248(0,13)
STG 15,888(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_463 ; rd_kafka_log0
@@gen_label735 DS 0H
BALR 14,15
@@gen_label736 DS 0H
@L1017 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @_err_parse@2005@1
DROP 12
USING @REGION_2005_3,12
@L1013 DS 0H
@L1009 DS 0H
MVC 212(2,13),220(13)
* ***
* *** if (rkt)
LTGR 15,8
BZ @L1028
* *** rktp = rd_kafka_toppar_get0(__\
* FUNCTION__,645,rkt,Partition,0);
LG 15,@lit_2005_447
LA 15,548(0,15)
STG 15,760(0,13)
MVGHI 768(13),645
STG 8,776(0,13)
LGF 15,208(0,13) ; Partition
STG 15,784(0,13)
XC 792(8,13),792(13)
LA 1,760(0,13)
LG 15,@lit_2005_512 ; rd_kafka_toppar_get0
@@gen_label738 DS 0H
BALR 14,15
@@gen_label739 DS 0H
LGR 9,15 ; rktp
@L1028 DS 0H
* ***
* ***
* ***
* *** if (!rktp) {
LTGR 15,9
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2005_3_4
DROP 12
USING @REGION_2005_4,12
B @L1039
DROP 12
USING @REGION_2005_3,12
* *** do { if ((((rkb)->rkb_rk->rk_c\
* onf.debug & (0x8000|0x80)))) { do { char _logname[256]; mtx_lock(&(r\
* kb)->rkb_logname_lock); rd_strlcpy(_logname, rkb->rkb_logname, sizeo\
* f(_logname)); mtx_unlock(&(rkb)->rkb_logname_lock); rd_kafka_log0(&(\
* rkb)->rkb_rk->rk_conf, (rkb)->rkb_rk, _logname, 7, (0x8000|0x80), "A\
* DDPARTS", "Unknown partition \"%.*s\" " "[%" "d" "] in AddPartitions\
* ToTxn " "response: ignoring", (int)((&Topic)->len == -1 ? 0 : (&Topi\
* c)->len), (&Topic)->str, Partition); } while (0); } } while (0);
ALGF 12,@lit_region_diff_2005_3_4
@REGION_2005_4 DS 0H
DROP 12
USING @REGION_2005_4,12
@L1030 DS 0H
LG 15,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
L 15,800(0,15)
NILF 15,X'00008080'
LTR 15,15
BZ @L977
@L1034 DS 0H
LGHI 6,5688 ; 5688
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_514 ; mtx_lock
@@gen_label742 DS 0H
BALR 14,15
@@gen_label743 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_516 ; rd_strlcpy
@@gen_label744 DS 0H
BALR 14,15
@@gen_label745 DS 0H
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_518 ; mtx_unlock
@@gen_label746 DS 0H
BALR 14,15
@@gen_label747 DS 0H
CHSI 232(13),-1
BNE @L1037
LHI 15,0 ; 0
B @L1038
DS 0D
@lit_2005_514 DC AD(mtx_lock)
@lit_2005_516 DC AD(rd_strlcpy)
@lit_2005_518 DC AD(mtx_unlock)
@lit_2005_522 DC AD(rd_kafka_log0)
@lit_2005_521 DC AD(@strings@)
@lit_2005_523 DC AD(rd_kafka_txn_partition_registered)
@lit_2005_525 DC FD'1' 0x0000000000000001
@lit_2005_526 DC FD'6' 0x0000000000000006
@lit_2005_527 DC FD'3' 0x0000000000000003
@lit_2005_528 DC FD'4' 0x0000000000000004
@lit_2005_536 DC AD(rd_kafka_err2str)
@lit_2005_550 DC AD(rd_refcnt_sub0)
@lit_2005_551 DC AD(rd_kafka_toppar_destroy_final)
@lit_region_diff_2005_4_3 DC A(@REGION_2005_4-@REGION_2005_3)
@lit_2005_552 DC AD(rwlock_rdunlock)
@lit_2005_553 DC AD(rd_kafka_topic_destroy0)
@lit_region_diff_2005_4_1 DC A(@REGION_2005_4-@REGION_2005_1)
@lit_2005_554 DC AD(rd_kafka_all_brokers_wakeup)
@lit_2005_557 DC AD(__assert)
@lit_2005_555 DC AD(@DATA)
@lit_region_diff_2005_4_5 DC A(@REGION_2005_5-@REGION_2005_4)
@lit_2005_558 DC AD(rwlock_wrlock)
@lit_2005_561 DC AD(rd_kafka_txn_coord_set)
@lit_2005_562 DC AD(rwlock_wrunlock)
@lit_2005_565 DC AD(rd_kafka_toppar_topic_cmp)
@L1037 DS 0H
L 15,232(0,13)
@L1038 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,4048(0,4)
STG 1,768(0,13)
LA 1,248(0,13)
STG 1,776(0,13)
MVGHI 784(13),7
LLILF 1,X'00008080' ; 32896
STG 1,792(0,13)
LG 1,@lit_2005_521
LA 6,1102(0,1)
STG 6,800(0,13)
LA 1,1626(0,1)
STG 1,808(0,13)
LGFR 15,15
STG 15,816(0,13)
LG 15,240(0,13)
STG 15,824(0,13)
LGF 15,208(0,13) ; Partition
STG 15,832(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_522 ; rd_kafka_log0
@@gen_label749 DS 0H
BALR 14,15
@@gen_label750 DS 0H
@L1033 DS 0H
* *** # 657 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** continue;
B @L977
* *** }
* ***
* *** switch (ErrorCode)
* *** {
* *** case RD_KAFKA_RESP_ERR_NO_ERROR:
@L1041 DS 0H
* ***
* *** rd_kafka_txn_partition_registe\
* red(rktp);
STG 9,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_523 ; rd_kafka_txn_partition_registered
@@gen_label751 DS 0H
BALR 14,15
@@gen_label752 DS 0H
* *** break;
B @L1040
* ***
* ***
* ***
* ***
* ***
* *** case RD_KAFKA_RESP_ERR_NOT_COORDINATOR\
* :
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_NOT\
* _AVAILABLE:
@L1043 DS 0H
* *** reset_coord_err = ErrorCode;
LH 11,212(0,13) ; ErrorCode
* *** p_actions |= 0x8;
OILL 6,8
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** request_error = 1;
MVI 202(13),1 ; request_error
* *** break;
B @L1040
* ***
* *** case RD_KAFKA_RESP_ERR_CONCURRENT_TRAN\
* SACTIONS:
@L1044 DS 0H
* *** retry_backoff_ms = 20;
LHI 15,20 ; 20
ST 15,896(0,13) ; spill
* ***
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_LOA\
* D_IN_PROGRESS:
@L1045 DS 0H
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_O\
* R_PART:
@L1046 DS 0H
* *** p_actions |= 0x8;
OILL 6,8
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** request_error = 1;
MVI 202(13),1 ; request_error
* *** break;
B @L1040
* ***
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCE\
* R_EPOCH:
* *** case RD_KAFKA_RESP_ERR_PRODUCER_FENCED\
* :
* *** case RD_KAFKA_RESP_ERR_TRANSACTIONAL_I\
* D_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_INVALID_TXN_STA\
* TE:
* *** case RD_KAFKA_RESP_ERR_CLUSTER_AUTHORI\
* ZATION_FAILED:
@L1051 DS 0H
* *** p_actions |= 0x200;
OILL 6,512
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** request_error = 1;
MVI 202(13),1 ; request_error
* *** break;
B @L1040
* ***
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_PRODUCE\
* R_ID:
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCE\
* R_ID_MAPPING:
@L1053 DS 0H
* *** p_actions |= 0x1;
OILL 6,1
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** request_error = 1;
MVI 202(13),1 ; request_error
* *** break;
B @L1040
* ***
* ***
* ***
* *** case RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZA\
* TION_FAILED:
@L1054 DS 0H
* *** p_actions |= 0x1;
OILL 6,1
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** break;
B @L1040
* ***
* *** case RD_KAFKA_RESP_ERR_OPERATION_NOT_A\
* TTEMPTED:
@L1055 DS 0H
* ***
* ***
* *** p_actions |= 0x1;
OILL 6,1
* *** if (!err)
LTR 5,5
BNZ @L1040
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
@L1056 DS 0H
* *** break;
B @L1040
* ***
* *** default:
* ***
* *** p_actions |= 0x1;
@L1057 DS 0H
OILL 6,1
* *** err = ErrorCode;
LH 5,212(0,13) ; ErrorCode
* *** break;
B @L1040
* *** }
@L1039 DS 0H
LH 15,212(0,13) ; ErrorCode
CHI 15,14
BNL @@gen_label754
LTR 15,15
BL @L1057
LTR 15,15
BE @L1041
CHI 15,3
BE @L1046
B @L1057
@@gen_label754 DS 0H
CHI 15,29
BNL @@gen_label755
AHI 15,-14
CLFI 15,X'00000002'
BH @L1057
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2005_525
BNZ @L1046
NG 1,@lit_2005_526
BNZ @L1043
B @L1057
@@gen_label755 DS 0H
CHI 15,47
BNL @@gen_label756
CHI 15,29
BE @L1054
CHI 15,31
BE @L1051
B @L1057
@@gen_label756 DS 0H
CHI 15,90
BNL @@gen_label757
CHI 15,59
BNL @@gen_label758
CHI 15,51
BNL @@gen_label759
AHI 15,-47
CLFI 15,X'00000002'
BH @L1057
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2005_527
BNZ @L1051
NG 1,@lit_2005_528
BNZ @L1053
B @L1057
@@gen_label759 DS 0H
CHI 15,51
BE @L1044
CHI 15,53
BE @L1051
CHI 15,55
BE @L1055
B @L1057
@@gen_label758 DS 0H
CHI 15,59
BE @L1053
B @L1057
@@gen_label757 DS 0H
CHI 15,90
BE @L1051
B @L1057
@L1040 DS 0H
* ***
* *** if (ErrorCode) {
LH 15,212(0,13) ; ErrorCode
LTR 15,15
BZ @L1075
* *** actions |= p_actions;
OR 7,6
* ***
* *** if (!(p_actions &
* *** (0x200 |
* *** 0x1)))
NILF 6,X'00000201'
LTR 6,6
BNZ @L1070
* *** do { if ((((rkb)->rkb_\
* rk->rk_conf.debug & (0x8000)))) { do { char _logname[256]; mtx_lock(\
* &(rkb)->rkb_logname_lock); rd_strlcpy(_logname, rkb->rkb_logname, si\
* zeof(_logname)); mtx_unlock(&(rkb)->rkb_logname_lock); rd_kafka_log0\
* (&(rkb)->rkb_rk->rk_conf, (rkb)->rkb_rk, _logname, 7, (0x8000), "ADD\
* PARTS", "AddPartitionsToTxn response: " "partition \"%.*s\": " "[%" \
* "d" "]: %s", (int)((&Topic)->len == -1 ? 0 : (&Topic)->len), (&Topic\
* )->str, Partition, rd_kafka_err2str( ErrorCode)); } while (0); } } w\
* hile (0);
@L1060 DS 0H
LG 15,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L1075
@L1064 DS 0H
LGHI 6,5688 ; 5688
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_514 ; mtx_lock
@@gen_label763 DS 0H
BALR 14,15
@@gen_label764 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_516 ; rd_strlcpy
@@gen_label765 DS 0H
BALR 14,15
@@gen_label766 DS 0H
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_518 ; mtx_unlock
@@gen_label767 DS 0H
BALR 14,15
@@gen_label768 DS 0H
CHSI 232(13),-1
BNE @L1067
LHI 6,0 ; 0
B @L1068
@L1067 DS 0H
L 6,232(0,13)
@L1068 DS 0H
LH 15,212(0,13) ; ErrorCode
LGFR 15,15
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_536 ; rd_kafka_err2str
@@gen_label770 DS 0H
BALR 14,15
@@gen_label771 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,4048(0,4)
STG 1,768(0,13)
LA 1,248(0,13)
STG 1,776(0,13)
MVGHI 784(13),7
LLILF 1,X'00008000' ; 32768
STG 1,792(0,13)
LG 1,@lit_2005_521
LA 14,1102(0,1)
STG 14,800(0,13)
LA 1,1698(0,1)
STG 1,808(0,13)
LGFR 1,6
STG 1,816(0,13)
LG 1,240(0,13)
STG 1,824(0,13)
LGF 1,208(0,13) ; Partition
STG 1,832(0,13)
STG 15,840(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_522 ; rd_kafka_log0
@@gen_label772 DS 0H
BALR 14,15
@@gen_label773 DS 0H
@L1063 DS 0H
* *** # 744 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** else
B @L1075
* *** do { char _logname[256\
* ]; mtx_lock(&(rkb)->rkb_logname_lock); rd_strlcpy(_logname, rkb->rkb\
* _logname, sizeof(_logname)); mtx_unlock(&(rkb)->rkb_logname_lock); r\
* d_kafka_log0(&(rkb)->rkb_rk->rk_conf, (rkb)->rkb_rk, _logname, 3, 0x\
* 0, "ADDPARTS", "Failed to add partition " "\"%.*s\" [%" "d" "] to " \
* "transaction: %s", (int)((&Topic)->len == -1 ? 0 : (&Topic)->len), (\
* &Topic)->str, Partition, rd_kafka_err2str( ErrorCode)); } while (0);
@L1070 DS 0H
LGHI 6,5688 ; 5688
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_514 ; mtx_lock
@@gen_label774 DS 0H
BALR 14,15
@@gen_label775 DS 0H
LA 15,248(0,13)
STG 15,760(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,768(0,13)
MVGHI 776(13),256
LA 1,760(0,13)
LG 15,@lit_2005_516 ; rd_strlcpy
@@gen_label776 DS 0H
BALR 14,15
@@gen_label777 DS 0H
LA 15,0(6,4)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_518 ; mtx_unlock
@@gen_label778 DS 0H
BALR 14,15
@@gen_label779 DS 0H
CHSI 232(13),-1
BNE @L1073
LHI 6,0 ; 0
B @L1074
@L1073 DS 0H
L 6,232(0,13)
@L1074 DS 0H
LH 15,212(0,13) ; ErrorCode
LGFR 15,15
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_536 ; rd_kafka_err2str
@@gen_label781 DS 0H
BALR 14,15
@@gen_label782 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,760(0,13)
LG 1,4048(0,4)
STG 1,768(0,13)
LA 1,248(0,13)
STG 1,776(0,13)
MVGHI 784(13),3
XC 792(8,13),792(13)
LG 1,@lit_2005_521
LA 14,1102(0,1)
STG 14,800(0,13)
LA 1,1754(0,1)
STG 1,808(0,13)
LGFR 1,6
STG 1,816(0,13)
LG 1,240(0,13)
STG 1,824(0,13)
LGF 1,208(0,13) ; Partition
STG 1,832(0,13)
STG 15,840(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_522 ; rd_kafka_log0
@@gen_label783 DS 0H
BALR 14,15
@@gen_label784 DS 0H
* *** # 754 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** }
@L1069 DS 0H
@L1058 DS 0H
* ***
* *** do { rd_kafka_toppar_t *_RKTP = (rktp)\
* ; if (((rd_refcnt_sub0(&_RKTP->rktp_refcnt) == 0))) rd_kafka_toppar_\
* destroy_final(_RKTP); } while (0);
@L1075 DS 0H
LA 15,144(0,9)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_550 ; rd_refcnt_sub0
@@gen_label785 DS 0H
BALR 14,15
@@gen_label786 DS 0H
LTR 15,15
BNE @L1078
STG 9,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_551 ; rd_kafka_toppar_destroy_final
@@gen_label788 DS 0H
BALR 14,15
@@gen_label789 DS 0H
@L1078 DS 0H
* ***
* *** if (request_error)
CLI 202(13),0
BNE @L974
* *** break;
@L1079 DS 0H
* *** }
@L975 DS 0H
@L977 DS 0H
L 15,180(0,13) ; PartCnt
LR 1,15
AHI 1,-1
ST 1,180(0,13) ; PartCnt
LTR 15,15
BNH *+14 Around region break
SLGF 12,@lit_region_diff_2005_4_3
DROP 12
USING @REGION_2005_3,12
B @L976
DROP 12
USING @REGION_2005_4,12
@L974 DS 0H
* ***
* *** if (rkt) {
LTGR 15,8
BZ @L1080
* *** rwlock_rdunlock(&(rkt)->rkt_lock);
LA 15,72(0,8)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_552 ; rwlock_rdunlock
@@gen_label793 DS 0H
BALR 14,15
@@gen_label794 DS 0H
* *** rd_kafka_topic_destroy0(rkt);
STG 8,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_553 ; rd_kafka_topic_destroy0
@@gen_label795 DS 0H
BALR 14,15
@@gen_label796 DS 0H
* *** }
@L1080 DS 0H
* ***
* *** if (request_error)
CLI 202(13),0
BNE @L868
* *** break;
@L1081 DS 0H
* *** }
@L871 DS 0H
L 15,224(0,13) ; TopicCnt
LR 1,15
AHI 1,-1
ST 1,224(0,13) ; TopicCnt
LTR 15,15
BNH *+14 Around region break
SLGF 12,@lit_region_diff_2005_4_1
DROP 12
USING @REGION_2005_1,12
B @L870
DROP 12
USING @REGION_2005_4,12
@L868 DS 0H
* ***
* *** if (actions)
LTR 7,7
BNZ @_done@2005@0
* *** goto done;
@L1082 DS 0H
* ***
* ***
* ***
* *** rd_kafka_all_brokers_wakeup(rk, RD_KAFKA_BROKER_STATE_\
* INIT);
STG 3,760(0,13)
XC 768(8,13),768(13)
LA 1,760(0,13)
LG 15,@lit_2005_554 ; rd_kafka_all_brokers_wakeup
@@gen_label800 DS 0H
BALR 14,15
@@gen_label801 DS 0H
* ***
* *** goto done;
B @_done@2005@0
* ***
* *** err_parse:
* *** err = rkbuf->rkbuf_err;
@_err_parse@2005@1 DS 0H
L 5,392(0,2) ; offset of rkbuf_err in rd_kafka_buf_s
* *** actions |= 0x1;
OILL 7,1
* ***
* *** done:
* *** if (err) {
@_done@2005@0 DS 0H
LTR 5,5
BZ @L1086
* *** ((rk->rk_eos.txn_req_cnt > 0) ? (void)0 : __as\
* sert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c", 78\
* 6, "rk->rk_eos.txn_req_cnt > 0"));
CHSI 3600(3),0
BH @L1085
@L1084 DS 0H
LG 15,@lit_2005_555
LA 15,548(0,15)
STG 15,760(0,13)
LG 15,@lit_2005_521
LA 1,434(0,15)
STG 1,768(0,13)
MVGHI 776(13),786
LA 15,1810(0,15)
STG 15,784(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_557 ; __assert
@@gen_label804 DS 0H
BALR 14,15
@@gen_label805 DS 0H
@L1085 DS 0H
* *** rk->rk_eos.txn_req_cnt--;
L 15,3600(0,3)
AHI 15,-1
ST 15,3600(0,3)
* *** }
@L1083 DS 0H
* ***
* ***
* *** switch (err)
B @L1086
* *** {
* *** case RD_KAFKA_RESP_ERR_NO_ERROR:
* *** break;
* ***
* *** case RD_KAFKA_RESP_ERR__DESTROY:
* *** case RD_KAFKA_RESP_ERR__OUTDATED:
@L1090 DS 0H
* ***
* *** return;
* ***
* *** case RD_KAFKA_RESP_ERR__TRANSPORT:
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT:
* *** default:
* ***
* ***
* ***
* ***
* ***
* *** rk->rk_eos.txn_req_cnt++;
@L1093 DS 0H
L 15,3600(0,3)
AHI 15,1
ST 15,3600(0,3)
* *** actions |= 0x8;
OILL 7,8
* *** break;
B @L1087
* *** }
@L1086 DS 0H
CHI 5,-185
BNL @@gen_label806
CHI 5,-197
BL @L1093
CHI 5,-197
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @ret_lab_2005
DROP 12
USING @REGION_2005_4,12
CHI 5,-195
BE @L1093
B @L1093
@@gen_label806 DS 0H
CHI 5,-185
BE @L1093
CHI 5,-167
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @ret_lab_2005
DROP 12
USING @REGION_2005_4,12
LTR 5,5
BNE @L1093
@L1087 DS 0H
* ***
* *** if (reset_coord_err) {
LTR 11,11
BZ @L1094
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_558 ; rwlock_wrlock
@@gen_label808 DS 0H
BALR 14,15
@@gen_label809 DS 0H
* *** rd_kafka_txn_coord_set(rk, ((void *)0),
* *** "AddPartitionsToTxn fai\
* led: %s",
* *** rd_kafka_err2str(reset_\
* coord_err));
LGFR 15,11
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_536 ; rd_kafka_err2str
@@gen_label810 DS 0H
BALR 14,15
@@gen_label811 DS 0H
STG 3,760(0,13)
XC 768(8,13),768(13)
LG 1,@lit_2005_521
LA 1,1838(0,1)
STG 1,776(0,13)
STG 15,784(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_561 ; rd_kafka_txn_coord_set
@@gen_label812 DS 0H
BALR 14,15
@@gen_label813 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_562 ; rwlock_wrunlock
@@gen_label814 DS 0H
BALR 14,15
@@gen_label815 DS 0H
* *** }
@L1094 DS 0H
* ***
* ***
* *** # 828 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** mtx_lock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_514 ; mtx_lock
@@gen_label816 DS 0H
BALR 14,15
@@gen_label817 DS 0H
* *** do { rd_kafka_toppar_t * _cstmp; rd_kafka_toppar_t * _\
* cstmp2; if ((((&rk->rk_eos.txn_pending_rktps)->tqh_first) == (((void\
* *)0)))) { do { if (!(((&rk->rk_eos.txn_waitresp_rktps)->tqh_first) \
* == (((void *)0)))) { *(&rk->rk_eos.txn_pending_rktps)->tqh_last = (&\
* rk->rk_eos.txn_waitresp_rktps)->tqh_first; (&rk->rk_eos.txn_waitresp\
* _rktps)->tqh_first->rktp_txnlink .tqe_prev = (&rk->rk_eos.txn_pendin\
* g_rktps)->tqh_last; (&rk->rk_eos.txn_pending_rktps)->tqh_last = (&rk\
* ->rk_eos.txn_waitresp_rktps)->tqh_last; do { ((&rk->rk_eos.txn_waitr\
* esp_rktps))->tqh_first = (((void *)0)); ((&rk->rk_eos.txn_waitresp_r\
* ktps))->tqh_last = &((&rk->rk_eos.txn_waitresp_rktps))->tqh_first; }\
* while ( 0); } } while ( 0); break; } for ((_cstmp) = ((&rk->rk_eos.\
* txn_waitresp_rktps)->tqh_first); (_cstmp) != (((void *)0)) && ((_cst\
* mp2) = ((_cstmp)->rktp_txnlink .tqe_next), 1); (_cstmp) = (_cstmp2))\
* { do { if(((&rk->rk_eos.txn_pending_rktps)->tqh_first) == ((void *)\
* 0)) { do { if (((_cstmp)->rktp_txnlink .tqe_next = (&rk->rk_eos.txn\
* _pending_rktps)->tqh_first) != (((void *)0))) (&rk->rk_eos.txn_pendi\
* ng_rktps)->tqh_first->rktp_txnlink .tqe_prev = &(_cstmp)->rktp_txnli\
* nk .tqe_next; else (&rk->rk_eos.txn_pending_rktps)->tqh_last = &(_cs\
* tmp)->rktp_txnlink .tqe_next; (&rk->rk_eos.txn_pending_rktps)->tqh_f\
* irst = (_cstmp); (_cstmp)->rktp_txnlink .tqe_prev = &(&rk->rk_eos.tx\
* n_pending_rktps)->tqh_first; } while ( 0); } else { rd_kafka_toppar_\
* t * _tmp; for ((_tmp) = ((&rk->rk_eos.txn_pending_rktps)->tqh_first)\
* ; (_tmp) != (((void *)0)); (_tmp) = ((_tmp)->rktp_txnlink .tqe_next)\
* ) { if(rd_kafka_toppar_topic_cmp(_cstmp,_tmp) < 0) { do { (_cstmp)-\
* >rktp_txnlink .tqe_prev = (_tmp)->rktp_txnlink .tqe_prev; (_cstmp)->\
* rktp_txnlink .tqe_next = (_tmp); *(_tmp)->rktp_txnlink .tqe_prev = (\
* _cstmp); (_tmp)->rktp_txnlink .tqe_prev = &(_cstmp)->rktp_txnlink .t\
* qe_next; } while ( 0); break; } if(!((_tmp)->rktp_txnlink .tqe_next)\
* ) { do { if (((_cstmp)->rktp_txnlink .tqe_next = (_tmp)->rktp_txnli\
* nk .tqe_next) != (((void *)0))) (_cstmp)->rktp_txnlink .tqe_next->rk\
* tp_txnlink .tqe_prev = &(_cstmp)->rktp_txnlink .tqe_next; else (&rk-\
* >rk_eos.txn_pending_rktps)->tqh_last = &(_cstmp)->rktp_txnlink .tqe_\
* next; (_tmp)->rktp_txnlink .tqe_next = (_cstmp); (_cstmp)->rktp_txnl\
* ink .tqe_prev = &(_tmp)->rktp_txnlink .tqe_next; } while ( 0); break\
* ; } } } } while(0); } do { (&rk->rk_eos.txn_waitresp_rktps)->tqh_fir\
* st = (((void *)0)); (&rk->rk_eos.txn_waitresp_rktps)->tqh_last = &(&\
* rk->rk_eos.txn_waitresp_rktps)->tqh_first; } while ( 0); } while (0)\
* ;
@L1095 DS 0H
LTG 15,3704(0,3) ; offset of txn_pending_rktps in 0000146
BNE @L1098
@L1099 DS 0H
LTG 15,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1096
DROP 12
USING @REGION_2005_4,12
LG 15,3712(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
LG 1,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
STG 1,0(0,15)
LG 15,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
LG 1,3712(0,3) ; offset of tqh_last in rd_kafka_toppar_tqhe*
ad_s
STG 1,88(0,15) ; offset of tqe_prev in 0000134
LG 15,3728(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
STG 15,3712(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1103 DS 0H
LGHI 15,0 ; 0
STG 15,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
LA 15,3720(0,3)
STG 15,3728(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1102 DS 0H
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1096
DROP 12
USING @REGION_2005_4,12
@L1098 DS 0H
LG 2,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1107
DROP 12
USING @REGION_2005_4,12
@L1111 DS 0H
LTG 15,3704(0,3) ; offset of txn_pending_rktps in 0000146
BNE @L1114
@L1115 DS 0H
LG 15,3704(0,3) ; offset of txn_pending_rktps in 0000146
STG 15,80(0,2)
LTGR 15,15
BE @L1118
LG 15,3704(0,3) ; offset of txn_pending_rktps in 0000146
LA 1,80(0,2)
STG 1,88(0,15) ; offset of tqe_prev in 0000134
B @L1119
@L1118 DS 0H
LA 15,80(0,2)
STG 15,3712(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1119 DS 0H
STG 2,3704(0,3) ; offset of txn_pending_rktps in 0000146
LA 15,3704(0,3)
STG 15,88(0,2) ; offset of tqe_prev in 0000134
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1120
DROP 12
USING @REGION_2005_4,12
@L1114 DS 0H
LG 6,3704(0,3) ; offset of txn_pending_rktps in 0000146
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1122
DROP 12
USING @REGION_2005_4,12
@L1121 DS 0H
STG 2,760(0,13)
STG 6,768(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_565 ; rd_kafka_toppar_topic_cmp
@@gen_label822 DS 0H
BALR 14,15
@@gen_label823 DS 0H
LTR 15,15
BL *+14 Around region break
ALGF 12,@lit_region_diff_2005_4_5
DROP 12
USING @REGION_2005_5,12
B @L1125
DROP 12
USING @REGION_2005_4,12
ALGF 12,@lit_region_diff_2005_4_5
@REGION_2005_5 DS 0H
DROP 12
USING @REGION_2005_5,12
@L1126 DS 0H
LG 15,88(0,6) ; offset of tqe_prev in 0000134
STG 15,88(0,2) ; offset of tqe_prev in 0000134
STG 6,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
LG 15,88(0,6) ; offset of tqe_prev in 0000134
STG 2,0(0,15)
LA 15,80(0,2)
STG 15,88(0,6) ; offset of tqe_prev in 0000134
B @L1123
DS 0D
@lit_region_diff_2005_5_4 DC A(@REGION_2005_5-@REGION_2005_4)
@lit_2005_567 DC AD(mtx_unlock)
@lit_2005_568 DC AD(rd_kafka_txn_normalize_err)
@lit_2005_569 DC AD(rd_kafka_err2str)
@lit_2005_571 DC AD(rd_kafka_txn_set_fatal_error)
@lit_2005_570 DC AD(@strings@)
@lit_2005_572 DC AD(rd_kafka_broker_name)
@lit_2005_576 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2005_575 DC F'1000' 0x000003e8
@lit_2005_578 DC AD(rd_kafka_txn_schedule_register_partitions)
@L1125 DS 0H
LTG 15,80(0,6) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
BNZ @L1129
@L1130 DS 0H
LG 15,80(0,6) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
STG 15,80(0,2)
LTGR 15,15
BE @L1133
LG 15,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
LA 1,80(0,2)
STG 1,88(0,15) ; offset of tqe_prev in 0000134
B @L1134
@L1133 DS 0H
LA 15,80(0,2)
STG 15,3712(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1134 DS 0H
STG 2,80(0,6) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
LA 15,80(0,6)
STG 15,88(0,2) ; offset of tqe_prev in 0000134
B @L1123
@L1129 DS 0H
LG 6,80(0,6) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
@L1122 DS 0H
LTGR 15,6
BE *+14 Around region break
SLGF 12,@lit_region_diff_2005_5_4
DROP 12
USING @REGION_2005_4,12
B @L1121
DROP 12
USING @REGION_2005_5,12
@L1123 DS 0H
@L1120 DS 0H
LGR 2,8 ; _cstmp
@L1107 DS 0H
LTGR 15,2
BE @L1135
LG 8,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
SLGF 12,@lit_region_diff_2005_5_4
DROP 12
USING @REGION_2005_4,12
B @L1111
DROP 12
USING @REGION_2005_5,12
@L1135 DS 0H
LGHI 15,0 ; 0
STG 15,3720(0,3) ; offset of txn_waitresp_rktps in 0000146
LA 15,3720(0,3)
STG 15,3728(0,3) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1096 DS 0H
* ***
* ***
* ***
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,3)
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_567 ; mtx_unlock
@@gen_label829 DS 0H
BALR 14,15
@@gen_label830 DS 0H
* ***
* *** err = rd_kafka_txn_normalize_err(err);
LGFR 15,5
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_568 ; rd_kafka_txn_normalize_err
@@gen_label831 DS 0H
BALR 14,15
@@gen_label832 DS 0H
LR 5,15 ; err
* ***
* *** if (actions & 0x200) {
LR 15,7
NILF 15,X'00000200'
LTR 15,15
BZ @L1138
* *** rd_kafka_txn_set_fatal_error(rk, RD_DO_LOCK, e\
* rr,
* *** "Failed to add pa\
* rtitions to "
* *** rd_kafka_err2str(\
* err));
LGFR 15,5
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_569 ; rd_kafka_err2str
@@gen_label834 DS 0H
BALR 14,15
@@gen_label835 DS 0H
STG 3,760(0,13)
MVGHI 768(13),1
LGFR 1,5
STG 1,776(0,13)
* *** "transaction: %s"\
* ,
LG 1,@lit_2005_570
LA 1,1868(0,1)
STG 1,784(0,13)
STG 15,792(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_571 ; rd_kafka_txn_set_fatal_error
@@gen_label836 DS 0H
BALR 14,15
@@gen_label837 DS 0H
* ***
* *** } else if (actions & 0x1) {
B @L1139
@L1138 DS 0H
TML 7,1
BZ @L1140
* ***
* *** rd_kafka_txn_set_abortable_error0(rk,err,0,"Fa\
* iled to add partition(s) to transaction " "on broker %s: %s (after %\
* d ms)", rd_kafka_broker_name(rkb), rd_kafka_err2str(err), (int)(requ\
* est->rkbuf_ts_sent/1000));
STG 4,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_572 ; rd_kafka_broker_name
@@gen_label839 DS 0H
BALR 14,15
@@gen_label840 DS 0H
LGR 2,15
LGFR 15,5
STG 15,760(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_569 ; rd_kafka_err2str
@@gen_label841 DS 0H
BALR 14,15
@@gen_label842 DS 0H
STG 3,760(0,13)
LGFR 1,5
STG 1,768(0,13)
XC 776(8,13),776(13)
LG 1,@lit_2005_570
LA 1,1912(0,1)
STMG 1,2,784(13)
STG 15,800(0,13)
LG 15,32(0,10) ; request
LG 3,344(0,15) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 2,@lit_2005_575
LGFR 15,3
STG 15,808(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_576 ; rd_kafka_txn_set_abortable_error0
@@gen_label843 DS 0H
BALR 14,15
@@gen_label844 DS 0H
* ***
* *** # 853 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** } else {
B @L1139
@L1140 DS 0H
* ***
* *** rd_kafka_txn_schedule_register_partitions(
* *** rk,
* *** (actions & 0x8) ?
TML 7,8
BZ @L1142
* *** retry_backoff_ms : 1);
L 15,896(0,13) ; spill
B @L1143
@L1142 DS 0H
LHI 15,1 ; 1
@L1143 DS 0H
STG 3,760(0,13)
LGFR 15,15
STG 15,768(0,13)
LA 1,760(0,13)
LG 15,@lit_2005_578 ; rd_kafka_txn_schedule_register_partit*
ions
@@gen_label846 DS 0H
BALR 14,15
@@gen_label847 DS 0H
* ***
* *** }
@L1141 DS 0H
* *** }
@L1139 DS 0H
@ret_lab_2005 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_handle_AddPartition
* sToTxn"
* (FUNCTION #2005)
*
@AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn DSECT
DS XL168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#65 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#64 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#57 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#56 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#p_actions#54 DS 1F ; p_actio*
ns
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#48 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#47 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#39 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#33 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#32 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_r#25 DS 8XL1 ; _r
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_klen#23 DS 1F ; _klen
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#16 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#15 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len0#8 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__len2#7 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_throttle_time_ms#5 DS 1F ; *
_throttle_time_ms
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#reset_coord_err#0 DS 1F ; re*
set_coord_err
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#retry_backoff_ms#0 DS 1F ; r*
etry_backoff_ms
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#actions#0 DS 1F ; actions
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+168
rd_kafka_txn_handle_$Add$Partitions$To$Txn#log_decode_errors#0 DS 1F ; *
log_decode_errors
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+172
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#6 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+176
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#14 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+180
rd_kafka_txn_handle_$Add$Partitions$To$Txn#$Part$Cnt#22 DS 1F ; PartCnt
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+184
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_uva#24 DS 8XL1 ; _uva
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+192
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#25 DS 8XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+200
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#31 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+202
rd_kafka_txn_handle_$Add$Partitions$To$Txn#request_error#22 DS 1CL1 ; r*
equest_error
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+204
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#46 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+208
rd_kafka_txn_handle_$Add$Partitions$To$Txn#$Partition#54 DS 1F ; Partit*
ion
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+212
rd_kafka_txn_handle_$Add$Partitions$To$Txn#$Error$Code#54 DS 2XL1 ; Err*
orCode
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+216
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#55 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+220
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_v#63 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+224
rd_kafka_txn_handle_$Add$Partitions$To$Txn#$Topic$Cnt#0 DS 1F ; TopicCn*
t
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+228
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#20 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+228
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#12 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+228
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#4 DS 256XL1 ; _logn*
ame
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+232
rd_kafka_txn_handle_$Add$Partitions$To$Txn#$Topic#22 DS 16XL1 ; Topic
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#80 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#79 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#74 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#69 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#61 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#52 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#alen#45 DS 8XL1 ; alen
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#43 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#37 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+248
rd_kafka_txn_handle_$Add$Partitions$To$Txn#__tmpstr#28 DS 256XL1 ; __tm*
pstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+256
rd_kafka_txn_handle_$Add$Partitions$To$Txn#ulen#45 DS 8XL1 ; ulen
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+484
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#21 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+484
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#13 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#70 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#62 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#53 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#44 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#38 DS 256XL1 ; _log*
name
ORG @AUTO#rd_kafka_txn_handle_$Add$Partitions$To$Txn+504
rd_kafka_txn_handle_$Add$Partitions$To$Txn#_logname#29 DS 256XL1 ; _log*
name
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_register_partitions
@LNAME2006 DS 0H
DC X'00000020'
DC C'rd_kafka_txn_register_partitions'
DC X'00'
rd_kafka_txn_register_partitions DCCPRLG CINDEX=2006,BASER=12,FRAME=105*
6,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2006
* ******* End of Prologue
* *
* *** char errstr[512];
LG 2,0(0,1) ; rk
* *** rd_kafka_resp_err_t err;
* *** rd_kafka_error_t *error;
* *** rd_kafka_pid_t pid;
* ***
* ***
* *** rwlock_rdlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_615 ; rwlock_rdlock
@@gen_label848 DS 0H
BALR 14,15
@@gen_label849 DS 0H
* *** error = rd_kafka_txn_require_states0(rk, (rd_kafka_txn\
* _state_t[]){ RD_KAFKA_TXN_STATE_IN_TRANSACTION, RD_KAFKA_TXN_STATE_B\
* EGIN_COMMIT, -1 });
MVHI 168(13),4
MVHI 172(13),5
MVHI 176(13),-1
STG 2,968(0,13)
LA 15,168(0,13)
STG 15,976(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_616 ; rd_kafka_txn_require_states0
@@gen_label850 DS 0H
BALR 14,15
@@gen_label851 DS 0H
LGR 3,15
* ***
* ***
* ***
* *** if (((error != ((void *)0)))) {
LTGR 15,3
BE @L1144
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_617 ; rwlock_rdunlock
@@gen_label853 DS 0H
BALR 14,15
@@gen_label854 DS 0H
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDPARTS","No\
* t registering partitions: %s", rd_kafka_error_string(error)); } whil\
* e (0);
@L1145 DS 0H
TM 802(2),128
BZ @L1148
STG 3,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_618 ; rd_kafka_error_string
@@gen_label856 DS 0H
BALR 14,15
@@gen_label857 DS 0H
LA 1,528(0,2)
STMG 1,2,968(13)
XC 984(8,13),984(13)
MVGHI 992(13),7
LLILF 1,X'00008000' ; 32768
STG 1,1000(0,13)
LG 1,@lit_2006_620
LA 2,1102(0,1)
STG 2,1008(0,13)
LA 1,1986(0,1)
STG 1,1016(0,13)
STG 15,1024(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label858 DS 0H
BALR 14,15
@@gen_label859 DS 0H
@L1148 DS 0H
* ***
* ***
* *** rd_kafka_error_destroy(error);
STG 3,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_622 ; rd_kafka_error_destroy
@@gen_label860 DS 0H
BALR 14,15
@@gen_label861 DS 0H
* *** return;
B @ret_lab_2006
DS 0D
@FRAMESIZE_2006 DC F'1056'
@lit_2006_615 DC AD(rwlock_rdlock)
@lit_2006_616 DC AD(rd_kafka_txn_require_states0)
@lit_2006_617 DC AD(rwlock_rdunlock)
@lit_2006_618 DC AD(rd_kafka_error_string)
@lit_2006_621 DC AD(rd_kafka_log0)
@lit_2006_620 DC AD(@strings@)
@lit_2006_622 DC AD(rd_kafka_error_destroy)
@lit_2006_623 DC AD(rd_kafka_idemp_get_pid0)
@lit_2006_625 DC AD(rd_kafka_broker_is_up)
@lit_2006_629 DC AD(mtx_lock)
@lit_2006_630 DC AD(mtx_unlock)
@lit_2006_636 DC AD(rd_kafka_idemp_state2str)
@lit_2006_641 DC AD(rd_kafka_replyq_make)
@lit_2006_640 DC AD(@DATA)
@lit_2006_643 DC AD(rd_kafka_$Add$Partitions$To$Txn$Request)
@lit_2006_642 DC AD(rd_kafka_txn_handle_$Add$Partitions$To$Txn)
@lit_2006_653 DC AD(rd_strlcpy)
* *** }
@L1144 DS 0H
* ***
* ***
* *** pid = rd_kafka_idemp_get_pid0(rk, 0);
LA 15,712(0,13)
STG 15,968(0,13)
STG 2,976(0,13)
XC 984(8,13),984(13)
LA 1,968(0,13)
LG 15,@lit_2006_623 ; rd_kafka_idemp_get_pid0
@@gen_label862 DS 0H
BALR 14,15
@@gen_label863 DS 0H
MVC 184(16,13),712(13)
* ***
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_617 ; rwlock_rdunlock
@@gen_label864 DS 0H
BALR 14,15
@@gen_label865 DS 0H
* ***
* ***
* *** if (!rd_kafka_broker_is_up(rk->rk_eos.txn_coord)) {
LG 15,3400(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_625 ; rd_kafka_broker_is_up
@@gen_label866 DS 0H
BALR 14,15
@@gen_label867 DS 0H
NILF 15,X'000000FF'
LTR 15,15
BNZ @L1149
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDPARTS","No\
* t registering partitions: " "coordinator is not available"); } while\
* (0);
@L1150 DS 0H
TM 802(2),128
BZ @ret_lab_2006
LA 15,528(0,2)
STG 15,968(0,13)
STG 2,976(0,13)
XC 984(8,13),984(13)
MVGHI 992(13),7
LLILF 15,X'00008000' ; 32768
STG 15,1000(0,13)
LG 15,@lit_2006_620
LA 1,1102(0,15)
STG 1,1008(0,13)
LA 15,2018(0,15)
STG 15,1016(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label870 DS 0H
BALR 14,15
@@gen_label871 DS 0H
@L1153 DS 0H
* ***
* ***
* *** return;
B @ret_lab_2006
* *** }
@L1149 DS 0H
* ***
* *** mtx_lock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_629 ; mtx_lock
@@gen_label872 DS 0H
BALR 14,15
@@gen_label873 DS 0H
* *** if ((((&rk->rk_eos.txn_pending_rktps)->tqh_first) == (\
* ((void *)0)))) {
LTG 15,3704(0,2) ; offset of txn_pending_rktps in 0000146
BNE @L1154
* ***
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label875 DS 0H
BALR 14,15
@@gen_label876 DS 0H
* *** return;
B @ret_lab_2006
* *** }
@L1154 DS 0H
* ***
* *** if (!(((&rk->rk_eos.txn_waitresp_rktps)->tqh_first) ==\
* (((void *)0)))) {
LTG 15,3720(0,2) ; offset of txn_waitresp_rktps in 0000146
BE @L1155
* ***
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label878 DS 0H
BALR 14,15
@@gen_label879 DS 0H
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDPARTS","No\
* t registering partitions: waiting for " "previous AddPartitionsToTxn\
* request to complete"); } while (0);
@L1156 DS 0H
TM 802(2),128
BZ @ret_lab_2006
LA 15,528(0,2)
STG 15,968(0,13)
STG 2,976(0,13)
XC 984(8,13),984(13)
MVGHI 992(13),7
LLILF 15,X'00008000' ; 32768
STG 15,1000(0,13)
LG 15,@lit_2006_620
LA 1,1102(0,15)
STG 1,1008(0,13)
LA 15,2076(0,15)
STG 15,1016(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label881 DS 0H
BALR 14,15
@@gen_label882 DS 0H
@L1159 DS 0H
* ***
* ***
* *** return;
B @ret_lab_2006
* *** }
@L1155 DS 0H
* ***
* ***
* *** if (((!((pid).id != -1)))) {
CGHSI 184(13),-1
BNE @L1160
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label884 DS 0H
BALR 14,15
@@gen_label885 DS 0H
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDPARTS","No\
* t registering partitions: " "No PID available (idempotence state %s)\
* ", rd_kafka_idemp_state2str(rk->rk_eos.idemp_state)); } while (0);
@L1161 DS 0H
TM 802(2),128
BZ @L1164
LGF 15,3184(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_636 ; rd_kafka_idemp_state2str
@@gen_label887 DS 0H
BALR 14,15
@@gen_label888 DS 0H
LA 1,528(0,2)
STMG 1,2,968(13)
XC 984(8,13),984(13)
MVGHI 992(13),7
LLILF 1,X'00008000' ; 32768
STG 1,1000(0,13)
LG 1,@lit_2006_620
LA 2,1102(0,1)
STG 2,1008(0,13)
LA 1,2164(0,1)
STG 1,1016(0,13)
STG 15,1024(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label889 DS 0H
BALR 14,15
@@gen_label890 DS 0H
@L1164 DS 0H
* ***
* ***
* ***
* *** do {} while (0);
@L1165 DS 0H
* *** return;
B @ret_lab_2006
* *** }
@L1160 DS 0H
* ***
* ***
* ***
* *** err = rd_kafka_AddPartitionsToTxnRequest(
* *** rk->rk_eos.txn_coord,
* *** rk->rk_conf.eos.transactional_id,
* *** pid,
* *** &rk->rk_eos.txn_pending_rktps,
* *** errstr, sizeof(errstr),
* *** rd_kafka_replyq_make(rk->rk_ops,0,__FUNCTION__\
* ),
* *** rd_kafka_txn_handle_AddPartitionsToTxn, ((void\
* *)0));
LA 15,712(0,13)
STG 15,968(0,13)
LG 15,8(0,2)
STG 15,976(0,13)
XC 984(8,13),984(13)
LG 15,@lit_2006_640
LA 15,588(0,15)
STG 15,992(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_641 ; rd_kafka_replyq_make
@@gen_label891 DS 0H
BALR 14,15
@@gen_label892 DS 0H
LG 15,3400(0,2)
STG 15,968(0,13)
LG 15,2024(0,2)
STG 15,976(0,13)
MVC 984(16,13),184(13)
LA 15,3704(0,2)
STG 15,1000(0,13)
LA 15,200(0,13)
STG 15,1008(0,13)
MVGHI 1016(13),512
MVC 1024(16,13),712(13)
LG 15,@lit_2006_642 ; rd_kafka_txn_handle_AddPartitionsToTx*
n
STG 15,1040(0,13)
XC 1048(8,13),1048(13)
LA 1,968(0,13)
LG 15,@lit_2006_643 ; rd_kafka_AddPartitionsToTxnRequest
@@gen_label893 DS 0H
BALR 14,15
@@gen_label894 DS 0H
* *** if (err) {
LTR 15,15
BZ @L1173
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label896 DS 0H
BALR 14,15
@@gen_label897 DS 0H
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDPARTS","No\
* t registering partitions: %s", errstr); } while (0);
@L1169 DS 0H
TM 802(2),128
BZ @ret_lab_2006
LA 15,528(0,2)
STG 15,968(0,13)
STG 2,976(0,13)
XC 984(8,13),984(13)
MVGHI 992(13),7
LLILF 15,X'00008000' ; 32768
STG 15,1000(0,13)
LG 15,@lit_2006_620
LA 1,1102(0,15)
STG 1,1008(0,13)
LA 15,1986(0,15)
STG 15,1016(0,13)
LA 15,200(0,13)
STG 15,1024(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label899 DS 0H
BALR 14,15
@@gen_label900 DS 0H
@L1172 DS 0H
* ***
* *** return;
B @ret_lab_2006
* *** }
* ***
* ***
* ***
* *** do { if (!(((&rk->rk_eos.txn_pending_rktps)->tqh_first\
* ) == (((void *)0)))) { *(&rk->rk_eos.txn_waitresp_rktps)->tqh_last =\
* (&rk->rk_eos.txn_pending_rktps)->tqh_first; (&rk->rk_eos.txn_pendin\
* g_rktps)->tqh_first->rktp_txnlink .tqe_prev = (&rk->rk_eos.txn_waitr\
* esp_rktps)->tqh_last; (&rk->rk_eos.txn_waitresp_rktps)->tqh_last = (\
* &rk->rk_eos.txn_pending_rktps)->tqh_last; do { ((&rk->rk_eos.txn_pen\
* ding_rktps))->tqh_first = (((void *)0)); ((&rk->rk_eos.txn_pending_r\
* ktps))->tqh_last = &((&rk->rk_eos.txn_pending_rktps))->tqh_first; } \
* while ( 0); } } while ( 0);
@L1173 DS 0H
LTG 15,3704(0,2) ; offset of txn_pending_rktps in 0000146
BE @L1176
LG 15,3728(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
LG 1,3704(0,2) ; offset of txn_pending_rktps in 0000146
STG 1,0(0,15)
LG 15,3704(0,2) ; offset of txn_pending_rktps in 0000146
LG 1,3728(0,2) ; offset of tqh_last in rd_kafka_toppar_tqhe*
ad_s
STG 1,88(0,15) ; offset of tqe_prev in 0000134
LG 15,3712(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
STG 15,3728(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1177 DS 0H
LGHI 15,0 ; 0
STG 15,3704(0,2) ; offset of txn_pending_rktps in 0000146
LA 15,3704(0,2)
STG 15,3712(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
@L1176 DS 0H
* ***
* ***
* ***
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label902 DS 0H
BALR 14,15
@@gen_label903 DS 0H
* ***
* *** rk->rk_eos.txn_req_cnt++;
L 15,3600(0,2)
AHI 15,1
ST 15,3600(0,2)
* ***
* *** do { if ((((rk->rk_eos.txn_coord)->rkb_rk->rk_conf.deb\
* ug & (0x8000)))) { do { char _logname[256]; mtx_lock(&(rk->rk_eos.tx\
* n_coord)->rkb_logname_lock); rd_strlcpy(_logname, rk->rk_eos.txn_coo\
* rd->rkb_logname, sizeof(_logname)); mtx_unlock(&(rk->rk_eos.txn_coor\
* d)->rkb_logname_lock); rd_kafka_log0(&(rk->rk_eos.txn_coord)->rkb_rk\
* ->rk_conf, (rk->rk_eos.txn_coord)->rkb_rk, _logname, 7, (0x8000), "A\
* DDPARTS", "Registering partitions with transaction"); } while (0); }\
* } while (0);
@L1180 DS 0H
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L1183
@L1184 DS 0H
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_629 ; mtx_lock
@@gen_label905 DS 0H
BALR 14,15
@@gen_label906 DS 0H
LA 15,712(0,13)
STG 15,968(0,13)
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,976(0,13)
MVGHI 984(13),256
LA 1,968(0,13)
LG 15,@lit_2006_653 ; rd_strlcpy
@@gen_label907 DS 0H
BALR 14,15
@@gen_label908 DS 0H
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LA 15,0(3,15)
STG 15,968(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_630 ; mtx_unlock
@@gen_label909 DS 0H
BALR 14,15
@@gen_label910 DS 0H
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LA 15,528(0,15)
STG 15,968(0,13)
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LG 15,4048(0,15)
STG 15,976(0,13)
LA 15,712(0,13)
STG 15,984(0,13)
MVGHI 992(13),7
LLILF 15,X'00008000' ; 32768
STG 15,1000(0,13)
LG 15,@lit_2006_620
LA 1,1102(0,15)
STG 1,1008(0,13)
LA 15,2232(0,15)
STG 15,1016(0,13)
LA 1,968(0,13)
LG 15,@lit_2006_621 ; rd_kafka_log0
@@gen_label911 DS 0H
BALR 14,15
@@gen_label912 DS 0H
@L1183 DS 0H
* ***
* *** }
@ret_lab_2006 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_register_partitions"
* (FUNCTION #2006)
*
@AUTO#rd_kafka_txn_register_partitions DSECT
DS XL168
rd_kafka_txn_register_partitions#__cl0#0 DS 12XL1 ; __cl0
ORG @AUTO#rd_kafka_txn_register_partitions+168
rd_kafka_txn_register_partitions#err#0 DS 1F ; err
rd_kafka_txn_register_partitions#pid#0 DS 16XL1 ; pid
rd_kafka_txn_register_partitions#errstr#0 DS 512XL1 ; errstr
rd_kafka_txn_register_partitions#_logname#18 DS 256XL1 ; _logname
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_register_partitions_tmr_cb
@LNAME2007 DS 0H
DC X'00000027'
DC C'rd_kafka_txn_register_partitions'
DC C'_tmr_cb'
DC X'00'
rd_kafka_txn_register_partitions_tmr_cb DCCPRLG CINDEX=2007,BASER=12,FR*
AME=184,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2007
* ******* End of Prologue
* *
* *** rd_kafka_t *rk = arg;
LG 15,8(0,1) ; arg
* *** rd_kafka_txn_register_partitions(rk);
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2007_660 ; rd_kafka_txn_register_partitions
@@gen_label913 DS 0H
BALR 14,15
@@gen_label914 DS 0H
* *** }
@ret_lab_2007 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2007 DC F'184'
@lit_2007_660 DC AD(rd_kafka_txn_register_partitions)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_register_partitions
* _tmr_cb"
* (FUNCTION #2007)
*
@AUTO#rd_kafka_txn_register_partitions_tmr_cb DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_schedule_register_partitions
rd_kafka_txn_schedule_register_partitions ALIAS X'99846D92818692816DA3A*
7956DA283888584A493856D99858789A2A385996D978199A389A3899*
695A2'
@LNAME1920 DS 0H
DC X'00000029'
DC C'rd_kafka_txn_schedule_register_p'
DC C'artitions'
DC X'00'
rd_kafka_txn_schedule_register_partitions DCCPRLG CINDEX=1920,BASER=12,*
FRAME=224,ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1920
* ******* End of Prologue
* *
* *** rd_kafka_timer_start0(&rk->rk_timers,&rk->rk_eos.txn_r\
* egister_parts_tmr,backoff_ms ? backoff_ms * 1000 : 1,1,0,rd_kafka_tx\
* n_register_partitions_tmr_cb,rk);
LG 15,0(0,1) ; rk
LT 1,12(0,1) ; backoff_ms
BZ @L1187
MHI 1,1000
B @L1188
DS 0D
@FRAMESIZE_1920 DC F'224'
@lit_1920_665 DC AD(rd_kafka_timer_start0)
@lit_1920_664 DC AD(rd_kafka_txn_register_partitions_tmr_cb)
@L1187 DS 0H
LHI 1,1 ; 1
@L1188 DS 0H
LGFR 1,1
LGHI 2,4112 ; 4112
LA 2,0(2,15)
STG 2,168(0,13)
LA 2,3608(0,15)
STG 2,176(0,13)
STG 1,184(0,13)
MVGHI 192(13),1
XC 200(8,13),200(13)
LG 1,@lit_1920_664 ; rd_kafka_txn_register_partitions_tmr_c*
b
STG 1,208(0,13)
STG 15,216(0,13)
LA 1,168(0,13)
LG 15,@lit_1920_665 ; rd_kafka_timer_start0
@@gen_label916 DS 0H
BALR 14,15
@@gen_label917 DS 0H
* *** # 984 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** }
@ret_lab_1920 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_schedule_register_p
* artitions"
* (FUNCTION #1920)
*
@AUTO#rd_kafka_txn_schedule_register_partitions DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_clear_partitions_flag
@LNAME2008 DS 0H
DC X'00000022'
DC C'rd_kafka_txn_clear_partitions_fl'
DC C'ag'
DC X'00'
rd_kafka_txn_clear_partitions_flag DCCPRLG CINDEX=2008,BASER=12,FRAME=1*
84,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2008
LGR 5,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 3,0(0,5) ; tqh
* *** rd_kafka_toppar_t *rktp, *tmp;
* ***
* *** for ((rktp) = ((tqh)->tqh_first); (rktp) != (((void *)\
* 0)) && ((tmp) = ((rktp)->rktp_txnlink .tqe_next), 1); (rktp) = (tmp)\
* ) {
LG 2,0(0,3) ; tqh
B @L1190
DS 0D
@FRAMESIZE_2008 DC F'184'
@lit_2008_667 DC AD(mtx_lock)
@lit_2008_668 DC AD(mtx_unlock)
@lit_2008_669 DC AD(rd_refcnt_sub0)
@lit_2008_670 DC AD(rd_kafka_toppar_destroy_final)
@L1189 DS 0H
* *** mtx_lock(&(rktp)->rktp_lock);
LA 15,192(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2008_667 ; mtx_lock
@@gen_label918 DS 0H
BALR 14,15
@@gen_label919 DS 0H
* *** do {} while (0);
@L1194 DS 0H
* *** rktp->rktp_flags &= ~flag;
L 15,12(0,5) ; flag
XILF 15,X'FFFFFFFF'
N 15,688(0,2)
ST 15,688(0,2)
* *** mtx_unlock(&(rktp)->rktp_lock);
LA 15,192(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2008_668 ; mtx_unlock
@@gen_label920 DS 0H
BALR 14,15
@@gen_label921 DS 0H
* *** do { rd_kafka_toppar_t *_RKTP = (rktp); if (((\
* rd_refcnt_sub0(&_RKTP->rktp_refcnt) == 0))) rd_kafka_toppar_destroy_\
* final(_RKTP); } while (0);
@L1197 DS 0H
LA 15,144(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2008_669 ; rd_refcnt_sub0
@@gen_label922 DS 0H
BALR 14,15
@@gen_label923 DS 0H
LTR 15,15
BNE @L1200
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2008_670 ; rd_kafka_toppar_destroy_final
@@gen_label925 DS 0H
BALR 14,15
@@gen_label926 DS 0H
@L1200 DS 0H
* *** }
LGR 2,4 ; rktp
@L1190 DS 0H
LTGR 15,2
BE @L1201
LG 4,80(0,2) ; offset of rktp_txnlink in rd_kafka_toppar_*
s
B @L1189
* ***
* *** do { (tqh)->tqh_first = (((void *)0)); (tqh)->tqh_last\
* = &(tqh)->tqh_first; } while ( 0);
@L1201 DS 0H
LGHI 15,0 ; 0
STG 15,0(0,3) ; tqh
STG 3,8(0,3) ; offset of tqh_last in rd_kafka_toppar_tqhe*
ad_s
* *** }
@ret_lab_2008 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_clear_partitions_fl
* ag"
* (FUNCTION #2008)
*
@AUTO#rd_kafka_txn_clear_partitions_flag DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_clear_pending_partitions
@LNAME2009 DS 0H
DC X'00000025'
DC C'rd_kafka_txn_clear_pending_parti'
DC C'tions'
DC X'00'
rd_kafka_txn_clear_pending_partitions DCCPRLG CINDEX=2009,BASER=12,FRAM*
E=184,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2009
* ******* End of Prologue
* *
* *** rd_kafka_txn_clear_partitions_flag(&rk->rk_eos.txn_pen\
* ding_rktps,
* *** 0x100);
LG 2,0(0,1) ; rk
LA 15,3704(0,2)
STG 15,168(0,13)
MVGHI 176(13),256
LA 1,168(0,13)
LG 3,@lit_2009_673 ; rd_kafka_txn_clear_partitions_flag
LGR 15,3
@@gen_label928 DS 0H
BALR 14,15
@@gen_label929 DS 0H
* *** rd_kafka_txn_clear_partitions_flag(&rk->rk_eos.txn_wai\
* tresp_rktps,
* *** 0x100);
LA 15,3720(0,2)
STG 15,168(0,13)
MVGHI 176(13),256
LA 1,168(0,13)
LGR 15,3
@@gen_label930 DS 0H
BALR 14,15
@@gen_label931 DS 0H
* *** }
@ret_lab_2009 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2009 DC F'184'
@lit_2009_673 DC AD(rd_kafka_txn_clear_partitions_flag)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_clear_pending_parti
* tions"
* (FUNCTION #2009)
*
@AUTO#rd_kafka_txn_clear_pending_partitions DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_clear_partitions
@LNAME2010 DS 0H
DC X'0000001D'
DC C'rd_kafka_txn_clear_partitions'
DC X'00'
rd_kafka_txn_clear_partitions DCCPRLG CINDEX=2010,BASER=12,FRAME=184,EN*
TRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2010
* ******* End of Prologue
* *
* *** rd_kafka_txn_clear_partitions_flag(&rk->rk_eos.txn_rkt\
* ps,
* *** 0x200);
LG 15,0(0,1) ; rk
LA 15,3736(0,15)
STG 15,168(0,13)
MVGHI 176(13),512
LA 1,168(0,13)
LG 15,@lit_2010_676 ; rd_kafka_txn_clear_partitions_flag
@@gen_label932 DS 0H
BALR 14,15
@@gen_label933 DS 0H
* *** }
@ret_lab_2010 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2010 DC F'184'
@lit_2010_676 DC AD(rd_kafka_txn_clear_partitions_flag)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_clear_partitions"
* (FUNCTION #2010)
*
@AUTO#rd_kafka_txn_clear_partitions DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_abort_timeout_cb
@LNAME2011 DS 0H
DC X'00000026'
DC C'rd_kafka_txn_curr_api_abort_time'
DC C'out_cb'
DC X'00'
rd_kafka_txn_curr_api_abort_timeout_cb DCCPRLG CINDEX=2011,BASER=12,FRA*
ME=216,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2011
* ******* End of Prologue
* *
* *** rd_kafka_q_t *rkq = arg;
LG 2,8(0,1) ; arg
* ***
* *** rd_kafka_txn_set_abortable_error0(rkts->rkts_rk,RD_KAF\
* KA_RESP_ERR__TIMED_OUT,0,"Transactional API operation (%s) timed out\
* ", rkq->rkq_rk->rk_eos.txn_curr_api.name);
LG 15,0(0,1) ; rkts
LG 15,16(0,15)
STG 15,176(0,13)
MVGHI 184(13),-185
XC 192(8,13),192(13)
LG 3,@lit_2011_678
LA 15,2272(0,3)
STG 15,200(0,13)
LG 15,136(0,2) ; offset of rkq_rk in rd_kafka_q_s
LA 15,3464(0,15)
STG 15,208(0,13)
LA 1,176(0,13)
LG 15,@lit_2011_679 ; rd_kafka_txn_set_abortable_error0
@@gen_label934 DS 0H
BALR 14,15
@@gen_label935 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** rd_kafka_txn_curr_api_reply_error(
* *** rkq,
* *** rd_kafka_error_new_txn_requires_abort(
* *** RD_KAFKA_RESP_ERR__TIMED_OUT,
* *** "Transactional API operation (%s) time\
* d out",
* *** rkq->rkq_rk->rk_eos.txn_curr_api.name)\
* );
MVGHI 176(13),-185
LA 15,2272(0,3)
STG 15,184(0,13)
LG 15,136(0,2) ; offset of rkq_rk in rd_kafka_q_s
LA 15,3464(0,15)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2011_680 ; rd_kafka_error_new_txn_requires_abort
@@gen_label936 DS 0H
BALR 14,15
@@gen_label937 DS 0H
STG 2,176(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2011_681 ; rd_kafka_txn_curr_api_reply_error
@@gen_label938 DS 0H
BALR 14,15
@@gen_label939 DS 0H
* *** }
@ret_lab_2011 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2011 DC F'216'
@lit_2011_679 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2011_678 DC AD(@strings@)
@lit_2011_680 DC AD(rd_kafka_error_new_txn_requires_abort)
@lit_2011_681 DC AD(rd_kafka_txn_curr_api_reply_error)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_abort_time
* out_cb"
* (FUNCTION #2011)
*
@AUTO#rd_kafka_txn_curr_api_abort_timeout_cb DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_retriable_timeout_cb
@LNAME2012 DS 0H
DC X'0000002A'
DC C'rd_kafka_txn_curr_api_retriable_'
DC C'timeout_cb'
DC X'00'
rd_kafka_txn_curr_api_retriable_timeout_cb DCCPRLG CINDEX=2012,BASER=12*
,FRAME=192,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2012
* ******* End of Prologue
* *
* *** rd_kafka_q_t *rkq = arg;
LG 2,8(0,1) ; arg
* ***
* *** rd_kafka_txn_curr_api_reply_error(
* *** rkq,
* *** rd_kafka_error_new_retriable(
* *** RD_KAFKA_RESP_ERR__TIMED_OUT,
* *** "Transactional operation timed out"));
MVGHI 176(13),-185
LG 15,@lit_2012_683
LA 15,2316(0,15)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2012_684 ; rd_kafka_error_new_retriable
@@gen_label940 DS 0H
BALR 14,15
@@gen_label941 DS 0H
STG 2,176(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2012_685 ; rd_kafka_txn_curr_api_reply_error
@@gen_label942 DS 0H
BALR 14,15
@@gen_label943 DS 0H
* *** }
@ret_lab_2012 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2012 DC F'192'
@lit_2012_684 DC AD(rd_kafka_error_new_retriable)
@lit_2012_683 DC AD(@strings@)
@lit_2012_685 DC AD(rd_kafka_txn_curr_api_reply_error)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_retriable_
* timeout_cb"
* (FUNCTION #2012)
*
@AUTO#rd_kafka_txn_curr_api_retriable_timeout_cb DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_timeout_cb
@LNAME2013 DS 0H
DC X'00000020'
DC C'rd_kafka_txn_curr_api_timeout_cb'
DC X'00'
rd_kafka_txn_curr_api_timeout_cb DCCPRLG CINDEX=2013,BASER=12,FRAME=208*
,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2013
* ******* End of Prologue
* *
* *** rd_kafka_q_t *rkq = arg;
LG 15,8(0,1) ; arg
* ***
* *** rd_kafka_txn_curr_api_reply(rkq, 0, RD_KAFKA_RESP_ERR_\
* _TIMED_OUT,
* *** "Transactional operation t\
* imed out");
STG 15,176(0,13)
XC 184(8,13),184(13)
MVGHI 192(13),-185
LG 15,@lit_2013_687
LA 15,2316(0,15)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_2013_688 ; rd_kafka_txn_curr_api_reply
@@gen_label944 DS 0H
BALR 14,15
@@gen_label945 DS 0H
* *** }
@ret_lab_2013 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2013 DC F'208'
@lit_2013_688 DC AD(rd_kafka_txn_curr_api_reply)
@lit_2013_687 DC AD(@strings@)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_timeout_cb"
* (FUNCTION #2013)
*
@AUTO#rd_kafka_txn_curr_api_timeout_cb DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_init_timeout_cb
@LNAME2014 DS 0H
DC X'00000025'
DC C'rd_kafka_txn_curr_api_init_timeo'
DC C'ut_cb'
DC X'00'
rd_kafka_txn_curr_api_init_timeout_cb DCCPRLG CINDEX=2014,BASER=12,FRAM*
E=200,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2014
* ******* End of Prologue
* *
* *** rd_kafka_q_t *rkq = arg;
LG 3,8(0,1) ; arg
* *** rd_kafka_error_t *error;
* *** rd_kafka_resp_err_t err = rkts->rkts_rk->rk_eos.txn_in\
* it_err;
LG 15,0(0,1) ; rkts
LG 15,16(0,15) ; offset of rkts_rk in rd_kafka_timers_s
LT 2,3816(0,15) ; offset of txn_init_err in 0000146
* ***
* *** if (!err)
BNZ @L1204
* *** err = RD_KAFKA_RESP_ERR__TIMED_OUT;
LHI 2,-185 ; -185
@L1204 DS 0H
* ***
* *** error = rd_kafka_error_new(err,
* *** "Failed to initialize Produ\
* cer ID: %s",
* *** rd_kafka_err2str(err));
LGFR 15,2
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2014_691 ; rd_kafka_err2str
@@gen_label947 DS 0H
BALR 14,15
@@gen_label948 DS 0H
LGFR 1,2
STG 1,176(0,13)
LG 1,@lit_2014_692
LA 1,2350(0,1)
STG 1,184(0,13)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2014_693 ; rd_kafka_error_new
@@gen_label949 DS 0H
BALR 14,15
@@gen_label950 DS 0H
LGR 4,15
* ***
* ***
* *** if (err == RD_KAFKA_RESP_ERR__TIMED_OUT ||
CHI 2,-185
BE @L1206
* *** err == RD_KAFKA_RESP_ERR__TIMED_OUT_QUEUE)
CHI 2,-166
BNE @L1205
@L1206 DS 0H
* *** rd_kafka_error_set_retriable(error);
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2014_694 ; rd_kafka_error_set_retriable
@@gen_label953 DS 0H
BALR 14,15
@@gen_label954 DS 0H
@L1205 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rkq, error);
STMG 3,4,176(13)
LA 1,176(0,13)
LG 15,@lit_2014_695 ; rd_kafka_txn_curr_api_reply_error
@@gen_label955 DS 0H
BALR 14,15
@@gen_label956 DS 0H
* *** }
@ret_lab_2014 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2014 DC F'200'
@lit_2014_691 DC AD(rd_kafka_err2str)
@lit_2014_693 DC AD(rd_kafka_error_new)
@lit_2014_692 DC AD(@strings@)
@lit_2014_694 DC AD(rd_kafka_error_set_retriable)
@lit_2014_695 DC AD(rd_kafka_txn_curr_api_reply_error)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_init_timeo
* ut_cb"
* (FUNCTION #2014)
*
@AUTO#rd_kafka_txn_curr_api_init_timeout_cb DSECT
DS XL168
rd_kafka_txn_curr_api_init_timeout_cb#err#0 DS 1F ; err
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_reset
@LNAME2015 DS 0H
DC X'0000001B'
DC C'rd_kafka_txn_curr_api_reset'
DC X'00'
rd_kafka_txn_curr_api_reset DCCPRLG CINDEX=2015,BASER=12,FRAME=200,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2015
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,4) ; rk
* *** rd_bool_t timer_was_stopped;
* *** rd_kafka_q_t *rkq;
* ***
* ***
* *** rkq = rk->rk_eos.txn_curr_api.tmr.rtmr_arg;
LG 3,3576(0,2) ; offset of rtmr_arg in rd_kafka_timer_s
* *** timer_was_stopped = rd_kafka_timer_stop(
* *** &rk->rk_timers,
* *** &rk->rk_eos.txn_curr_api.tmr,
* *** RD_DO_LOCK);
LGHI 15,4112 ; 4112
LA 15,0(15,2)
STG 15,176(0,13)
LA 15,3528(0,2)
STG 15,184(0,13)
MVGHI 192(13),1
LA 1,176(0,13)
LG 15,@lit_2015_698 ; rd_kafka_timer_stop
@@gen_label957 DS 0H
BALR 14,15
@@gen_label958 DS 0H
STC 15,168(0,13) ; timer_was_stopped
* ***
* *** if (rkq && timer_was_stopped) {
LTGR 1,3
BZ @L1207
NILF 15,X'000000FF'
LTR 15,15
BZ @L1207
* ***
* ***
* ***
* *** rd_kafka_q_destroy0(rkq, 0 );
STG 3,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_2015_699 ; rd_kafka_q_destroy0
@@gen_label961 DS 0H
BALR 14,15
@@gen_label962 DS 0H
* *** }
@L1207 DS 0H
* ***
* ***
* *** if (for_reuse)
CLI 15(4),0
BNE @ret_lab_2015
* *** return;
@L1208 DS 0H
* ***
* *** *rk->rk_eos.txn_curr_api.name = '\0';
MVI 3464(2),0 ; offset of txn_curr_api in 0000146
* *** rk->rk_eos.txn_curr_api.flags = 0;
MVHI 3584(2),0 ; offset of flags in 0000147
* *** }
@ret_lab_2015 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2015 DC F'200'
@lit_2015_698 DC AD(rd_kafka_timer_stop)
@lit_2015_699 DC AD(rd_kafka_q_destroy0)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_reset"
* (FUNCTION #2015)
*
@AUTO#rd_kafka_txn_curr_api_reset DSECT
DS XL168
rd_kafka_txn_curr_api_reset#timer_was_stopped#0 DS 1CL1 ; timer_was_sto*
pped
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_curr_api_req
@LNAME2016 DS 0H
DC X'00000019'
DC C'rd_kafka_txn_curr_api_req'
DC X'00'
rd_kafka_txn_curr_api_req DCCPRLG CINDEX=2016,BASER=12,FRAME=256,ENTRY=*
NO,ARCH=ZARCH,LNAMEADDR=@LNAME2016
LGR 7,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 5,0(0,7) ; rk
LG 3,8(0,7) ; name
L 4,28(0,7) ; timeout_ms
L 2,36(0,7) ; flags
* *** rd_kafka_op_t *reply;
* *** rd_bool_t reuse = 0;
MVI 168(13),0 ; reuse
* *** rd_bool_t for_reuse;
* *** rd_kafka_q_t *tmpq = ((void *)0);
* *** rd_kafka_error_t *error = ((void *)0);
* ***
* ***
* ***
* *** if (!__strncmp(name,"rd_kafka_",__strlen("rd_kafka_"))\
* )
LG 15,@lit_2016_703
LA 15,2388(0,15)
LGR 1,3
LGHI 6,9 ; 9
LGHI 8,0
@@gen_label965 DS 0H
CLC 0(1,1),0(15)
BE @@gen_label966
IC 8,0(0,1)
LLGC 1,0(0,15)
SLGR 8,1
B @@gen_label964
DS 0D
@FRAMESIZE_2016 DC F'256'
@lit_2016_703 DC AD(@strings@)
@lit_2016_705 DC AD(rwlock_wrlock)
@lit_2016_706 DC AD(rd_kafka_txn_state2str)
@lit_2016_707 DC AD(rd_kafka_idemp_state2str)
@lit_2016_710 DC AD(rd_kafka_log0)
@lit_2016_712 DC AD(rd_kafka_error_new)
@lit_2016_713 DC AD(rwlock_wrunlock)
@lit_2016_714 DC AD(rd_kafka_op_destroy)
@lit_2016_717 DC AD(__assert)
@lit_2016_715 DC AD(@DATA)
@lit_2016_719 DC AD(snprintf)
@lit_2016_721 DC AD(rd_kafka_q_new0)
@lit_2016_722 DC AD(rd_kafka_q_keep)
@lit_2016_723 DC AD(rd_kafka_txn_curr_api_init_timeout_cb)
@lit_2016_724 DC AD(rd_kafka_txn_curr_api_abort_timeout_cb)
@lit_2016_725 DC AD(rd_kafka_txn_curr_api_retriable_timeout_cb)
@lit_2016_726 DC AD(rd_kafka_txn_curr_api_timeout_cb)
@lit_2016_728 DC AD(rd_kafka_timer_start0)
@lit_2016_730 DC AD(rd_kafka_op_req0)
@lit_2016_731 DC AD(rd_kafka_q_destroy_owner)
@lit_2016_734 DC AD(rd_kafka_txn_curr_api_reset)
@@gen_label966 DS 0H
LA 15,1(0,15)
IC 8,0(0,1)
LA 1,1(0,1)
LTGR 8,8
BZ @@gen_label964
BCTG 6,@@gen_label965
LGHI 8,0
@@gen_label964 DS 0H
LTR 8,8
BNZ @L1209
* *** name += __strlen("rd_kafka_");
LA 3,9(0,3)
@L1209 DS 0H
* ***
* *** if (flags & 0x8) {
TML 2,8
BZ @L1210
* ***
* *** flags &= ~0x8;
NILL 2,65527
* *** reuse = 1;
MVI 168(13),1 ; reuse
* *** }
@L1210 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_705 ; rwlock_wrlock
@@gen_label969 DS 0H
BALR 14,15
@@gen_label970 DS 0H
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNAPI","Transactiona\
* l API called: %s " "(in txn state %s, idemp state %s)", name, rd_kaf\
* ka_txn_state2str(rk->rk_eos.txn_state), rd_kafka_idemp_state2str(rk-\
* >rk_eos.idemp_state)); } while (0);
@L1211 DS 0H
TM 802(5),128
BZ @L1214
LGF 15,3384(0,5)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_706 ; rd_kafka_txn_state2str
@@gen_label972 DS 0H
BALR 14,15
@@gen_label973 DS 0H
LGR 6,15
LGF 15,3184(0,5)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_707 ; rd_kafka_idemp_state2str
@@gen_label974 DS 0H
BALR 14,15
@@gen_label975 DS 0H
LA 1,528(0,5)
STG 1,176(0,13)
STG 5,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008000' ; 32768
STG 1,208(0,13)
LG 1,@lit_2016_703
LA 8,2398(0,1)
STG 8,216(0,13)
LA 1,2406(0,1)
STG 1,224(0,13)
STG 3,232(0,13)
STG 6,240(0,13)
STG 15,248(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_710 ; rd_kafka_log0
@@gen_label976 DS 0H
BALR 14,15
@@gen_label977 DS 0H
@L1214 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* *** for_reuse = !!(rk->rk_eos.txn_curr_api.flags &
* *** 0x4);
L 15,3584(0,5) ; offset of flags in 0000147
NILF 15,X'00000004'
LPR 15,15
LCR 15,15
SRL 15,31(0)
STC 15,169(0,13) ; for_reuse
* ***
* *** if ((for_reuse && !reuse) ||
LR 1,15
NILF 1,X'000000FF'
LTR 1,1
BZ @L1215
CLI 168(13),0
BE @L1217
@L1215 DS 0H
* *** (!for_reuse && *rk->rk_eos.txn_curr_api.name)) {
LR 1,15
NILF 1,X'000000FF'
LTR 1,1
BNZ @L1216
CLI 3464(5),0
BE @L1216
@L1217 DS 0H
* *** error = rd_kafka_error_new(
* *** RD_KAFKA_RESP_ERR__STATE,
* *** "Conflicting %s call already in progre\
* ss",
* *** rk->rk_eos.txn_curr_api.name);
MVGHI 176(13),-172
LG 15,@lit_2016_703
LA 15,2470(0,15)
STG 15,184(0,13)
LA 15,3464(0,5)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_712 ; rd_kafka_error_new
@@gen_label982 DS 0H
BALR 14,15
@@gen_label983 DS 0H
LGR 2,15 ; error
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_713 ; rwlock_wrunlock
@@gen_label984 DS 0H
BALR 14,15
@@gen_label985 DS 0H
* *** rd_kafka_op_destroy(rko);
LG 15,16(0,7) ; rko
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_714 ; rd_kafka_op_destroy
@@gen_label986 DS 0H
BALR 14,15
@@gen_label987 DS 0H
* *** return error;
LGR 15,2
B @ret_lab_2016
* *** }
@L1216 DS 0H
* ***
* *** ((for_reuse == reuse) ? (void)0 : __assert(__func__, "\
* C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c", 1226, "for_reuse =\
* = reuse"));
NILF 15,X'000000FF'
LLC 1,168(0,13) ; reuse
CR 15,1
BE @L1219
@L1218 DS 0H
LG 15,@lit_2016_715
LA 15,622(0,15)
STG 15,176(0,13)
LG 15,@lit_2016_703
LA 1,434(0,15)
STG 1,184(0,13)
MVGHI 192(13),1226
LA 15,2510(0,15)
STG 15,200(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_717 ; __assert
@@gen_label989 DS 0H
BALR 14,15
@@gen_label990 DS 0H
@L1219 DS 0H
* ***
* *** snprintf(rk->rk_eos.txn_curr_api.name, sizeof(rk->rk_e\
* os.txn_curr_api.name), "%s", name);
LA 15,3464(0,5)
STG 15,176(0,13)
MVGHI 184(13),64
LG 8,@lit_2016_703
LA 15,290(0,8)
STG 15,192(0,13)
STG 3,200(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_719 ; snprintf
@@gen_label991 DS 0H
BALR 14,15
@@gen_label992 DS 0H
* ***
* ***
* ***
* *** tmpq = rd_kafka_q_new0(rk,__FUNCTION__,1232);
STG 5,176(0,13)
LG 15,@lit_2016_715
LA 15,622(0,15)
STG 15,184(0,13)
MVGHI 192(13),1232
LA 1,176(0,13)
LG 15,@lit_2016_721 ; rd_kafka_q_new0
@@gen_label993 DS 0H
BALR 14,15
@@gen_label994 DS 0H
LGR 6,15
* ***
* *** rk->rk_eos.txn_curr_api.flags |= flags;
LR 15,2
O 15,3584(0,5)
ST 15,3584(0,5)
* ***
* ***
* ***
* ***
* *** for_reuse = !!(flags & 0x4);
LR 15,2
NILF 15,X'00000004'
LPR 15,15
LCR 15,15
SRL 15,31(0)
STC 15,169(0,13) ; for_reuse
* ***
* ***
* *** if (timeout_ms < 0)
LTR 4,4
BNL @L1220
* *** timeout_ms = rk->rk_conf.eos.transaction_timeo\
* ut_ms;
L 4,2032(0,5) ; offset of transaction_timeout_ms in 000010*
5
@L1220 DS 0H
* ***
* *** if (timeout_ms >= 0) {
LTR 4,4
BL @L1221
* *** rd_kafka_q_keep(tmpq);
STG 6,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_722 ; rd_kafka_q_keep
@@gen_label997 DS 0H
BALR 14,15
@@gen_label998 DS 0H
* *** rd_kafka_timer_start0(&rk->rk_timers,&rk->rk_e\
* os.txn_curr_api.tmr,timeout_ms * 1000,1,1,!__strcmp(name,"init_trans\
* actions") ? rd_kafka_txn_curr_api_init_timeout_cb : (flags & 0x1 ? r\
* d_kafka_txn_curr_api_abort_timeout_cb : (flags & 0x2 ? rd_kafka_txn_\
* curr_api_retriable_timeout_cb : rd_kafka_txn_curr_api_timeout_cb)),t\
* mpq);
LA 15,2530(0,8)
LA 0,0(0,0)
LGHI 1,0
@@gen_label999 DS 0H
CLST 3,15
BC 1,@@gen_label999
BE @@gen_label1000
LLGC 1,0(0,3)
LLGC 3,0(0,15)
SLGR 1,3
@@gen_label1000 DS 0H
LTR 1,1
BNZ @L1222
LG 15,@lit_2016_723 ; rd_kafka_txn_curr_api_init_timeout_cb
B @L1227
@L1222 DS 0H
TML 2,1
BZ @L1223
LG 15,@lit_2016_724 ; rd_kafka_txn_curr_api_abort_timeout_c*
b
B @L1226
@L1223 DS 0H
TML 2,2
BZ @L1224
LG 15,@lit_2016_725 ; rd_kafka_txn_curr_api_retriable_timeo*
ut_cb
B @L1225
@L1224 DS 0H
LG 15,@lit_2016_726 ; rd_kafka_txn_curr_api_timeout_cb
@L1225 DS 0H
@L1226 DS 0H
@L1227 DS 0H
LGHI 1,4112 ; 4112
LA 1,0(1,5)
STG 1,176(0,13)
LA 1,3528(0,5)
STG 1,184(0,13)
MHI 4,1000
LGFR 1,4
STG 1,192(0,13)
MVGHI 200(13),1
MVGHI 208(13),1
STG 15,216(0,13)
STG 6,224(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_728 ; rd_kafka_timer_start0
@@gen_label1004 DS 0H
BALR 14,15
@@gen_label1005 DS 0H
* *** # 1260 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** }
@L1221 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_713 ; rwlock_wrunlock
@@gen_label1006 DS 0H
BALR 14,15
@@gen_label1007 DS 0H
* ***
* ***
* *** reply = rd_kafka_op_req0(rk->rk_ops, tmpq, rko, -1);
LG 15,8(0,5)
STG 15,176(0,13)
STG 6,184(0,13)
LG 15,16(0,7) ; rko
STG 15,192(0,13)
MVGHI 200(13),-1
LA 1,176(0,13)
LG 15,@lit_2016_730 ; rd_kafka_op_req0
@@gen_label1008 DS 0H
BALR 14,15
@@gen_label1009 DS 0H
LGR 3,15
* ***
* *** rd_kafka_q_destroy_owner(tmpq);
STG 6,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_731 ; rd_kafka_q_destroy_owner
@@gen_label1010 DS 0H
BALR 14,15
@@gen_label1011 DS 0H
* ***
* *** if ((error = reply->rko_error)) {
LG 2,40(0,3) ; offset of rko_error in rd_kafka_op_s
LTGR 15,2
BZ @L1228
* *** reply->rko_error = ((void *)0);
LGHI 15,0 ; 0
STG 15,40(0,3) ; offset of rko_error in rd_kafka_op_s
* *** for_reuse = 0;
MVI 169(13),0 ; for_reuse
* *** }
@L1228 DS 0H
* ***
* *** rd_kafka_op_destroy(reply);
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_714 ; rd_kafka_op_destroy
@@gen_label1013 DS 0H
BALR 14,15
@@gen_label1014 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reset(rk, for_reuse);
STG 5,176(0,13)
LLGC 15,169(0,13) ; for_reuse
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2016_734 ; rd_kafka_txn_curr_api_reset
@@gen_label1015 DS 0H
BALR 14,15
@@gen_label1016 DS 0H
* ***
* *** return error;
LGR 15,2
* *** }
@ret_lab_2016 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_curr_api_req"
* (FUNCTION #2016)
*
@AUTO#rd_kafka_txn_curr_api_req DSECT
DS XL168
rd_kafka_txn_curr_api_req#reuse#0 DS 1CL1 ; reuse
rd_kafka_txn_curr_api_req#for_reuse#0 DS 1CL1 ; for_reuse
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_init_transactions
@LNAME2017 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_op_init_transaction'
DC C's'
DC X'00'
rd_kafka_txn_op_init_transactions DCCPRLG CINDEX=2017,BASER=12,FRAME=20*
0,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2017
* ******* End of Prologue
* *
LG 2,0(0,1) ; rk
LG 3,16(0,1) ; rko
* *** rd_kafka_error_t *error;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
CHSI 32(3),-197
BNE @L1229
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2017
DS 0D
@FRAMESIZE_2017 DC F'200'
@lit_2017_737 DC AD(rwlock_wrlock)
@lit_2017_738 DC AD(rd_kafka_txn_require_states0)
@lit_2017_739 DC AD(rwlock_wrunlock)
@lit_2017_741 DC AD(rd_kafka_txn_set_state)
@lit_2017_742 DC AD(rd_kafka_q_destroy0)
@lit_2017_743 DC AD(rd_kafka_q_keep)
@lit_2017_745 DC AD(rd_kafka_idemp_start)
@lit_2017_748 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1229 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_737 ; rwlock_wrlock
@@gen_label1018 DS 0H
BALR 14,15
@@gen_label1019 DS 0H
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_INIT, RD_KAFKA_TXN_STATE_WAIT_P\
* ID, RD_KAFKA_TXN_STATE_READY_NOT_ACKED, -1 }))) {
MVHI 172(13),1
MVHI 176(13),2
MVHI 180(13),-1
* setting 4 bytes to 0x00
XC 168(4,13),168(13)
STG 2,184(0,13)
LA 15,168(0,13)
STG 15,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_738 ; rd_kafka_txn_require_states0
@@gen_label1020 DS 0H
BALR 14,15
@@gen_label1021 DS 0H
LGR 4,15
LTGR 15,4
BZ @L1230
* ***
* ***
* ***
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_739 ; rwlock_wrunlock
@@gen_label1023 DS 0H
BALR 14,15
@@gen_label1024 DS 0H
* *** goto done;
B @_done@2017@2
* *** }
@L1230 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_READY_N\
* OT_ACKED) {
CHSI 3384(2),2
BNE @L1231
* ***
* ***
* ***
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_739 ; rwlock_wrunlock
@@gen_label1026 DS 0H
BALR 14,15
@@gen_label1027 DS 0H
* *** goto done;
B @_done@2017@2
* *** }
@L1231 DS 0H
* ***
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_WAIT_PID\
* );
STG 2,184(0,13)
MVGHI 192(13),1
LA 1,184(0,13)
LG 15,@lit_2017_741 ; rd_kafka_txn_set_state
@@gen_label1028 DS 0H
BALR 14,15
@@gen_label1029 DS 0H
* ***
* ***
* ***
* *** if (rk->rk_eos.txn_init_rkq)
LTG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
BZ @L1232
* *** rd_kafka_q_destroy0(rk->rk_eos.txn_init_rkq, 0\
* );
LG 15,3592(0,2)
STG 15,184(0,13)
XC 192(8,13),192(13)
LA 1,184(0,13)
LG 15,@lit_2017_742 ; rd_kafka_q_destroy0
@@gen_label1031 DS 0H
BALR 14,15
@@gen_label1032 DS 0H
@L1232 DS 0H
* ***
* ***
* ***
* ***
* *** rk->rk_eos.txn_init_rkq = rd_kafka_q_keep(rko->rko_rep\
* lyq.q);
LG 15,64(0,3)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_743 ; rd_kafka_q_keep
@@gen_label1033 DS 0H
BALR 14,15
@@gen_label1034 DS 0H
STG 15,3592(0,2)
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_739 ; rwlock_wrunlock
@@gen_label1035 DS 0H
BALR 14,15
@@gen_label1036 DS 0H
* ***
* *** rk->rk_eos.txn_init_err = RD_KAFKA_RESP_ERR_NO_ERROR;
MVHI 3816(2),0 ; offset of txn_init_err in 0000146
* ***
* ***
* *** rd_kafka_idemp_start(rk, 1);
STG 2,184(0,13)
MVGHI 192(13),1
LA 1,184(0,13)
LG 15,@lit_2017_745 ; rd_kafka_idemp_start
@@gen_label1037 DS 0H
BALR 14,15
@@gen_label1038 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2017
* ***
* *** done:
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
@_done@2017@2 DS 0H
* *** error);
LG 15,64(0,3)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_743 ; rd_kafka_q_keep
@@gen_label1039 DS 0H
BALR 14,15
@@gen_label1040 DS 0H
STG 15,184(0,13)
STG 4,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2017_748 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1041 DS 0H
BALR 14,15
@@gen_label1042 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2017 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_init_transaction
* s"
* (FUNCTION #2017)
*
@AUTO#rd_kafka_txn_op_init_transactions DSECT
DS XL168
rd_kafka_txn_op_init_transactions#__cl1#0 DS 16XL1 ; __cl1
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_ack_init_transactions
@LNAME2018 DS 0H
DC X'00000025'
DC C'rd_kafka_txn_op_ack_init_transac'
DC C'tions'
DC X'00'
rd_kafka_txn_op_ack_init_transactions DCCPRLG CINDEX=2018,BASER=12,FRAM*
E=192,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2018
* ******* End of Prologue
* *
LG 2,0(0,1) ; rk
* *** rd_kafka_error_t *error;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 4,16(0,1) ; rko
CHSI 32(4),-197
BNE @L1233
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2018
DS 0D
@FRAMESIZE_2018 DC F'192'
@lit_2018_752 DC AD(rwlock_wrlock)
@lit_2018_753 DC AD(rd_kafka_txn_require_states0)
@lit_2018_754 DC AD(rwlock_wrunlock)
@lit_2018_755 DC AD(rd_kafka_txn_set_state)
@lit_2018_757 DC AD(rd_kafka_q_keep)
@lit_2018_758 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1233 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_752 ; rwlock_wrlock
@@gen_label1044 DS 0H
BALR 14,15
@@gen_label1045 DS 0H
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_READY_NOT_ACKED, -1 }))) {
MVHI 168(13),2
MVHI 172(13),-1
STG 2,176(0,13)
LA 15,168(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_753 ; rd_kafka_txn_require_states0
@@gen_label1046 DS 0H
BALR 14,15
@@gen_label1047 DS 0H
LGR 3,15
LTGR 15,3
BZ @L1234
* ***
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_754 ; rwlock_wrunlock
@@gen_label1049 DS 0H
BALR 14,15
@@gen_label1050 DS 0H
* *** goto done;
B @_done@2018@3
* *** }
@L1234 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_READY);
STG 2,176(0,13)
MVGHI 184(13),3
LA 1,176(0,13)
LG 15,@lit_2018_755 ; rd_kafka_txn_set_state
@@gen_label1051 DS 0H
BALR 14,15
@@gen_label1052 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_754 ; rwlock_wrunlock
@@gen_label1053 DS 0H
BALR 14,15
@@gen_label1054 DS 0H
* ***
* ***
* *** done:
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
@_done@2018@3 DS 0H
* *** error);
LG 15,64(0,4)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_757 ; rd_kafka_q_keep
@@gen_label1055 DS 0H
BALR 14,15
@@gen_label1056 DS 0H
STG 15,176(0,13)
STG 3,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2018_758 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1057 DS 0H
BALR 14,15
@@gen_label1058 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2018 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_ack_init_transac
* tions"
* (FUNCTION #2018)
*
@AUTO#rd_kafka_txn_op_ack_init_transactions DSECT
DS XL168
rd_kafka_txn_op_ack_init_transactions#__cl2#0 DS 8XL1 ; __cl2
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_init_transactions
rd_kafka_init_transactions ALIAS X'99846D92818692816D899589A36DA3998195*
A28183A3899695A2'
@LNAME1080 DS 0H
DC X'0000001A'
DC C'rd_kafka_init_transactions'
DC X'00'
rd_kafka_init_transactions DCCPRLG CINDEX=1080,BASER=12,FRAME=216,ENTRY*
=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1080
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,3) ; rk
* *** rd_kafka_error_t *error;
* ***
* *** if ((error = rd_kafka_ensure_transactional(rk)))
STG 2,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1080_761 ; rd_kafka_ensure_transactional
@@gen_label1059 DS 0H
BALR 14,15
@@gen_label1060 DS 0H
LTGR 1,15
BZ @L1235
* *** return error;
B @ret_lab_1080
DS 0D
@FRAMESIZE_1080 DC F'216'
@lit_1080_761 DC AD(rd_kafka_ensure_transactional)
@lit_1080_763 DC AD(rd_kafka_op_new_cb)
@lit_1080_762 DC AD(rd_kafka_txn_op_init_transactions)
@lit_1080_765 DC AD(rd_kafka_txn_curr_api_req)
@lit_1080_764 DC AD(@DATA)
@lit_1080_766 DC AD(rd_kafka_txn_op_ack_init_transactions)
@L1235 DS 0H
* ***
* ***
* ***
* *** # 1405 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* ***
* *** error = rd_kafka_txn_curr_api_req(
* *** rk, __FUNCTION__,
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** timeout_ms,
* *** 0x2|
* *** rd_kafka_txn_op_init_transa\
* ctions),
STG 2,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1080_762 ; rd_kafka_txn_op_init_transactions
STG 15,192(0,13)
LA 1,176(0,13)
LG 4,@lit_1080_763 ; rd_kafka_op_new_cb
LGR 15,4
@@gen_label1062 DS 0H
BALR 14,15
@@gen_label1063 DS 0H
STG 2,176(0,13)
LG 5,@lit_1080_764
LA 1,648(0,5)
STG 1,184(0,13)
STG 15,192(0,13)
LGF 15,12(0,3) ; timeout_ms
STG 15,200(0,13)
* *** 0x4);
MVGHI 208(13),6
LA 1,176(0,13)
LG 3,@lit_1080_765 ; rd_kafka_txn_curr_api_req
LGR 15,3
@@gen_label1064 DS 0H
BALR 14,15
@@gen_label1065 DS 0H
* *** if (error)
LTGR 1,15
BZ @L1236
* *** return error;
B @ret_lab_1080
@L1236 DS 0H
* ***
* ***
* ***
* ***
* *** return rd_kafka_txn_curr_api_req(
* *** rk, __FUNCTION__,
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** -1,
* *** 0x8);
* *** rd_kafka_txn_op_ack_init_tr\
* ansactions),
STG 2,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1080_766 ; rd_kafka_txn_op_ack_init_transactions
STG 15,192(0,13)
LA 1,176(0,13)
LGR 15,4
@@gen_label1067 DS 0H
BALR 14,15
@@gen_label1068 DS 0H
STG 2,176(0,13)
LA 1,648(0,5)
STG 1,184(0,13)
STG 15,192(0,13)
MVGHI 200(13),-1
MVGHI 208(13),8
LA 1,176(0,13)
LGR 15,3
@@gen_label1069 DS 0H
BALR 14,15
@@gen_label1070 DS 0H
* *** }
@ret_lab_1080 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_init_transactions"
* (FUNCTION #1080)
*
@AUTO#rd_kafka_init_transactions DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_begin_transaction
@LNAME2019 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_op_begin_transactio'
DC C'n'
DC X'00'
rd_kafka_txn_op_begin_transaction DCCPRLG CINDEX=2019,BASER=12,FRAME=21*
6,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2019
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,4) ; rk
* *** rd_kafka_error_t *error;
* *** rd_bool_t wakeup_brokers = 0;
MVI 176(13),0 ; wakeup_brokers
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 15,16(0,4) ; rko
CHSI 32(15),-197
BNE @L1237
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2019
DS 0D
@FRAMESIZE_2019 DC F'216'
@lit_2019_771 DC AD(rwlock_wrlock)
@lit_2019_772 DC AD(rd_kafka_txn_require_states0)
@lit_2019_775 DC AD(__assert)
@lit_2019_774 DC AD(@strings@)
@lit_2019_773 DC AD(@DATA)
@lit_2019_776 DC AD(rd_kafka_txn_set_state)
@lit_2019_780 DC AD(rd_atomic64_set)
@lit_2019_781 DC AD(rd_free)
@lit_2019_783 DC AD(rwlock_wrunlock)
@lit_2019_784 DC AD(rd_kafka_all_brokers_wakeup)
@lit_2019_785 DC AD(rd_kafka_q_keep)
@lit_2019_786 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1237 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_771 ; rwlock_wrlock
@@gen_label1072 DS 0H
BALR 14,15
@@gen_label1073 DS 0H
* *** if (!(error = rd_kafka_txn_require_states0(rk, (rd_kaf\
* ka_txn_state_t[]){ RD_KAFKA_TXN_STATE_READY, -1 }))) {
MVHI 168(13),3
MVHI 172(13),-1
STG 2,184(0,13)
LA 15,168(0,13)
STG 15,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_772 ; rd_kafka_txn_require_states0
@@gen_label1074 DS 0H
BALR 14,15
@@gen_label1075 DS 0H
LGR 3,15
LTGR 15,3
BNZ @L1238
* ***
* *** (((((&rk->rk_eos.txn_rktps)->tqh_first) == (((\
* void *)0)))) ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdkafk\
* a\\src\\rdkafka_txnmgr.c", 1448, "(((&rk->rk_eos.txn_rktps)->tqh_fir\
* st) == (((void *)0)))"));
LTG 15,3736(0,2) ; offset of txn_rktps in 0000146
BE @L1240
@L1239 DS 0H
LG 15,@lit_2019_773
LA 15,676(0,15)
STG 15,184(0,13)
LG 15,@lit_2019_774
LA 1,434(0,15)
STG 1,192(0,13)
MVGHI 200(13),1448
LA 15,2548(0,15)
STG 15,208(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_775 ; __assert
@@gen_label1078 DS 0H
BALR 14,15
@@gen_label1079 DS 0H
@L1240 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* IN_TRANSACTION);
STG 2,184(0,13)
MVGHI 192(13),4
LA 1,184(0,13)
LG 15,@lit_2019_776 ; rd_kafka_txn_set_state
@@gen_label1080 DS 0H
BALR 14,15
@@gen_label1081 DS 0H
* ***
* *** ((rk->rk_eos.txn_req_cnt == 0) ? (void)0 : __a\
* ssert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c", 1\
* 452, "rk->rk_eos.txn_req_cnt == 0"));
CHSI 3600(2),0
BE @L1242
@L1241 DS 0H
LG 15,@lit_2019_773
LA 15,676(0,15)
STG 15,184(0,13)
LG 15,@lit_2019_774
LA 1,434(0,15)
STG 1,192(0,13)
MVGHI 200(13),1452
LA 15,2604(0,15)
STG 15,208(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_775 ; __assert
@@gen_label1083 DS 0H
BALR 14,15
@@gen_label1084 DS 0H
@L1242 DS 0H
* *** rd_atomic64_set(&rk->rk_eos.txn_dr_fails, 0);
LA 15,3752(0,2)
STG 15,184(0,13)
XC 192(8,13),192(13)
LA 1,184(0,13)
LG 15,@lit_2019_780 ; rd_atomic64_set
@@gen_label1085 DS 0H
BALR 14,15
@@gen_label1086 DS 0H
* *** rk->rk_eos.txn_err = RD_KAFKA_RESP_ERR_NO_ERRO\
* R;
MVHI 3800(2),0 ; offset of txn_err in 0000146
* *** do { if ((rk->rk_eos.txn_errstr)) rd_free(rk->\
* rk_eos.txn_errstr); } while (0);
@L1243 DS 0H
LTG 15,3808(0,2) ; offset of txn_errstr in 0000146
BZ @L1246
LG 15,3808(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_781 ; rd_free
@@gen_label1088 DS 0H
BALR 14,15
@@gen_label1089 DS 0H
@L1246 DS 0H
* *** rk->rk_eos.txn_errstr = ((void *)0);
LGHI 15,0 ; 0
STG 15,3808(0,2) ; offset of txn_errstr in 0000146
* ***
* ***
* ***
* ***
* *** wakeup_brokers = 1;
MVI 176(13),1 ; wakeup_brokers
* ***
* *** }
@L1238 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_783 ; rwlock_wrunlock
@@gen_label1090 DS 0H
BALR 14,15
@@gen_label1091 DS 0H
* ***
* *** if (wakeup_brokers)
CLI 176(13),0
BE @L1247
* *** rd_kafka_all_brokers_wakeup(rk, RD_KAFKA_BROKE\
* R_STATE_INIT);
STG 2,184(0,13)
XC 192(8,13),192(13)
LA 1,184(0,13)
LG 15,@lit_2019_784 ; rd_kafka_all_brokers_wakeup
@@gen_label1093 DS 0H
BALR 14,15
@@gen_label1094 DS 0H
@L1247 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,16(0,4) ; rko
LG 15,64(0,15)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_785 ; rd_kafka_q_keep
@@gen_label1095 DS 0H
BALR 14,15
@@gen_label1096 DS 0H
STG 15,184(0,13)
STG 3,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2019_786 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1097 DS 0H
BALR 14,15
@@gen_label1098 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2019 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_begin_transactio
* n"
* (FUNCTION #2019)
*
@AUTO#rd_kafka_txn_op_begin_transaction DSECT
DS XL168
rd_kafka_txn_op_begin_transaction#__cl3#0 DS 8XL1 ; __cl3
rd_kafka_txn_op_begin_transaction#wakeup_brokers#0 DS 1CL1 ; wakeup_bro*
kers
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_begin_transaction
rd_kafka_begin_transaction ALIAS X'99846D92818692816D82858789956DA39981*
95A28183A3899695'
@LNAME1081 DS 0H
DC X'0000001A'
DC C'rd_kafka_begin_transaction'
DC X'00'
rd_kafka_begin_transaction DCCPRLG CINDEX=1081,BASER=12,FRAME=200,ENTRY*
=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1081
* ******* End of Prologue
* *
LG 3,0(0,1) ; rk
* *** rd_kafka_op_t *reply;
* *** rd_kafka_error_t *error;
* ***
* *** if ((error = rd_kafka_ensure_transactional(rk)))
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1081_789 ; rd_kafka_ensure_transactional
@@gen_label1099 DS 0H
BALR 14,15
@@gen_label1100 DS 0H
LTGR 2,15 ; error
BZ @L1248
* *** return error;
LGR 15,2
B @ret_lab_1081
DS 0D
@FRAMESIZE_1081 DC F'200'
@lit_1081_789 DC AD(rd_kafka_ensure_transactional)
@lit_1081_791 DC AD(rd_kafka_op_new_cb)
@lit_1081_790 DC AD(rd_kafka_txn_op_begin_transaction)
@lit_1081_792 DC AD(rd_kafka_op_req)
@lit_1081_794 DC AD(rd_kafka_op_destroy)
@L1248 DS 0H
* ***
* *** reply = rd_kafka_op_req(
* *** rk->rk_ops,
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** -1);
* *** rd_kafka_txn_op_begin_trans\
* action),
STG 3,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1081_790 ; rd_kafka_txn_op_begin_transaction
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1081_791 ; rd_kafka_op_new_cb
@@gen_label1102 DS 0H
BALR 14,15
@@gen_label1103 DS 0H
LG 1,8(0,3)
STG 1,176(0,13)
STG 15,184(0,13)
MVGHI 192(13),-1
LA 1,176(0,13)
LG 15,@lit_1081_792 ; rd_kafka_op_req
@@gen_label1104 DS 0H
BALR 14,15
@@gen_label1105 DS 0H
* ***
* *** if ((error = reply->rko_error))
LG 2,40(0,15) ; offset of rko_error in rd_kafka_op_s
LTGR 1,2
BZ @L1249
* *** reply->rko_error = ((void *)0);
LGHI 1,0 ; 0
STG 1,40(0,15) ; offset of rko_error in rd_kafka_op_s
@L1249 DS 0H
* ***
* *** rd_kafka_op_destroy(reply);
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1081_794 ; rd_kafka_op_destroy
@@gen_label1107 DS 0H
BALR 14,15
@@gen_label1108 DS 0H
* ***
* *** return error;
LGR 15,2
* *** }
@ret_lab_1081 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_begin_transaction"
* (FUNCTION #1081)
*
@AUTO#rd_kafka_begin_transaction DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_handle_TxnOffsetCommit
@LNAME2021 DS 0H
DC X'00000023'
DC C'rd_kafka_txn_handle_TxnOffsetCom'
DC C'mit'
DC X'00'
rd_kafka_txn_handle_$Txn$Offset$Commit DCCPRLG CINDEX=2021,BASER=12,FRA*
ME=1336,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2021
LGR 5,1
* ******* End of Prologue
* *
* *** const int log_decode_errors = 3;
LMG 9,10,0(5) ; rk
L 3,20(0,5) ; err
LG 11,24(0,5) ; rkbuf
* *** rd_kafka_op_t *rko = opaque;
LG 4,40(0,5) ; opaque
* *** int actions = 0;
LHI 2,0 ; 0
* *** rd_kafka_topic_partition_list_t *partitions = ((void *\
* )0);
LGHI 6,0 ; 0
* *** char errstr[512];
* ***
* *** *errstr = '\0';
MVI 176(13),0
* ***
* *** if (err != RD_KAFKA_RESP_ERR__DESTROY &&
CHI 3,-197
BE @L1250
* *** !rd_kafka_q_ready(rko->rko_replyq.q))
LG 15,64(0,4)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_799 ; rd_kafka_q_ready
@@gen_label1110 DS 0H
BALR 14,15
@@gen_label1111 DS 0H
LTR 15,15
BNZ @L1250
* *** err = RD_KAFKA_RESP_ERR__OUTDATED;
LHI 3,-167 ; -167
@L1250 DS 0H
* ***
* *** if (err)
LTR 3,3
BZ @L1258
* *** goto done;
B @_done@2021@4
DS 0D
@FRAMESIZE_2021 DC F'1336'
@lit_2021_799 DC AD(rd_kafka_q_ready)
@lit_2021_802 DC AD(rd_slice_read)
@lit_2021_803 DC AD(rd_slice_abs_offset)
@lit_2021_806 DC AD(rd_kafka_crash)
@lit_2021_805 DC AD(@DATA)
@lit_2021_804 DC AD(@strings@)
@lit_2021_808 DC AD(snprintf)
@lit_2021_810 DC AD(mtx_lock)
@lit_2021_812 DC AD(rd_strlcpy)
@lit_2021_814 DC AD(mtx_unlock)
@lit_2021_815 DC AD(rd_kafka_$Api$Key2str)
@lit_2021_816 DC AD(rd_slice_offset)
@lit_2021_821 DC AD(rd_kafka_log0)
@lit_2021_822 DC AD(rd_kafka_op_throttle_time)
@lit_2021_823 DC AD(rd_kafka_buf_read_topic_partitions)
@lit_2021_824 DC AD(rd_kafka_topic_partition_list_get_err)
@lit_2021_825 DC AD(rd_kafka_topic_partition_list_str)
@lit_2021_826 DC AD(rd_kafka_broker_name)
@lit_2021_828 DC F'1000' 0x000003e8
@lit_2021_832 DC AD(rd_kafka_err2str)
@lit_2021_836 DC AD(rd_kafka_topic_partition_list_destroy)
@lit_region_diff_2021_1_2 DC A(@REGION_2021_2-@REGION_2021_1)
@lit_2021_838 DC AD(rd_kafka_coord_cache_evict)
@lit_2021_839 DC FD'1' 0x0000000000000001
@lit_2021_840 DC FD'6' 0x0000000000000006
@lit_2021_841 DC FD'3' 0x0000000000000003
@lit_2021_842 DC FD'4' 0x0000000000000004
@lit_2021_843 DC FD'7' 0x0000000000000007
@lit_2021_844 DC FD'16' 0x0000000000000010
@lit_2021_845 DC FD'64' 0x0000000000000040
* ***
* *** do { int32_t _throttle_time_ms; do { int32_t _v; do { \
* size_t __len2 = (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->r\
* kbuf_reader, &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if\
* (((__len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(\
* rkbuf)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { i\
* f (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\
* \\src\\rdkafka_txnmgr.c",1532, __FUNCTION__, (((void *)0)), "assert:\
* " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__\
* tmpstr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmps\
* tr[0] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)-\
* >rkb_logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logna\
* me, sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_l\
* ock); rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rk\
* buf_rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "P\
* rotocol read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu"\
* " (%s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining byt\
* es (%s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf-\
* >rkbuf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&\
* rkbuf->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTI\
* ON__, 1532, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offs\
* et(&rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rk\
* buf_uflow_mitigation : "incorrect broker.version.fallback?", __tmpst\
* r); } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW\
* ; goto err_parse; } while (0); } } while (0); } while (0); *(&_throt\
* tle_time_ms) = (_v); } while (0); rd_kafka_op_throttle_time((rkbuf)-\
* >rkbuf_rkb, (rkbuf)->rkbuf_rkb->rkb_rk->rk_rep, _throttle_time_ms); \
* } while (0);
@L1258 DS 0H
LGHI 3,4 ; 4
LA 15,120(0,11)
STG 15,1200(0,13)
LA 15,168(0,13)
STG 15,1208(0,13)
STG 3,1216(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_802 ; rd_slice_read
@@gen_label1114 DS 0H
BALR 14,15
@@gen_label1115 DS 0H
LTGR 15,15
BNZ @L1261
@L1262 DS 0H
LG 7,152(0,11) ; offset of end in rd_slice_s
LA 15,120(0,11)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_803 ; rd_slice_abs_offset
@@gen_label1117 DS 0H
BALR 14,15
@@gen_label1118 DS 0H
SLGR 7,15
CLGR 3,7
BNH @L1265
@L1266 DS 0H
LHI 15,3 ; 3
LTR 15,15
BNH @L1269
@L1270 DS 0H
LTG 15,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1273
LG 15,@lit_2021_804
LA 1,434(0,15)
STG 1,1200(0,13)
MVGHI 1208(13),1532
LG 1,@lit_2021_805
LA 1,710(0,1)
STG 1,1216(0,13)
XC 1224(8,13),1224(13)
LA 15,1410(0,15)
STG 15,1232(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_806 ; rd_kafka_crash
@@gen_label1122 DS 0H
BALR 14,15
@@gen_label1123 DS 0H
@L1273 DS 0H
LA 15,688(0,13)
STG 15,1200(0,13)
MVGHI 1208(13),256
LG 15,@lit_2021_804
LA 15,1436(0,15)
STG 15,1216(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_808 ; snprintf
@@gen_label1124 DS 0H
BALR 14,15
@@gen_label1125 DS 0H
LA 15,688(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1126 DS 0H
SRST 0,15
BC 1,@@gen_label1126
SLGR 0,1
CGHI 0,2
BNE @L1275
MVI 688(13),0
@L1274 DS 0H
@L1275 DS 0H
LG 15,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_810 ; mtx_lock
@@gen_label1128 DS 0H
BALR 14,15
@@gen_label1129 DS 0H
LA 15,944(0,13)
STG 15,1200(0,13)
LG 15,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1208(0,13)
MVGHI 1216(13),256
LA 1,1200(0,13)
LG 15,@lit_2021_812 ; rd_strlcpy
@@gen_label1130 DS 0H
BALR 14,15
@@gen_label1131 DS 0H
LG 15,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_814 ; mtx_unlock
@@gen_label1132 DS 0H
BALR 14,15
@@gen_label1133 DS 0H
LGH 15,184(0,11)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_815 ; rd_kafka_ApiKey2str
@@gen_label1134 DS 0H
BALR 14,15
@@gen_label1135 DS 0H
LGR 3,15
LA 15,120(0,11)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_816 ; rd_slice_offset
@@gen_label1136 DS 0H
BALR 14,15
@@gen_label1137 DS 0H
LGR 7,15
LG 8,152(0,11) ; offset of end in rd_slice_s
LA 15,120(0,11)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_803 ; rd_slice_abs_offset
@@gen_label1138 DS 0H
BALR 14,15
@@gen_label1139 DS 0H
SLGR 8,15
LTG 15,488(0,11) ; offset of rkbuf_uflow_mitigation in rd_ka*
fka_buf_s
BZ @L1278
LG 15,488(0,11) ; offset of rkbuf_uflow_mitigation in rd_ka*
fka_buf_s
B @L1279
@L1278 DS 0H
LG 15,@lit_2021_804
LA 15,1440(0,15)
@L1279 DS 0H
LG 1,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1200(0,13)
LG 1,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1208(0,13)
LA 1,944(0,13)
STG 1,1216(0,13)
LHI 1,3 ; 3
LGFR 1,1
STG 1,1224(0,13)
XC 1232(8,13),1232(13)
LG 1,@lit_2021_804
LA 14,1476(0,1)
STG 14,1240(0,13)
LA 1,1488(0,1)
STG 1,1248(0,13)
STG 3,1256(0,13)
LH 1,186(0,11)
LGFR 1,1
STG 1,1264(0,13)
STG 7,1272(0,13)
LG 1,152(0,11) ; offset of end in rd_slice_s
SLG 1,144(0,11)
STG 1,1280(0,13)
LG 1,@lit_2021_805
LA 1,710(0,1)
STG 1,1288(0,13)
MVGHI 1296(13),1532
LGHI 1,4 ; 4
STG 1,1304(0,13)
STG 8,1312(0,13)
STG 15,1320(0,13)
LA 15,688(0,13)
STG 15,1328(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_821 ; rd_kafka_log0
@@gen_label1141 DS 0H
BALR 14,15
@@gen_label1142 DS 0H
@L1269 DS 0H
MVHI 392(11),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2021@5
@L1265 DS 0H
@L1261 DS 0H
L 15,168(0,13) ; _v
ST 15,172(0,13)
LG 15,256(0,11)
STG 15,1200(0,13)
LG 15,256(0,11) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LG 15,0(0,15)
STG 15,1208(0,13)
LGF 15,172(0,13) ; _throttle_time_ms
STG 15,1216(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_822 ; rd_kafka_op_throttle_time
@@gen_label1143 DS 0H
BALR 14,15
@@gen_label1144 DS 0H
* ***
* *** partitions = rd_kafka_buf_read_topic_partitions(rkbuf,\
* 0,
* *** 0, 1);
STG 11,1200(0,13)
XC 1208(16,13),1208(13)
MVGHI 1224(13),1
LA 1,1200(0,13)
LG 15,@lit_2021_823 ; rd_kafka_buf_read_topic_partitions
@@gen_label1145 DS 0H
BALR 14,15
@@gen_label1146 DS 0H
LTGR 6,15 ; partitions
* *** if (!partitions)
BZ @_err_parse@2021@5
* *** goto err_parse;
@L1280 DS 0H
* ***
* *** err = rd_kafka_topic_partition_list_get_err(partitions\
* );
STG 6,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_824 ; rd_kafka_topic_partition_list_get_err
@@gen_label1148 DS 0H
BALR 14,15
@@gen_label1149 DS 0H
LTR 3,15 ; err
* *** if (err) {
BZ @_done@2021@4
* *** char errparts[256];
* *** rd_kafka_topic_partition_list_str(partitions,
* *** errparts, si\
* zeof(errparts),
* *** 0x2);
STG 6,1200(0,13)
LA 15,688(0,13)
STG 15,1208(0,13)
MVGHI 1216(13),256
MVGHI 1224(13),2
LA 1,1200(0,13)
LG 15,@lit_2021_825 ; rd_kafka_topic_partition_list_str
@@gen_label1151 DS 0H
BALR 14,15
@@gen_label1152 DS 0H
* *** snprintf(errstr, sizeof(errstr), "Failed to co\
* mmit offsets to transaction on " "broker %s: %s " "(after %dms)", rd\
* _kafka_broker_name(rkb), errparts, (int)(request->rkbuf_ts_sent/1000\
* ));
STG 10,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_826 ; rd_kafka_broker_name
@@gen_label1153 DS 0H
BALR 14,15
@@gen_label1154 DS 0H
LA 1,176(0,13)
STG 1,1200(0,13)
MVGHI 1208(13),512
LG 1,@lit_2021_804
LA 1,2632(0,1)
STG 1,1216(0,13)
STG 15,1224(0,13)
LA 15,688(0,13)
STG 15,1232(0,13)
LG 15,32(0,5) ; request
LG 15,344(0,15) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 14,@lit_2021_828
LGFR 15,15
STG 15,1240(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_808 ; snprintf
@@gen_label1155 DS 0H
BALR 14,15
@@gen_label1156 DS 0H
* *** # 1551 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** }
@L1281 DS 0H
* ***
* *** goto done;
B @_done@2021@4
* ***
* *** err_parse:
* *** err = rkbuf->rkbuf_err;
@_err_parse@2021@5 DS 0H
L 3,392(0,11) ; offset of rkbuf_err in rd_kafka_buf_s
* ***
* *** done:
* *** if (err) {
@_done@2021@4 DS 0H
LTR 3,3
BZ @L1282
* *** if (!*errstr) {
CLI 176(13),0
BNE @L1282
* *** snprintf(errstr, sizeof(errstr), "Fail\
* ed to commit offsets to " "transaction on broker %s: %s " "(after %d\
* ms)", rkb ? rd_kafka_broker_name(rkb) : "(none)", rd_kafka_err2str(\
* err), (int)(request->rkbuf_ts_sent/1000));
LTGR 15,10
BZ @L1284
STG 10,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_826 ; rd_kafka_broker_name
@@gen_label1160 DS 0H
BALR 14,15
@@gen_label1161 DS 0H
LGR 7,15
B @L1285
@L1284 DS 0H
LG 15,@lit_2021_804
LA 7,2702(0,15)
@L1285 DS 0H
LGFR 15,3
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_832 ; rd_kafka_err2str
@@gen_label1162 DS 0H
BALR 14,15
@@gen_label1163 DS 0H
LA 1,176(0,13)
STG 1,1200(0,13)
MVGHI 1208(13),512
LG 1,@lit_2021_804
LA 1,2710(0,1)
STG 1,1216(0,13)
STG 7,1224(0,13)
STG 15,1232(0,13)
LG 15,32(0,5) ; request
LG 15,344(0,15) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 14,@lit_2021_828
LGFR 15,15
STG 15,1240(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_808 ; snprintf
@@gen_label1164 DS 0H
BALR 14,15
@@gen_label1165 DS 0H
* *** # 1568 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** }
@L1283 DS 0H
* *** }
@L1282 DS 0H
* ***
* ***
* *** if (partitions)
LTGR 15,6
BZ @L1287
* *** rd_kafka_topic_partition_list_destroy(partitio\
* ns);
STG 6,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_836 ; rd_kafka_topic_partition_list_destroy
@@gen_label1167 DS 0H
BALR 14,15
@@gen_label1168 DS 0H
@L1286 DS 0H
* ***
* *** switch (err)
B @L1287
* *** {
* *** case RD_KAFKA_RESP_ERR_NO_ERROR:
* *** break;
* ***
* *** case RD_KAFKA_RESP_ERR__DESTROY:
* ***
* *** case RD_KAFKA_RESP_ERR__OUTDATED:
@L1291 DS 0H
* ***
* ***
* *** actions = 0x20;
* *** return;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @ret_lab_2021
DROP 12
USING @REGION_2021_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_NOT_COORDINATOR:
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_NOT_AVAILABLE:
* *** case RD_KAFKA_RESP_ERR_REQUEST_TIMED_OUT:
* *** case RD_KAFKA_RESP_ERR__TRANSPORT:
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT:
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT_QUEUE:
@L1297 DS 0H
* ***
* ***
* *** rd_kafka_coord_cache_evict(&rk->rk_coord_cache\
* , rkb);
LA 15,3944(0,9)
STG 15,1200(0,13)
STG 10,1208(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_838 ; rd_kafka_coord_cache_evict
@@gen_label1169 DS 0H
BALR 14,15
@@gen_label1170 DS 0H
* *** actions |= 0x8;
OILL 2,8
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_CONCURRENT_TRANSACTIONS:
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_LOAD_IN_PROGRESS:
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART:
@L1300 DS 0H
* *** actions |= 0x8;
OILL 2,8
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_TRANSACTIONAL_ID_AUTHORIZATION_\
* FAILED:
* *** case RD_KAFKA_RESP_ERR_CLUSTER_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_ID_MAPPING:
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_EPOCH:
* *** case RD_KAFKA_RESP_ERR_INVALID_TXN_STATE:
* *** case RD_KAFKA_RESP_ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT:
@L1306 DS 0H
* *** actions |= 0x200;
OILL 2,512
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_GROUP_AUTHORIZATION_FAILED:
@L1308 DS 0H
* *** actions |= 0x1;
OILL 2,1
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_ILLEGAL_GENERATION:
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_MEMBER_ID:
* *** case RD_KAFKA_RESP_ERR_FENCED_INSTANCE_ID:
@L1311 DS 0H
* *** actions |= 0x1;
OILL 2,1
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* ***
* *** default:
* ***
* *** actions |= 0x1;
@L1312 DS 0H
OILL 2,1
* *** break;
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
* *** }
@L1287 DS 0H
CHI 3,-185
BNL @@gen_label1171
CHI 3,-197
BL @L1312
CHI 3,-197
BE @L1291
CHI 3,-195
BE @L1297
B @L1312
@@gen_label1171 DS 0H
CHI 3,-167
BNL @@gen_label1172
CHI 3,-185
BE @L1297
B @L1312
@@gen_label1172 DS 0H
LTR 3,3
BNL @@gen_label1173
CHI 3,-167
BE @L1291
CHI 3,-166
BE @L1297
B @L1312
@@gen_label1173 DS 0H
CHI 3,43
BNL @@gen_label1174
CHI 3,7
BNL @@gen_label1175
LTR 3,3
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @L1288
DROP 12
USING @REGION_2021_1,12
CHI 3,3
BE @L1300
B @L1312
@@gen_label1175 DS 0H
CHI 3,14
BNL @@gen_label1176
CHI 3,7
BE @L1297
B @L1312
@@gen_label1176 DS 0H
CHI 3,22
BNL @@gen_label1177
LR 15,3
AHI 15,-14
CLFI 15,X'00000002'
BH @L1312
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2021_839
BNZ @L1300
NG 1,@lit_2021_840
BNZ @L1297
B @L1312
@@gen_label1177 DS 0H
CHI 3,29
BNL @@gen_label1178
CHI 3,22
BE @L1311
CHI 3,25
BE @L1311
B @L1312
@@gen_label1178 DS 0H
LR 15,3
AHI 15,-29
CLFI 15,X'00000002'
BH @L1312
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2021_841
BNZ @L1308
NG 1,@lit_2021_842
BNZ @L1306
B @L1312
@@gen_label1174 DS 0H
CHI 3,82
BL *+14 Around region break
ALGF 12,@lit_region_diff_2021_1_2
DROP 12
USING @REGION_2021_2,12
B @@gen_label1179
DROP 12
USING @REGION_2021_1,12
CHI 3,47
BNL @@gen_label1180
CHI 3,43
BE @L1306
B @L1312
@@gen_label1180 DS 0H
LR 15,3
AHI 15,-47
CLFI 15,X'00000006'
BH @L1312
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2021_843
BNZ @L1306
LGR 15,1
NG 15,@lit_2021_844
BNZ @L1300
NG 1,@lit_2021_845
BNZ @L1306
ALGF 12,@lit_region_diff_2021_1_2
@REGION_2021_2 DS 0H
DROP 12
USING @REGION_2021_2,12
SLGF 12,@lit_region_diff_2021_2_1
DROP 12
USING @REGION_2021_1,12
B @L1312
DROP 12
USING @REGION_2021_2,12
DS 0D
@lit_region_diff_2021_2_1 DC A(@REGION_2021_2-@REGION_2021_1)
@lit_2021_846 DC AD(rd_kafka_txn_normalize_err)
@lit_2021_848 DC AD(rd_kafka_txn_set_fatal_error)
@lit_2021_847 DC AD(@strings@)
@lit_2021_849 DC AD(rd_timeout_remains)
@lit_2021_850 DC AD(rd_timeout_expired)
@lit_2021_851 DC AD(rd_timeout_remains_limit0)
@lit_2021_853 DC AD(rd_kafka_replyq_make)
@lit_2021_852 DC AD(@DATA)
@lit_2021_856 DC AD(rd_kafka_coord_req)
@lit_2021_855 DC AD(rd_kafka_txn_handle_$Txn$Offset$Commit)
@lit_2021_854 DC AD(rd_kafka_txn_send_$Txn$Offset$Commit$Request)
@lit_2021_859 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2021_860 DC AD(rd_kafka_q_keep)
@lit_2021_862 DC AD(rd_kafka_txn_curr_api_reply)
@lit_2021_865 DC AD(rd_kafka_op_destroy)
@@gen_label1179 DS 0H
CHI 3,82
BNE *+14 Around region break
SLGF 12,@lit_region_diff_2021_2_1
DROP 12
USING @REGION_2021_1,12
B @L1311
DROP 12
USING @REGION_2021_2,12
SLGF 12,@lit_region_diff_2021_2_1
DROP 12
USING @REGION_2021_1,12
B @L1312
DROP 12
USING @REGION_2021_2,12
@L1288 DS 0H
* ***
* *** err = rd_kafka_txn_normalize_err(err);
LGFR 15,3
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_846 ; rd_kafka_txn_normalize_err
@@gen_label1181 DS 0H
BALR 14,15
@@gen_label1182 DS 0H
LR 3,15 ; err
* ***
* *** if (actions & 0x200) {
LR 15,2
NILF 15,X'00000200'
LTR 15,15
BZ @L1313
* *** rd_kafka_txn_set_fatal_error(rk, RD_DO_LOCK, e\
* rr,
* *** "%s", errstr);
STG 9,1200(0,13)
MVGHI 1208(13),1
LGFR 15,3
STG 15,1216(0,13)
LG 15,@lit_2021_847
LA 15,290(0,15)
STG 15,1224(0,13)
LA 15,176(0,13)
STG 15,1232(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_848 ; rd_kafka_txn_set_fatal_error
@@gen_label1184 DS 0H
BALR 14,15
@@gen_label1185 DS 0H
* ***
* *** } else if (actions & 0x8) {
B @L1314
@L1313 DS 0H
TML 2,8
BZ @L1314
* *** int remains_ms = rd_timeout_remains(rko->rko_u\
* .txn.abs_timeout);
LG 15,136(0,4)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_849 ; rd_timeout_remains
@@gen_label1187 DS 0H
BALR 14,15
@@gen_label1188 DS 0H
LR 5,15
* ***
* *** if (!rd_timeout_expired(remains_ms)) {
LGFR 15,5
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_850 ; rd_timeout_expired
@@gen_label1189 DS 0H
BALR 14,15
@@gen_label1190 DS 0H
LTR 15,15
BNZ @L1316
* *** rd_kafka_coord_req(
* *** rk,
* *** RD_KAFKA_COORD_GROUP,
* *** rko->rko_u.txn.cgmetadata->gro\
* up_id,
* *** rd_kafka_txn_send_TxnOffsetCom\
* mitRequest,
* *** rko,
* *** rd_timeout_remains_limit0(
* *** rd_kafka_replyq_make(rk->rk_op\
* s,0,__FUNCTION__),
* *** rd_kafka_txn_handle_TxnOffsetC\
* ommit,
* *** rko);
* *** remains_ms,
* *** rk->rk_conf.socket_tim\
* eout_ms),
LGFR 15,5
STG 15,1200(0,13)
LGF 15,812(0,9)
STG 15,1208(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_851 ; rd_timeout_remains_limit0
@@gen_label1192 DS 0H
BALR 14,15
@@gen_label1193 DS 0H
LR 2,15
LA 15,688(0,13)
STG 15,1200(0,13)
LG 15,8(0,9)
STG 15,1208(0,13)
XC 1216(8,13),1216(13)
LG 15,@lit_2021_852
LA 15,710(0,15)
STG 15,1224(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_853 ; rd_kafka_replyq_make
@@gen_label1194 DS 0H
BALR 14,15
@@gen_label1195 DS 0H
STG 9,1200(0,13)
XC 1208(8,13),1208(13)
LG 15,112(0,4) ; offset of rko_u in rd_kafka_op_s
LG 15,0(0,15)
STG 15,1216(0,13)
LG 15,@lit_2021_854 ; rd_kafka_txn_send_TxnOffsetCommitRequ*
est
STG 15,1224(0,13)
STG 4,1232(0,13)
LGFR 15,2
STG 15,1240(0,13)
MVC 1248(16,13),688(13)
LG 15,@lit_2021_855 ; rd_kafka_txn_handle_TxnOffsetCommit
STG 15,1264(0,13)
STG 4,1272(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_856 ; rd_kafka_coord_req
@@gen_label1196 DS 0H
BALR 14,15
@@gen_label1197 DS 0H
* *** return;
B @ret_lab_2021
* *** } else if (!err)
@L1316 DS 0H
LTR 3,3
BNZ @L1317
* *** err = RD_KAFKA_RESP_ERR__TIMED_OUT;
LHI 3,-185 ; -185
@L1318 DS 0H
* *** actions |= 0x1;
@L1317 DS 0H
OILL 2,1
* *** }
@L1315 DS 0H
* ***
* *** if (actions & 0x1)
@L1314 DS 0H
TML 2,1
BZ @L1319
* *** rd_kafka_txn_set_abortable_error0(rk,err,0,"%s\
* ", errstr);
STG 9,1200(0,13)
LGFR 15,3
STG 15,1208(0,13)
XC 1216(8,13),1216(13)
LG 15,@lit_2021_847
LA 15,290(0,15)
STG 15,1224(0,13)
LA 15,176(0,13)
STG 15,1232(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_859 ; rd_kafka_txn_set_abortable_error0
@@gen_label1200 DS 0H
BALR 14,15
@@gen_label1201 DS 0H
@L1319 DS 0H
* ***
* *** if (err)
LTR 3,3
BZ @L1320
* *** rd_kafka_txn_curr_api_reply(rd_kafka_q_keep(rk\
* o->rko_replyq.q),
* *** actions, err, "%s"\
* , errstr);
LG 15,64(0,4)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_860 ; rd_kafka_q_keep
@@gen_label1203 DS 0H
BALR 14,15
@@gen_label1204 DS 0H
STG 15,1200(0,13)
LGFR 15,2
STG 15,1208(0,13)
LGFR 15,3
STG 15,1216(0,13)
LG 15,@lit_2021_847
LA 15,290(0,15)
STG 15,1224(0,13)
LA 15,176(0,13)
STG 15,1232(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_862 ; rd_kafka_txn_curr_api_reply
@@gen_label1205 DS 0H
BALR 14,15
@@gen_label1206 DS 0H
B @L1321
* *** else
@L1320 DS 0H
* *** rd_kafka_txn_curr_api_reply(rd_kafka_q_keep(rk\
* o->rko_replyq.q),
* *** 0, RD_KAFKA_RESP_E\
* RR_NO_ERROR,
* *** ((void *)0));
LG 15,64(0,4)
STG 15,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_860 ; rd_kafka_q_keep
@@gen_label1207 DS 0H
BALR 14,15
@@gen_label1208 DS 0H
STG 15,1200(0,13)
XC 1208(24,13),1208(13)
LA 1,1200(0,13)
LG 15,@lit_2021_862 ; rd_kafka_txn_curr_api_reply
@@gen_label1209 DS 0H
BALR 14,15
@@gen_label1210 DS 0H
@L1321 DS 0H
* ***
* *** rd_kafka_op_destroy(rko);
STG 4,1200(0,13)
LA 1,1200(0,13)
LG 15,@lit_2021_865 ; rd_kafka_op_destroy
@@gen_label1211 DS 0H
BALR 14,15
@@gen_label1212 DS 0H
* *** }
@ret_lab_2021 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_handle_TxnOffsetCom
* mit"
* (FUNCTION #2021)
*
@AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit DSECT
DS XL168
rd_kafka_txn_handle_$Txn$Offset$Commit#remains_ms#15 DS 1F ; remains_ms
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+168
rd_kafka_txn_handle_$Txn$Offset$Commit#__len0#4 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+168
rd_kafka_txn_handle_$Txn$Offset$Commit#__len2#3 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+168
rd_kafka_txn_handle_$Txn$Offset$Commit#_v#2 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+168
rd_kafka_txn_handle_$Txn$Offset$Commit#actions#0 DS 1F ; actions
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+168
rd_kafka_txn_handle_$Txn$Offset$Commit#log_decode_errors#0 DS 1F ; log_*
decode_errors
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+172
rd_kafka_txn_handle_$Txn$Offset$Commit#_throttle_time_ms#1 DS 1F ; _thr*
ottle_time_ms
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+176
rd_kafka_txn_handle_$Txn$Offset$Commit#errstr#0 DS 512XL1 ; errstr
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+688
rd_kafka_txn_handle_$Txn$Offset$Commit#errparts#10 DS 256XL1 ; errparts
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+688
rd_kafka_txn_handle_$Txn$Offset$Commit#__tmpstr#8 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Txn$Offset$Commit+944
rd_kafka_txn_handle_$Txn$Offset$Commit#_logname#9 DS 256XL1 ; _logname
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_send_TxnOffsetCommitRequest
@LNAME2020 DS 0H
DC X'00000028'
DC C'rd_kafka_txn_send_TxnOffsetCommi'
DC C'tRequest'
DC X'00'
rd_kafka_txn_send_$Txn$Offset$Commit$Request DCCPRLG CINDEX=2020,BASER=*
12,FRAME=256,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2020
LGR 7,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** rd_kafka_t *rk = rkb->rkb_rk;
LMG 2,3,0(7) ; rkb
LG 4,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
* *** rd_kafka_buf_t *rkbuf;
* *** int16_t ApiVersion;
* *** rd_kafka_pid_t pid;
* *** const rd_kafka_consumer_group_metadata_t *cgmetadata =
* *** rko->rko_u.txn.cgmetadata;
LG 6,112(0,3) ; offset of rko_u in rd_kafka_op_s
* *** int cnt;
* ***
* *** rwlock_rdlock(&(rk)->rk_lock);
LA 15,2464(0,4)
STG 15,200(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_880 ; rwlock_rdlock
@@gen_label1213 DS 0H
BALR 14,15
@@gen_label1214 DS 0H
* *** if (rk->rk_eos.txn_state != RD_KAFKA_TXN_STATE_IN_TRAN\
* SACTION) {
CHSI 3384(4),4
BE @L1322
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,4)
STG 15,200(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_881 ; rwlock_rdunlock
@@gen_label1216 DS 0H
BALR 14,15
@@gen_label1217 DS 0H
* ***
* ***
* ***
* *** return RD_KAFKA_RESP_ERR__STATE;
LGHI 15,-172 ; -172
B @ret_lab_2020
DS 0D
@FRAMESIZE_2020 DC F'256'
@lit_2020_880 DC AD(rwlock_rdlock)
@lit_2020_881 DC AD(rwlock_rdunlock)
@lit_2020_883 DC AD(rd_kafka_idemp_get_pid0)
@lit_2020_886 DC AD(rd_kafka_broker_$Api$Version_supported)
@lit_2020_889 DC AD(rd_kafka_buf_new_request0)
@lit_2020_888 DC FD'255' 0x00000000000000ff
@lit_2020_890 DC AD(rd_kafka_buf_write_str)
@lit_2020_892 DC AD(rd_kafka_buf_write_i64)
@lit_2020_893 DC AD(rd_kafka_buf_write_i16)
@lit_2020_894 DC AD(rd_kafka_buf_write_i32)
@lit_2020_898 DC AD(rd_kafka_buf_write_topic_partitions)
@lit_2020_899 DC AD(rd_refcnt_sub0)
@lit_2020_900 DC AD(rd_kafka_buf_destroy_final)
@lit_2020_902 DC AD(rd_kafka_buf_$Api$Version_set)
@lit_2020_904 DC AD(rd_kafka_broker_buf_enq_replyq)
* *** }
@L1322 DS 0H
* ***
* *** pid = rd_kafka_idemp_get_pid0(rk, RD_DONT_LOCK);
LA 15,184(0,13)
STG 15,200(0,13)
STG 4,208(0,13)
XC 216(8,13),216(13)
LA 1,200(0,13)
LG 15,@lit_2020_883 ; rd_kafka_idemp_get_pid0
@@gen_label1218 DS 0H
BALR 14,15
@@gen_label1219 DS 0H
MVC 168(16,13),184(13)
* *** rwlock_rdunlock(&(rk)->rk_lock);
LA 15,2464(0,4)
STG 15,200(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_881 ; rwlock_rdunlock
@@gen_label1220 DS 0H
BALR 14,15
@@gen_label1221 DS 0H
* *** if (!((pid).id != -1)) {
CGHSI 168(13),-1
BNE @L1323
* ***
* ***
* ***
* *** return RD_KAFKA_RESP_ERR__STATE;
LGHI 15,-172 ; -172
B @ret_lab_2020
* *** }
@L1323 DS 0H
* ***
* *** ApiVersion = rd_kafka_broker_ApiVersion_supported(
* *** rkb, 28, 0, 3, ((void *)0));
STG 2,200(0,13)
MVGHI 208(13),28
XC 216(8,13),216(13)
MVGHI 224(13),3
XC 232(8,13),232(13)
LA 1,200(0,13)
LG 15,@lit_2020_886 ; rd_kafka_broker_ApiVersion_supported
@@gen_label1223 DS 0H
BALR 14,15
@@gen_label1224 DS 0H
LR 8,15
STH 8,184(0,13) ; ApiVersion
* *** if (ApiVersion == -1) {
LHR 15,8
CHI 15,-1
BNE @L1324
* ***
* ***
* ***
* *** return RD_KAFKA_RESP_ERR__UNSUPPORTED_FEATURE;
LGHI 15,-165 ; -165
B @ret_lab_2020
* *** }
@L1324 DS 0H
* ***
* *** rkbuf = rd_kafka_buf_new_request0(rkb,28,1,rko->rko_u.\
* txn.offsets->cnt * 50,ApiVersion >= 3);
STG 2,200(0,13)
MVGHI 208(13),28
MVGHI 216(13),1
LG 15,144(0,3) ; offset of offsets in 0000084
L 15,0(0,15)
MHI 15,50
LGFR 15,15
STG 15,224(0,13)
LHR 15,8
CHI 15,3
BL @@gen_label1226
LHI 15,1
B @@gen_label1227
@@gen_label1226 DS 0H
LHI 15,0
@@gen_label1227 DS 0H
NG 15,@lit_2020_888
STG 15,232(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_889 ; rd_kafka_buf_new_request0
@@gen_label1228 DS 0H
BALR 14,15
@@gen_label1229 DS 0H
LGR 5,15
* ***
* ***
* ***
* ***
* ***
* ***
* *** rd_kafka_buf_write_str(rkbuf, rk->rk_conf.eos.transact\
* ional_id, -1);
STG 5,200(0,13)
LG 15,2024(0,4)
STG 15,208(0,13)
MVGHI 216(13),-1
LA 1,200(0,13)
LG 4,@lit_2020_890 ; rd_kafka_buf_write_str
LGR 15,4
@@gen_label1230 DS 0H
BALR 14,15
@@gen_label1231 DS 0H
* ***
* ***
* *** rd_kafka_buf_write_str(rkbuf, rko->rko_u.txn.cgmetadat\
* a->group_id, -1);
STG 5,200(0,13)
LG 15,112(0,3) ; offset of rko_u in rd_kafka_op_s
LG 15,0(0,15)
STG 15,208(0,13)
MVGHI 216(13),-1
LA 1,200(0,13)
LGR 15,4
@@gen_label1232 DS 0H
BALR 14,15
@@gen_label1233 DS 0H
* ***
* ***
* *** rd_kafka_buf_write_i64(rkbuf, pid.id);
STG 5,200(0,13)
LG 15,168(0,13)
STG 15,208(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_892 ; rd_kafka_buf_write_i64
@@gen_label1234 DS 0H
BALR 14,15
@@gen_label1235 DS 0H
* *** rd_kafka_buf_write_i16(rkbuf, pid.epoch);
STG 5,200(0,13)
LGH 15,176(0,13)
STG 15,208(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_893 ; rd_kafka_buf_write_i16
@@gen_label1236 DS 0H
BALR 14,15
@@gen_label1237 DS 0H
* ***
* *** if (ApiVersion >= 3) {
LHR 15,8
CHI 15,3
BL @L1325
* ***
* *** rd_kafka_buf_write_i32(rkbuf, cgmetadata->gene\
* ration_id);
STG 5,200(0,13)
LGF 15,8(0,6)
STG 15,208(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_894 ; rd_kafka_buf_write_i32
@@gen_label1239 DS 0H
BALR 14,15
@@gen_label1240 DS 0H
* ***
* *** rd_kafka_buf_write_str(rkbuf, cgmetadata->memb\
* er_id, -1);
STG 5,200(0,13)
LG 15,16(0,6)
STG 15,208(0,13)
MVGHI 216(13),-1
LA 1,200(0,13)
LGR 15,4
@@gen_label1241 DS 0H
BALR 14,15
@@gen_label1242 DS 0H
* ***
* *** rd_kafka_buf_write_str(rkbuf, cgmetadata->grou\
* p_instance_id,
* *** -1);
STG 5,200(0,13)
LG 15,24(0,6)
STG 15,208(0,13)
MVGHI 216(13),-1
LA 1,200(0,13)
LGR 15,4
@@gen_label1243 DS 0H
BALR 14,15
@@gen_label1244 DS 0H
* *** }
@L1325 DS 0H
* ***
* ***
* *** cnt = rd_kafka_buf_write_topic_partitions(
* *** rkbuf,
* *** rko->rko_u.txn.offsets,
* *** 1 ,
* *** 0 ,
* *** 1 ,
* *** ApiVersion >= 2 ,
* *** 1 );
STG 5,200(0,13)
LG 15,144(0,3)
STG 15,208(0,13)
MVGHI 216(13),1
XC 224(8,13),224(13)
MVGHI 232(13),1
LHR 15,8
CHI 15,2
BL @@gen_label1245
LHI 15,1
B @@gen_label1246
@@gen_label1245 DS 0H
LHI 15,0
@@gen_label1246 DS 0H
NG 15,@lit_2020_888
STG 15,240(0,13)
MVGHI 248(13),1
LA 1,200(0,13)
LG 15,@lit_2020_898 ; rd_kafka_buf_write_topic_partitions
@@gen_label1247 DS 0H
BALR 14,15
@@gen_label1248 DS 0H
* ***
* *** if (!cnt) {
LTR 15,15
BNZ @L1326
* ***
* *** do { if (rd_refcnt_sub0(&(rkbuf)->rkbuf_refcnt\
* ) > 0) break; rd_kafka_buf_destroy_final(rkbuf); } while (0);
@L1327 DS 0H
LA 15,264(0,5)
STG 15,200(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_899 ; rd_refcnt_sub0
@@gen_label1250 DS 0H
BALR 14,15
@@gen_label1251 DS 0H
LTR 15,15
BH @L1328
@L1330 DS 0H
STG 5,200(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_900 ; rd_kafka_buf_destroy_final
@@gen_label1253 DS 0H
BALR 14,15
@@gen_label1254 DS 0H
@L1328 DS 0H
* ***
* ***
* ***
* *** return RD_KAFKA_RESP_ERR__NO_OFFSET;
LGHI 15,-168 ; -168
B @ret_lab_2020
* *** }
@L1326 DS 0H
* ***
* *** rd_kafka_buf_ApiVersion_set(rkbuf, ApiVersion, 0);
STG 5,200(0,13)
LGHR 15,8
STG 15,208(0,13)
XC 216(8,13),216(13)
LA 1,200(0,13)
LG 15,@lit_2020_902 ; rd_kafka_buf_ApiVersion_set
@@gen_label1255 DS 0H
BALR 14,15
@@gen_label1256 DS 0H
* ***
* *** rkbuf->rkbuf_max_retries = 0x7fffffff;
IILF 15,X'7FFFFFFF' ; 2147483647
ST 15,320(0,5) ; offset of rkbuf_max_retries in rd_kafka_bu*
f_s
* ***
* *** rd_kafka_broker_buf_enq_replyq(rkb, rkbuf,
* *** replyq, resp_cb, reply_\
* opaque);
STG 2,200(0,13)
STG 5,208(0,13)
MVC 216(16,13),16(7)
LG 15,32(0,7) ; resp_cb
STG 15,232(0,13)
LG 15,40(0,7) ; reply_opaque
STG 15,240(0,13)
LA 1,200(0,13)
LG 15,@lit_2020_904 ; rd_kafka_broker_buf_enq_replyq
@@gen_label1257 DS 0H
BALR 14,15
@@gen_label1258 DS 0H
* ***
* *** return RD_KAFKA_RESP_ERR_NO_ERROR;
LGHI 15,0 ; 0
* *** }
@ret_lab_2020 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_send_TxnOffsetCommi
* tRequest"
* (FUNCTION #2020)
*
@AUTO#rd_kafka_txn_send_$Txn$Offset$Commit$Request DSECT
DS XL168
rd_kafka_txn_send_$Txn$Offset$Commit$Request#cnt#0 DS 1F ; cnt
ORG @AUTO#rd_kafka_txn_send_$Txn$Offset$Commit$Request+168
rd_kafka_txn_send_$Txn$Offset$Commit$Request#pid#0 DS 16XL1 ; pid
ORG @AUTO#rd_kafka_txn_send_$Txn$Offset$Commit$Request+184
rd_kafka_txn_send_$Txn$Offset$Commit$Request#$Api$Version#0 DS 2XL1 ; A*
piVersion
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_handle_AddOffsetsToTxn
@LNAME2022 DS 0H
DC X'00000023'
DC C'rd_kafka_txn_handle_AddOffsetsTo'
DC C'Txn'
DC X'00'
rd_kafka_txn_handle_$Add$Offsets$To$Txn DCCPRLG CINDEX=2022,BASER=12,FR*
AME=832,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2022
* ******* End of Prologue
* *
* *** const int log_decode_errors = 3;
LG 6,0(0,1) ; rk
LG 4,8(0,1) ; rkb
L 3,20(0,1) ; err
LG 2,24(0,1) ; rkbuf
LG 7,32(0,1) ; request
LHI 10,3 ; 3
* *** rd_kafka_op_t *rko = opaque;
LG 11,40(0,1) ; opaque
* *** int16_t ErrorCode;
* *** int actions = 0;
LHI 5,0 ; 0
* *** int remains_ms;
* ***
* *** if (err == RD_KAFKA_RESP_ERR__DESTROY) {
CHI 3,-197
BNE @L1331
* *** rd_kafka_op_destroy(rko);
STG 11,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_909 ; rd_kafka_op_destroy
@@gen_label1260 DS 0H
BALR 14,15
@@gen_label1261 DS 0H
* *** return;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @ret_lab_2022
DROP 12
USING @REGION_2022_1,12
DS 0D
@FRAMESIZE_2022 DC F'832'
@lit_2022_909 DC AD(rd_kafka_op_destroy)
@lit_region_diff_2022_1_2 DC A(@REGION_2022_2-@REGION_2022_1)
@lit_2022_910 DC AD(rd_kafka_q_ready)
@lit_2022_913 DC AD(rd_slice_read)
@lit_2022_914 DC AD(rd_slice_abs_offset)
@lit_2022_917 DC AD(rd_kafka_crash)
@lit_2022_916 DC AD(@DATA)
@lit_2022_915 DC AD(@strings@)
@lit_2022_919 DC AD(snprintf)
@lit_2022_921 DC AD(mtx_lock)
@lit_2022_923 DC AD(rd_strlcpy)
@lit_2022_925 DC AD(mtx_unlock)
@lit_2022_926 DC AD(rd_kafka_$Api$Key2str)
@lit_2022_927 DC AD(rd_slice_offset)
@lit_2022_932 DC AD(rd_kafka_log0)
@lit_2022_933 DC AD(rd_kafka_op_throttle_time)
@lit_2022_957 DC AD(__assert)
@lit_2022_958 DC AD(rd_timeout_remains)
@lit_2022_959 DC AD(rd_timeout_expired)
* *** }
@L1331 DS 0H
* ***
* *** if (!rd_kafka_q_ready(rko->rko_replyq.q))
LG 15,64(0,11)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_910 ; rd_kafka_q_ready
@@gen_label1262 DS 0H
BALR 14,15
@@gen_label1263 DS 0H
LTR 15,15
BNZ @L1332
* *** err = RD_KAFKA_RESP_ERR__OUTDATED;
LHI 3,-167 ; -167
@L1332 DS 0H
* ***
* *** if (err)
LTR 3,3
BZ @L1340
* *** goto done;
B @_done@2022@6
* ***
* *** do { int32_t _throttle_time_ms; do { int32_t _v; do { \
* size_t __len2 = (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->r\
* kbuf_reader, &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if\
* (((__len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(\
* rkbuf)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { i\
* f (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\
* \\src\\rdkafka_txnmgr.c",1808, __FUNCTION__, (((void *)0)), "assert:\
* " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__\
* tmpstr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmps\
* tr[0] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)-\
* >rkb_logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logna\
* me, sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_l\
* ock); rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rk\
* buf_rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "P\
* rotocol read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu"\
* " (%s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining byt\
* es (%s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf-\
* >rkbuf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&\
* rkbuf->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTI\
* ON__, 1808, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offs\
* et(&rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rk\
* buf_uflow_mitigation : "incorrect broker.version.fallback?", __tmpst\
* r); } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW\
* ; goto err_parse; } while (0); } } while (0); } while (0); *(&_throt\
* tle_time_ms) = (_v); } while (0); rd_kafka_op_throttle_time((rkbuf)-\
* >rkbuf_rkb, (rkbuf)->rkbuf_rkb->rkb_rk->rk_rep, _throttle_time_ms); \
* } while (0);
@L1340 DS 0H
LGHI 3,4 ; 4
LA 15,120(0,2)
STG 15,696(0,13)
LA 15,172(0,13)
STG 15,704(0,13)
STG 3,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_913 ; rd_slice_read
@@gen_label1266 DS 0H
BALR 14,15
@@gen_label1267 DS 0H
LTGR 15,15
BNZ @L1343
@L1344 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_914 ; rd_slice_abs_offset
@@gen_label1269 DS 0H
BALR 14,15
@@gen_label1270 DS 0H
SLGR 8,15
CLGR 3,8
BNH @L1347
@L1348 DS 0H
LTR 10,10
BNH @L1351
@L1352 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1355
LG 15,@lit_2022_915
LA 1,434(0,15)
STG 1,696(0,13)
MVGHI 704(13),1808
LG 1,@lit_2022_916
LA 1,746(0,1)
STG 1,712(0,13)
XC 720(8,13),720(13)
LA 15,1410(0,15)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_917 ; rd_kafka_crash
@@gen_label1274 DS 0H
BALR 14,15
@@gen_label1275 DS 0H
@L1355 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
MVGHI 704(13),256
LG 15,@lit_2022_915
LA 15,1436(0,15)
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_919 ; snprintf
@@gen_label1276 DS 0H
BALR 14,15
@@gen_label1277 DS 0H
LA 15,180(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1278 DS 0H
SRST 0,15
BC 1,@@gen_label1278
SLGR 0,1
CGHI 0,2
BNE @L1357
MVI 180(13),0
@L1356 DS 0H
@L1357 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_921 ; mtx_lock
@@gen_label1280 DS 0H
BALR 14,15
@@gen_label1281 DS 0H
LA 15,436(0,13)
STG 15,696(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2022_923 ; rd_strlcpy
@@gen_label1282 DS 0H
BALR 14,15
@@gen_label1283 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_925 ; mtx_unlock
@@gen_label1284 DS 0H
BALR 14,15
@@gen_label1285 DS 0H
LGH 15,184(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_926 ; rd_kafka_ApiKey2str
@@gen_label1286 DS 0H
BALR 14,15
@@gen_label1287 DS 0H
LGR 3,15
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_927 ; rd_slice_offset
@@gen_label1288 DS 0H
BALR 14,15
@@gen_label1289 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_914 ; rd_slice_abs_offset
@@gen_label1290 DS 0H
BALR 14,15
@@gen_label1291 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1360
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1361
@L1360 DS 0H
LG 15,@lit_2022_915
LA 15,1440(0,15)
@L1361 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,704(0,13)
LA 1,436(0,13)
STG 1,712(0,13)
LGFR 1,10
STG 1,720(0,13)
XC 728(8,13),728(13)
LG 1,@lit_2022_915
LA 10,1476(0,1)
STG 10,736(0,13)
LA 1,1488(0,1)
STG 1,744(0,13)
STG 3,752(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,760(0,13)
STG 8,768(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,776(0,13)
LG 1,@lit_2022_916
LA 1,746(0,1)
STG 1,784(0,13)
MVGHI 792(13),1808
LGHI 1,4 ; 4
STG 1,800(0,13)
STG 9,808(0,13)
STG 15,816(0,13)
LA 15,180(0,13)
STG 15,824(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_932 ; rd_kafka_log0
@@gen_label1293 DS 0H
BALR 14,15
@@gen_label1294 DS 0H
@L1351 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2022@7
@L1347 DS 0H
@L1343 DS 0H
L 15,172(0,13) ; _v
ST 15,168(0,13)
LG 15,256(0,2)
STG 15,696(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LG 15,0(0,15)
STG 15,704(0,13)
LGF 15,168(0,13) ; _throttle_time_ms
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_933 ; rd_kafka_op_throttle_time
@@gen_label1295 DS 0H
BALR 14,15
@@gen_label1296 DS 0H
* *** do { int16_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",1809, _\
* _FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while \
* (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": ");\
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname\
* [256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_\
* logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unloc\
* k(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkb\
* uf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_\
* decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " \
* "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" \
* " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(\
* rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_sli\
* ce_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rk\
* buf->rkbuf_reader)->start), __FUNCTION__, 1809, __len0, ((&rkbuf->rk\
* buf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf\
* ->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrec\
* t broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbu\
* f_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); }\
* } while (0); } while (0); *(&ErrorCode) = (int16_t)(_v); } while (0\
* );
@L1362 DS 0H
@L1365 DS 0H
LGHI 3,2 ; 2
LA 15,120(0,2)
STG 15,696(0,13)
LA 15,176(0,13)
STG 15,704(0,13)
STG 3,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_913 ; rd_slice_read
@@gen_label1297 DS 0H
BALR 14,15
@@gen_label1298 DS 0H
LTGR 15,15
BNZ @L1368
@L1369 DS 0H
LG 8,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_914 ; rd_slice_abs_offset
@@gen_label1300 DS 0H
BALR 14,15
@@gen_label1301 DS 0H
SLGR 8,15
CLGR 3,8
BNH @L1372
@L1373 DS 0H
LTR 10,10
BNH @L1376
@L1377 DS 0H
LTG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1380
LG 15,@lit_2022_915
LA 1,434(0,15)
STG 1,696(0,13)
MVGHI 704(13),1809
LG 1,@lit_2022_916
LA 1,746(0,1)
STG 1,712(0,13)
XC 720(8,13),720(13)
LA 15,1410(0,15)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_917 ; rd_kafka_crash
@@gen_label1305 DS 0H
BALR 14,15
@@gen_label1306 DS 0H
@L1380 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
MVGHI 704(13),256
LG 15,@lit_2022_915
LA 15,1436(0,15)
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_919 ; snprintf
@@gen_label1307 DS 0H
BALR 14,15
@@gen_label1308 DS 0H
LA 15,180(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1309 DS 0H
SRST 0,15
BC 1,@@gen_label1309
SLGR 0,1
CGHI 0,2
BNE @L1382
MVI 180(13),0
@L1381 DS 0H
@L1382 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_921 ; mtx_lock
@@gen_label1311 DS 0H
BALR 14,15
@@gen_label1312 DS 0H
LA 15,436(0,13)
STG 15,696(0,13)
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2022_923 ; rd_strlcpy
@@gen_label1313 DS 0H
BALR 14,15
@@gen_label1314 DS 0H
LG 15,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_925 ; mtx_unlock
@@gen_label1315 DS 0H
BALR 14,15
@@gen_label1316 DS 0H
LGH 15,184(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_926 ; rd_kafka_ApiKey2str
@@gen_label1317 DS 0H
BALR 14,15
@@gen_label1318 DS 0H
LGR 3,15
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_927 ; rd_slice_offset
@@gen_label1319 DS 0H
BALR 14,15
@@gen_label1320 DS 0H
LGR 8,15
LG 9,152(0,2) ; offset of end in rd_slice_s
LA 15,120(0,2)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_914 ; rd_slice_abs_offset
@@gen_label1321 DS 0H
BALR 14,15
@@gen_label1322 DS 0H
SLGR 9,15
LTG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1385
LG 15,488(0,2) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1386
@L1385 DS 0H
LG 15,@lit_2022_915
LA 15,1440(0,15)
@L1386 DS 0H
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,256(0,2) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,704(0,13)
LA 1,436(0,13)
STG 1,712(0,13)
LGFR 1,10
STG 1,720(0,13)
XC 728(8,13),728(13)
LG 1,@lit_2022_915
LA 10,1476(0,1)
STG 10,736(0,13)
LA 1,1488(0,1)
STG 1,744(0,13)
STG 3,752(0,13)
LH 1,186(0,2)
LGFR 1,1
STG 1,760(0,13)
STG 8,768(0,13)
LG 1,152(0,2) ; offset of end in rd_slice_s
SLG 1,144(0,2)
STG 1,776(0,13)
LG 1,@lit_2022_916
LA 1,746(0,1)
STG 1,784(0,13)
MVGHI 792(13),1809
LGHI 1,2 ; 2
STG 1,800(0,13)
STG 9,808(0,13)
STG 15,816(0,13)
LA 15,180(0,13)
STG 15,824(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_932 ; rd_kafka_log0
@@gen_label1324 DS 0H
BALR 14,15
@@gen_label1325 DS 0H
@L1376 DS 0H
MVHI 392(2),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2022@7
@L1372 DS 0H
@L1368 DS 0H
MVC 178(2,13),176(13)
* ***
* *** err = ErrorCode;
LH 3,178(0,13) ; ErrorCode
* *** goto done;
B @_done@2022@6
* ***
* *** err_parse:
* *** err = rkbuf->rkbuf_err;
@_err_parse@2022@7 DS 0H
L 3,392(0,2) ; offset of rkbuf_err in rd_kafka_buf_s
* ***
* *** done:
* *** if (err) {
@_done@2022@6 DS 0H
LTR 3,3
BZ @L1387
* *** ((rk->rk_eos.txn_req_cnt > 0) ? (void)0 : __as\
* sert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c", 18\
* 19, "rk->rk_eos.txn_req_cnt > 0"));
CHSI 3600(6),0
BH @L1389
@L1388 DS 0H
LG 15,@lit_2022_916
LA 15,746(0,15)
STG 15,696(0,13)
LG 15,@lit_2022_915
LA 1,434(0,15)
STG 1,704(0,13)
MVGHI 712(13),1819
LA 15,1810(0,15)
STG 15,720(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_957 ; __assert
@@gen_label1328 DS 0H
BALR 14,15
@@gen_label1329 DS 0H
@L1389 DS 0H
* *** rk->rk_eos.txn_req_cnt--;
L 15,3600(0,6)
AHI 15,-1
ST 15,3600(0,6)
* *** }
@L1387 DS 0H
* ***
* *** remains_ms = rd_timeout_remains(rko->rko_u.txn.abs_tim\
* eout);
LG 15,136(0,11)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_958 ; rd_timeout_remains
@@gen_label1330 DS 0H
BALR 14,15
@@gen_label1331 DS 0H
LR 2,15
* ***
* *** if (rd_timeout_expired(remains_ms) && !err)
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_959 ; rd_timeout_expired
@@gen_label1332 DS 0H
BALR 14,15
@@gen_label1333 DS 0H
LTR 15,15
BZ @L1391
LTR 3,3
BNZ @L1391
* *** err = RD_KAFKA_RESP_ERR__TIMED_OUT;
LHI 3,-185 ; -185
@L1390 DS 0H
* ***
* *** switch (err)
B @L1391
* *** {
* *** case RD_KAFKA_RESP_ERR_NO_ERROR:
* *** break;
* ***
* *** case RD_KAFKA_RESP_ERR__DESTROY:
* ***
* *** case RD_KAFKA_RESP_ERR__OUTDATED:
@L1395 DS 0H
* ***
* ***
* *** actions = 0x20;
LHI 5,32 ; 32
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* ***
* *** case RD_KAFKA_RESP_ERR__TRANSPORT:
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT:
@L1397 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** rk->rk_eos.txn_req_cnt++;
L 15,3600(0,6)
AHI 15,1
ST 15,3600(0,6)
* ***
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT_QUEUE:
@L1398 DS 0H
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_NOT_AVAILABLE:
@L1399 DS 0H
* *** case RD_KAFKA_RESP_ERR_NOT_COORDINATOR:
@L1400 DS 0H
* *** case RD_KAFKA_RESP_ERR_REQUEST_TIMED_OUT:
@L1401 DS 0H
* *** actions |= 0x8|
* *** 0x4;
OILL 5,12
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_TRANSACTIONAL_ID_AUTHORIZATION_\
* FAILED:
* *** case RD_KAFKA_RESP_ERR_CLUSTER_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_EPOCH:
* *** case RD_KAFKA_RESP_ERR_INVALID_TXN_STATE:
* *** case RD_KAFKA_RESP_ERR_UNSUPPORTED_FOR_MESSAGE_FORMAT:
@L1406 DS 0H
* *** actions |= 0x200;
OILL 5,512
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_GROUP_AUTHORIZATION_FAILED:
@L1408 DS 0H
* *** actions |= 0x1;
OILL 5,1
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* ***
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART:
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_LOAD_IN_PROGRESS:
* *** case RD_KAFKA_RESP_ERR_CONCURRENT_TRANSACTIONS:
@L1411 DS 0H
* *** actions |= 0x8;
OILL 5,8
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* ***
* *** default:
* ***
* *** actions |= 0x1;
@L1412 DS 0H
OILL 5,1
* *** break;
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @L1392
DROP 12
USING @REGION_2022_1,12
* *** }
@L1391 DS 0H
CHI 3,-185
BNL @@gen_label1336
CHI 3,-197
BL @L1412
CHI 3,-197
BE @L1395
CHI 3,-195
BE @L1397
B @L1412
@@gen_label1336 DS 0H
CHI 3,-167
BNL @@gen_label1337
CHI 3,-185
BE @L1397
B @L1412
@@gen_label1337 DS 0H
LTR 3,3
BL *+14 Around region break
ALGF 12,@lit_region_diff_2022_1_2
DROP 12
USING @REGION_2022_2,12
B @@gen_label1338
DROP 12
USING @REGION_2022_1,12
CHI 3,-167
BE @L1395
CHI 3,-166
BE @L1401
ALGF 12,@lit_region_diff_2022_1_2
@REGION_2022_2 DS 0H
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
DS 0D
@lit_region_diff_2022_2_1 DC A(@REGION_2022_2-@REGION_2022_1)
@lit_2022_962 DC FD'1' 0x0000000000000001
@lit_2022_963 DC FD'128' 0x0000000000000080
@lit_2022_964 DC FD'768' 0x0000000000000300
@lit_2022_965 DC FD'3' 0x0000000000000003
@lit_2022_966 DC FD'4' 0x0000000000000004
@lit_2022_968 DC FD'16' 0x0000000000000010
@lit_2022_969 DC FD'64' 0x0000000000000040
@lit_2022_970 DC AD(rd_kafka_txn_normalize_err)
@lit_2022_971 DC AD(rd_kafka_broker_name)
@lit_2022_972 DC AD(@strings@)
@lit_2022_973 DC AD(rd_kafka_err2name)
@lit_2022_976 DC AD(rd_kafka_log0)
@lit_2022_977 DC AD(rd_kafka_err2str)
@lit_2022_979 DC AD(rd_kafka_txn_set_fatal_error)
@lit_2022_981 DC AD(mtx_lock)
@lit_2022_983 DC AD(rd_strlcpy)
@lit_2022_985 DC AD(mtx_unlock)
@lit_2022_990 DC F'1000' 0x000003e8
@lit_2022_992 DC AD(rd_timeout_expired)
@lit_2022_993 DC AD(rd_kafka_buf_retry)
@lit_2022_1009 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2022_1010 DC AD(rd_timeout_remains_limit0)
@lit_2022_1012 DC AD(rd_kafka_replyq_make)
@lit_2022_1011 DC AD(@DATA)
@lit_2022_1015 DC AD(rd_kafka_coord_req)
@lit_2022_1014 DC AD(rd_kafka_txn_handle_$Txn$Offset$Commit)
@lit_2022_1013 DC AD(rd_kafka_txn_send_$Txn$Offset$Commit$Request)
@lit_2022_1016 DC AD(rd_kafka_q_keep)
@lit_2022_1021 DC AD(rd_kafka_txn_curr_api_reply)
@lit_2022_1022 DC AD(rd_kafka_op_destroy)
@@gen_label1338 DS 0H
CHI 3,29
BNL @@gen_label1339
CHI 3,7
BNL @@gen_label1340
LTR 3,3
BE @L1392
CHI 3,3
BNE *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1411
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
@@gen_label1340 DS 0H
LR 15,3
AHI 15,-7
CLFI 15,X'00000009'
BNH *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2022_962
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1401
DROP 12
USING @REGION_2022_2,12
LGR 15,1
NG 15,@lit_2022_963
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1411
DROP 12
USING @REGION_2022_2,12
NG 1,@lit_2022_964
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1401
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
@@gen_label1339 DS 0H
CHI 3,43
BNL @@gen_label1341
LR 15,3
AHI 15,-29
CLFI 15,X'00000002'
BNH *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2022_965
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1408
DROP 12
USING @REGION_2022_2,12
NG 1,@lit_2022_966
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1406
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
@@gen_label1341 DS 0H
CHI 3,47
BNL @@gen_label1342
CHI 3,43
BNE *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1406
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
@@gen_label1342 DS 0H
LR 15,3
AHI 15,-47
CLFI 15,X'00000006'
BNH *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2022_965
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1406
DROP 12
USING @REGION_2022_2,12
LGR 15,1
NG 15,@lit_2022_968
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1411
DROP 12
USING @REGION_2022_2,12
NG 1,@lit_2022_969
BZ *+14 Around region break
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1406
DROP 12
USING @REGION_2022_2,12
SLGF 12,@lit_region_diff_2022_2_1
DROP 12
USING @REGION_2022_1,12
B @L1412
DROP 12
USING @REGION_2022_2,12
@L1392 DS 0H
* ***
* *** err = rd_kafka_txn_normalize_err(err);
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_970 ; rd_kafka_txn_normalize_err
@@gen_label1343 DS 0H
BALR 14,15
@@gen_label1344 DS 0H
LR 3,15 ; err
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ADDOFFSETS","AddOffse\
* tsToTxn response from %s: %s (actions 0x%x)", rkb ? rd_kafka_broker_\
* name(rkb) : "(none)", rd_kafka_err2name(err), actions); } while (0);
@L1413 DS 0H
TM 802(6),128
BZ @L1416
LTGR 15,4
BZ @L1417
STG 4,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_971 ; rd_kafka_broker_name
@@gen_label1347 DS 0H
BALR 14,15
@@gen_label1348 DS 0H
LGR 8,15
B @L1418
@L1417 DS 0H
LG 15,@lit_2022_972
LA 8,2702(0,15)
@L1418 DS 0H
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_973 ; rd_kafka_err2name
@@gen_label1349 DS 0H
BALR 14,15
@@gen_label1350 DS 0H
LA 1,528(0,6)
STG 1,696(0,13)
STG 6,704(0,13)
XC 712(8,13),712(13)
MVGHI 720(13),7
LLILF 1,X'00008000' ; 32768
STG 1,728(0,13)
LG 1,@lit_2022_972
LA 9,2782(0,1)
STG 9,736(0,13)
LA 1,2794(0,1)
STG 1,744(0,13)
STG 8,752(0,13)
STG 15,760(0,13)
LGFR 15,5
STG 15,768(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_976 ; rd_kafka_log0
@@gen_label1351 DS 0H
BALR 14,15
@@gen_label1352 DS 0H
@L1416 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** if (err && !actions)
LTR 3,3
BZ @L1419
LTR 5,5
BNZ @L1419
* *** actions |= 0x1;
OILL 5,1
@L1419 DS 0H
* ***
* *** if (actions & 0x200) {
LR 15,5
NILF 15,X'00000200'
LTR 15,15
BZ @L1420
* *** rd_kafka_txn_set_fatal_error(rk, RD_DO_LOCK, e\
* rr,
* *** "Failed to add of\
* fsets to "
* *** rd_kafka_err2str(\
* err));
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_977 ; rd_kafka_err2str
@@gen_label1356 DS 0H
BALR 14,15
@@gen_label1357 DS 0H
STG 6,696(0,13)
MVGHI 704(13),1
LGFR 1,3
STG 1,712(0,13)
* *** "transaction: %s"\
* ,
LG 1,@lit_2022_972
LA 1,2846(0,1)
STG 1,720(0,13)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_979 ; rd_kafka_txn_set_fatal_error
@@gen_label1358 DS 0H
BALR 14,15
@@gen_label1359 DS 0H
* ***
* *** } else if (actions & 0x8) {
B @L1421
@L1420 DS 0H
TML 5,8
BZ @L1421
* *** do { if ((((rkb)->rkb_rk->rk_conf.debug & (0x8\
* 000)))) { do { char _logname[256]; mtx_lock(&(rkb)->rkb_logname_lock\
* ); rd_strlcpy(_logname, rkb->rkb_logname, sizeof(_logname)); mtx_unl\
* ock(&(rkb)->rkb_logname_lock); rd_kafka_log0(&(rkb)->rkb_rk->rk_conf\
* , (rkb)->rkb_rk, _logname, 7, (0x8000), "ADDOFFSETS", "Failed to add\
* offsets to transaction on broker %s: " "%s (after %dms): error is r\
* etriable", rd_kafka_broker_name(rkb), rd_kafka_err2str(err), (int)(r\
* equest->rkbuf_ts_sent/1000)); } while (0); } } while (0);
@L1423 DS 0H
LG 15,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L1426
@L1427 DS 0H
LGHI 8,5688 ; 5688
LA 15,0(8,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_981 ; mtx_lock
@@gen_label1362 DS 0H
BALR 14,15
@@gen_label1363 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2022_983 ; rd_strlcpy
@@gen_label1364 DS 0H
BALR 14,15
@@gen_label1365 DS 0H
LA 15,0(8,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_985 ; mtx_unlock
@@gen_label1366 DS 0H
BALR 14,15
@@gen_label1367 DS 0H
STG 4,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_971 ; rd_kafka_broker_name
@@gen_label1368 DS 0H
BALR 14,15
@@gen_label1369 DS 0H
LGR 8,15
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_977 ; rd_kafka_err2str
@@gen_label1370 DS 0H
BALR 14,15
@@gen_label1371 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,4048(0,4)
STG 1,704(0,13)
LA 1,180(0,13)
STG 1,712(0,13)
MVGHI 720(13),7
LLILF 1,X'00008000' ; 32768
STG 1,728(0,13)
LG 1,@lit_2022_972
LA 9,2782(0,1)
STG 9,736(0,13)
LA 1,2888(0,1)
STG 1,744(0,13)
STG 8,752(0,13)
STG 15,760(0,13)
LG 9,344(0,7) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 8,@lit_2022_990
LGFR 15,9
STG 15,768(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_976 ; rd_kafka_log0
@@gen_label1372 DS 0H
BALR 14,15
@@gen_label1373 DS 0H
@L1426 DS 0H
* ***
* *** # 1908 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** if (!rd_timeout_expired(remains_ms) &&
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_992 ; rd_timeout_expired
@@gen_label1374 DS 0H
BALR 14,15
@@gen_label1375 DS 0H
LTR 15,15
BNZ @L1421
* *** rd_kafka_buf_retry(rk->rk_eos.txn_coord, r\
* equest)) {
LG 15,3400(0,6)
STG 15,696(0,13)
STG 7,704(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_993 ; rd_kafka_buf_retry
@@gen_label1377 DS 0H
BALR 14,15
@@gen_label1378 DS 0H
LTR 15,15
BZ @L1421
* *** rk->rk_eos.txn_req_cnt++;
L 15,3600(0,6)
AHI 15,1
ST 15,3600(0,6)
* *** return;
B @ret_lab_2022
* *** }
* ***
* ***
* *** }
* ***
* *** if (err)
@L1421 DS 0H
LTR 3,3
BZ @L1431
* *** do { char _logname[256]; mtx_lock(&(rkb)->rkb_\
* logname_lock); rd_strlcpy(_logname, rkb->rkb_logname, sizeof(_lognam\
* e)); mtx_unlock(&(rkb)->rkb_logname_lock); rd_kafka_log0(&(rkb)->rkb\
* _rk->rk_conf, (rkb)->rkb_rk, _logname, 3, 0x0, "ADDOFFSETS", "Failed\
* to add offsets to transaction on broker %s: " "%s", rkb ? rd_kafka_\
* broker_name(rkb) : "(none)", rd_kafka_err2str(err)); } while (0);
@L1432 DS 0H
LGHI 8,5688 ; 5688
LA 15,0(8,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_981 ; mtx_lock
@@gen_label1381 DS 0H
BALR 14,15
@@gen_label1382 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,4)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2022_983 ; rd_strlcpy
@@gen_label1383 DS 0H
BALR 14,15
@@gen_label1384 DS 0H
LA 15,0(8,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_985 ; mtx_unlock
@@gen_label1385 DS 0H
BALR 14,15
@@gen_label1386 DS 0H
LTGR 15,4
BZ @L1435
STG 4,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_971 ; rd_kafka_broker_name
@@gen_label1388 DS 0H
BALR 14,15
@@gen_label1389 DS 0H
LGR 8,15
B @L1436
@L1435 DS 0H
LG 15,@lit_2022_972
LA 8,2702(0,15)
@L1436 DS 0H
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_977 ; rd_kafka_err2str
@@gen_label1390 DS 0H
BALR 14,15
@@gen_label1391 DS 0H
LG 1,4048(0,4) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,4048(0,4)
STG 1,704(0,13)
LA 1,180(0,13)
STG 1,712(0,13)
MVGHI 720(13),3
XC 728(8,13),728(13)
LG 1,@lit_2022_972
LA 9,2782(0,1)
STG 9,736(0,13)
LA 1,2976(0,1)
STG 1,744(0,13)
STG 8,752(0,13)
STG 15,760(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_976 ; rd_kafka_log0
@@gen_label1392 DS 0H
BALR 14,15
@@gen_label1393 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** if (actions & 0x1)
@L1431 DS 0H
TML 5,1
BZ @L1437
* *** rd_kafka_txn_set_abortable_error0(rk,err,0,"Fa\
* iled to add offsets to " "transaction on broker %s: " "%s (after %dm\
* s)", rd_kafka_broker_name(rkb), rd_kafka_err2str(err), (int)(request\
* ->rkbuf_ts_sent/1000));
STG 4,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_971 ; rd_kafka_broker_name
@@gen_label1395 DS 0H
BALR 14,15
@@gen_label1396 DS 0H
LGR 8,15
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_977 ; rd_kafka_err2str
@@gen_label1397 DS 0H
BALR 14,15
@@gen_label1398 DS 0H
STG 6,696(0,13)
LGFR 1,3
STG 1,704(0,13)
XC 712(8,13),712(13)
LG 1,@lit_2022_972
LA 1,3030(0,1)
STG 1,720(0,13)
STG 8,728(0,13)
STG 15,736(0,13)
LG 9,344(0,7) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 8,@lit_2022_990
LGFR 15,9
STG 15,744(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1009 ; rd_kafka_txn_set_abortable_error0
@@gen_label1399 DS 0H
BALR 14,15
@@gen_label1400 DS 0H
@L1437 DS 0H
* ***
* *** # 1934 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** if (!err) {
LTR 3,3
BNZ @L1438
* ***
* ***
* ***
* *** rd_kafka_coord_req(rk,
* *** RD_KAFKA_COORD_GROUP,
* *** rko->rko_u.txn.cgmetadata->\
* group_id,
* *** rd_kafka_txn_send_TxnOffset\
* CommitRequest,
* *** rko,
* *** rd_timeout_remains_limit0(
* *** rd_kafka_replyq_make(rk->rk\
* _ops,0,__FUNCTION__),
* *** rd_kafka_txn_handle_TxnOffs\
* etCommit,
* *** rko);
* *** remains_ms,
* *** rk->rk_conf.socket_\
* timeout_ms),
LGFR 15,2
STG 15,696(0,13)
LGF 15,812(0,6)
STG 15,704(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1010 ; rd_timeout_remains_limit0
@@gen_label1402 DS 0H
BALR 14,15
@@gen_label1403 DS 0H
LR 2,15
LA 15,184(0,13)
STG 15,696(0,13)
LG 15,8(0,6)
STG 15,704(0,13)
XC 712(8,13),712(13)
LG 15,@lit_2022_1011
LA 15,746(0,15)
STG 15,720(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1012 ; rd_kafka_replyq_make
@@gen_label1404 DS 0H
BALR 14,15
@@gen_label1405 DS 0H
STG 6,696(0,13)
XC 704(8,13),704(13)
LG 15,112(0,11) ; offset of rko_u in rd_kafka_op_s
LG 15,0(0,15)
STG 15,712(0,13)
LG 15,@lit_2022_1013 ; rd_kafka_txn_send_TxnOffsetCommitReq*
uest
STG 15,720(0,13)
STG 11,728(0,13)
LGFR 15,2
STG 15,736(0,13)
MVC 744(16,13),184(13)
LG 15,@lit_2022_1014 ; rd_kafka_txn_handle_TxnOffsetCommit
STG 15,760(0,13)
STG 11,768(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1015 ; rd_kafka_coord_req
@@gen_label1406 DS 0H
BALR 14,15
@@gen_label1407 DS 0H
* ***
* *** } else {
B @L1439
@L1438 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply(
* *** rd_kafka_q_keep(rko->rko_replyq.q), ac\
* tions, err,
* *** "Failed to add offsets to transaction \
* on broker %s: "
* *** rd_kafka_broker_name(rkb),
* *** rd_kafka_err2str(err),
* *** (int)(request->rkbuf_ts_sent/1000));
LG 15,64(0,11)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1016 ; rd_kafka_q_keep
@@gen_label1408 DS 0H
BALR 14,15
@@gen_label1409 DS 0H
LGR 2,15
STG 4,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_971 ; rd_kafka_broker_name
@@gen_label1410 DS 0H
BALR 14,15
@@gen_label1411 DS 0H
LGR 4,15
LGFR 15,3
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_977 ; rd_kafka_err2str
@@gen_label1412 DS 0H
BALR 14,15
@@gen_label1413 DS 0H
STG 2,696(0,13)
LGFR 1,5
STG 1,704(0,13)
LGFR 1,3
STG 1,712(0,13)
* *** "%s (after %dms)",
LG 1,@lit_2022_972
LA 1,3030(0,1)
STG 1,720(0,13)
STG 4,728(0,13)
STG 15,736(0,13)
LG 3,344(0,7) ; offset of rkbuf_ts_sent in rd_kafka_buf_s
DSGF 2,@lit_2022_990
LGFR 15,3
STG 15,744(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1021 ; rd_kafka_txn_curr_api_reply
@@gen_label1414 DS 0H
BALR 14,15
@@gen_label1415 DS 0H
* ***
* *** rd_kafka_op_destroy(rko);
STG 11,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2022_1022 ; rd_kafka_op_destroy
@@gen_label1416 DS 0H
BALR 14,15
@@gen_label1417 DS 0H
* *** }
@L1439 DS 0H
* *** }
@ret_lab_2022 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_handle_AddOffsetsTo
* Txn"
* (FUNCTION #2022)
*
@AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn DSECT
DS XL168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__len0#13 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__len2#12 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__len0#5 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__len2#4 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_throttle_time_ms#2 DS 1F ; _th*
rottle_time_ms
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#remains_ms#0 DS 1F ; remains_ms
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#actions#0 DS 1F ; actions
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+168
rd_kafka_txn_handle_$Add$Offsets$To$Txn#log_decode_errors#0 DS 1F ; log*
_decode_errors
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+172
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_v#3 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+176
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_v#11 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+178
rd_kafka_txn_handle_$Add$Offsets$To$Txn#$Error$Code#0 DS 2XL1 ; ErrorCo*
de
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+180
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_logname#28 DS 256XL1 ; _lognam*
e
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+180
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_logname#26 DS 256XL1 ; _lognam*
e
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+180
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__tmpstr#17 DS 256XL1 ; __tmpst*
r
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+180
rd_kafka_txn_handle_$Add$Offsets$To$Txn#__tmpstr#9 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+436
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_logname#18 DS 256XL1 ; _lognam*
e
ORG @AUTO#rd_kafka_txn_handle_$Add$Offsets$To$Txn+436
rd_kafka_txn_handle_$Add$Offsets$To$Txn#_logname#10 DS 256XL1 ; _lognam*
e
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_send_offsets_to_transaction
@LNAME2023 DS 0H
DC X'0000002B'
DC C'rd_kafka_txn_op_send_offsets_to_'
DC C'transaction'
DC X'00'
rd_kafka_txn_op_send_offsets_to_transaction DCCPRLG CINDEX=2023,BASER=1*
2,FRAME=808,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2023
* ******* End of Prologue
* *
* *** rd_kafka_resp_err_t err = RD_KAFKA_RESP_ERR_NO_ERROR;
LG 3,0(0,1) ; rk
LG 4,16(0,1) ; rko
* *** char errstr[512];
* *** rd_kafka_error_t *error;
* *** rd_kafka_pid_t pid;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
CHSI 32(4),-197
BNE @L1440
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2023
DS 0D
@FRAMESIZE_2023 DC F'808'
@lit_2023_1054 DC AD(rwlock_wrlock)
@lit_2023_1055 DC AD(rd_kafka_txn_require_states0)
@lit_2023_1056 DC AD(rwlock_wrunlock)
@lit_2023_1058 DC AD(rd_kafka_idemp_get_pid0)
@lit_2023_1059 DC AD(rd_kafka_idemp_state2str)
@lit_2023_1061 DC AD(rd_kafka_error_new_retriable)
@lit_2023_1060 DC AD(@strings@)
@lit_2023_1063 DC AD(rd_kafka_replyq_make)
@lit_2023_1062 DC AD(@DATA)
@lit_2023_1065 DC AD(rd_kafka_$Add$Offsets$To$Txn$Request)
@lit_2023_1064 DC AD(rd_kafka_txn_handle_$Add$Offsets$To$Txn)
@lit_2023_1069 DC AD(rd_kafka_q_keep)
@lit_2023_1070 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1440 DS 0H
* ***
* *** *errstr = '\0';
MVI 192(13),0
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,720(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1054 ; rwlock_wrlock
@@gen_label1419 DS 0H
BALR 14,15
@@gen_label1420 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_IN_TRANSACTION, -1 }))) {
MVHI 168(13),4
MVHI 172(13),-1
STG 3,720(0,13)
LA 15,168(0,13)
STG 15,728(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1055 ; rd_kafka_txn_require_states0
@@gen_label1421 DS 0H
BALR 14,15
@@gen_label1422 DS 0H
LTGR 2,15 ; error
BZ @L1441
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,720(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1056 ; rwlock_wrunlock
@@gen_label1424 DS 0H
BALR 14,15
@@gen_label1425 DS 0H
* *** goto err;
B @_err@2023@8
* *** }
@L1441 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,720(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1056 ; rwlock_wrunlock
@@gen_label1426 DS 0H
BALR 14,15
@@gen_label1427 DS 0H
* ***
* *** pid = rd_kafka_idemp_get_pid0(rk, 0);
LA 15,704(0,13)
STG 15,720(0,13)
STG 3,728(0,13)
XC 736(8,13),736(13)
LA 1,720(0,13)
LG 15,@lit_2023_1058 ; rd_kafka_idemp_get_pid0
@@gen_label1428 DS 0H
BALR 14,15
@@gen_label1429 DS 0H
MVC 176(16,13),704(13)
* *** if (!((pid).id != -1)) {
CGHSI 176(13),-1
BNE @L1442
* *** do {} while (0);
@L1443 DS 0H
* *** error = rd_kafka_error_new_retriable(
* *** RD_KAFKA_RESP_ERR__STATE,
* *** "No PID available (idempotence state %\
* s)",
* *** rd_kafka_idemp_state2str(rk->rk_eos.id\
* emp_state));
LGF 15,3184(0,3)
STG 15,720(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1059 ; rd_kafka_idemp_state2str
@@gen_label1431 DS 0H
BALR 14,15
@@gen_label1432 DS 0H
MVGHI 720(13),-172
LG 1,@lit_2023_1060
LA 1,3098(0,1)
STG 1,728(0,13)
STG 15,736(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1061 ; rd_kafka_error_new_retriable
@@gen_label1433 DS 0H
BALR 14,15
@@gen_label1434 DS 0H
LGR 2,15 ; error
* *** goto err;
B @_err@2023@8
* *** }
@L1442 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** err = rd_kafka_AddOffsetsToTxnRequest(
* *** rk->rk_eos.txn_coord,
* *** rk->rk_conf.eos.transactional_id,
* *** pid,
* *** rko->rko_u.txn.cgmetadata->group_id,
* *** errstr, sizeof(errstr),
* *** rd_kafka_replyq_make(rk->rk_ops,0,__FUNCTION__\
* ),
* *** rd_kafka_txn_handle_AddOffsetsToTxn,
* *** rko);
LA 15,704(0,13)
STG 15,720(0,13)
LG 15,8(0,3)
STG 15,728(0,13)
XC 736(8,13),736(13)
LG 15,@lit_2023_1062
LA 15,782(0,15)
STG 15,744(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1063 ; rd_kafka_replyq_make
@@gen_label1435 DS 0H
BALR 14,15
@@gen_label1436 DS 0H
LG 15,3400(0,3)
STG 15,720(0,13)
LG 15,2024(0,3)
STG 15,728(0,13)
MVC 736(16,13),176(13)
LG 15,112(0,4) ; offset of rko_u in rd_kafka_op_s
LG 15,0(0,15)
STG 15,752(0,13)
LA 15,192(0,13)
STG 15,760(0,13)
MVGHI 768(13),512
MVC 776(16,13),704(13)
LG 15,@lit_2023_1064 ; rd_kafka_txn_handle_AddOffsetsToTxn
STG 15,792(0,13)
STG 4,800(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1065 ; rd_kafka_AddOffsetsToTxnRequest
@@gen_label1437 DS 0H
BALR 14,15
@@gen_label1438 DS 0H
* ***
* *** if (err) {
LTR 15,15
BZ @L1446
* *** error = rd_kafka_error_new_retriable(err, "%s"\
* , errstr);
LGFR 15,15
STG 15,720(0,13)
LG 15,@lit_2023_1060
LA 15,290(0,15)
STG 15,728(0,13)
LA 15,192(0,13)
STG 15,736(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1061 ; rd_kafka_error_new_retriable
@@gen_label1440 DS 0H
BALR 14,15
@@gen_label1441 DS 0H
LGR 2,15 ; error
* *** goto err;
B @_err@2023@8
* *** }
@L1446 DS 0H
* ***
* *** rk->rk_eos.txn_req_cnt++;
L 15,3600(0,3)
AHI 15,1
ST 15,3600(0,3)
* ***
* *** return RD_KAFKA_OP_RES_KEEP;
LGHI 15,2 ; 2
B @ret_lab_2023
* ***
* *** err:
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
@_err@2023@8 DS 0H
* *** error);
LG 15,64(0,4)
STG 15,720(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1069 ; rd_kafka_q_keep
@@gen_label1442 DS 0H
BALR 14,15
@@gen_label1443 DS 0H
STG 15,720(0,13)
STG 2,728(0,13)
LA 1,720(0,13)
LG 15,@lit_2023_1070 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1444 DS 0H
BALR 14,15
@@gen_label1445 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2023 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_send_offsets_to_
* transaction"
* (FUNCTION #2023)
*
@AUTO#rd_kafka_txn_op_send_offsets_to_transaction DSECT
DS XL168
rd_kafka_txn_op_send_offsets_to_transaction#__cl4#0 DS 8XL1 ; __cl4
ORG @AUTO#rd_kafka_txn_op_send_offsets_to_transaction+168
rd_kafka_txn_op_send_offsets_to_transaction#err#0 DS 1F ; err
ORG @AUTO#rd_kafka_txn_op_send_offsets_to_transaction+176
rd_kafka_txn_op_send_offsets_to_transaction#pid#0 DS 16XL1 ; pid
ORG @AUTO#rd_kafka_txn_op_send_offsets_to_transaction+192
rd_kafka_txn_op_send_offsets_to_transaction#errstr#0 DS 512XL1 ; errstr
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_send_offsets_to_transaction
rd_kafka_send_offsets_to_transaction ALIAS X'99846D92818692816DA2859584*
6D968686A285A3A26DA3966DA3998195A28183A3899695'
@LNAME1082 DS 0H
DC X'00000024'
DC C'rd_kafka_send_offsets_to_transac'
DC C'tion'
DC X'00'
rd_kafka_send_offsets_to_transaction DCCPRLG CINDEX=1082,BASER=12,FRAME*
=216,ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1082
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 3,0(0,4) ; rk
L 2,28(0,4) ; timeout_ms
* *** rd_kafka_error_t *error;
* *** rd_kafka_op_t *rko;
* *** rd_kafka_topic_partition_list_t *valid_offsets;
* ***
* *** if ((error = rd_kafka_ensure_transactional(rk)))
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1073 ; rd_kafka_ensure_transactional
@@gen_label1446 DS 0H
BALR 14,15
@@gen_label1447 DS 0H
LTGR 1,15
BZ @L1447
* *** return error;
B @ret_lab_1082
DS 0D
@FRAMESIZE_1082 DC F'216'
@lit_1082_1073 DC AD(rd_kafka_ensure_transactional)
@lit_1082_1075 DC AD(rd_kafka_error_new)
@lit_1082_1074 DC AD(@strings@)
@lit_1082_1077 DC AD(rd_kafka_topic_partition_list_match)
@lit_1082_1076 DC AD(rd_kafka_topic_partition_match_valid_offset)
@lit_1082_1078 DC AD(rd_kafka_topic_partition_list_destroy)
@lit_1082_1080 DC AD(rd_kafka_topic_partition_list_sort_by_topic)
@lit_1082_1082 DC AD(rd_kafka_op_new_cb)
@lit_1082_1081 DC AD(rd_kafka_txn_op_send_offsets_to_transaction)
@lit_1082_1083 DC AD(rd_kafka_consumer_group_metadata_dup)
@lit_1082_1084 DC AD(rd_timeout_init)
@lit_1082_1086 DC AD(rd_kafka_txn_curr_api_req)
@lit_1082_1085 DC AD(@DATA)
@L1447 DS 0H
* ***
* *** if (!cgmetadata || !offsets)
LG 6,16(0,4) ; cgmetadata
LTGR 15,6
BZ @L1449
LG 15,8(0,4) ; offsets
LTGR 1,15
BNZ @L1448
@L1449 DS 0H
* *** return rd_kafka_error_new(
* *** RD_KAFKA_RESP_ERR__INVALID_ARG,
* *** "cgmetadata and offsets are required p\
* arameters");
MVGHI 176(13),-186
LG 15,@lit_1082_1074
LA 15,3138(0,15)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1075 ; rd_kafka_error_new
@@gen_label1451 DS 0H
BALR 14,15
@@gen_label1452 DS 0H
B @ret_lab_1082
@L1448 DS 0H
* ***
* *** valid_offsets = rd_kafka_topic_partition_list_match(
* *** offsets, rd_kafka_topic_partition_match_valid_\
* offset, ((void *)0));
STG 15,176(0,13)
LG 15,@lit_1082_1076 ; rd_kafka_topic_partition_match_valid*
_offset
STG 15,184(0,13)
XC 192(8,13),192(13)
LA 1,176(0,13)
LG 15,@lit_1082_1077 ; rd_kafka_topic_partition_list_match
@@gen_label1453 DS 0H
BALR 14,15
@@gen_label1454 DS 0H
LGR 5,15
* ***
* *** if (valid_offsets->cnt == 0) {
CHSI 0(5),0
BNE @L1450
* ***
* ***
* *** rd_kafka_topic_partition_list_destroy(valid_of\
* fsets);
STG 5,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1078 ; rd_kafka_topic_partition_list_destro*
y
@@gen_label1456 DS 0H
BALR 14,15
@@gen_label1457 DS 0H
* *** return ((void *)0);
LGHI 15,0 ; 0
B @ret_lab_1082
* *** }
@L1450 DS 0H
* ***
* *** rd_kafka_topic_partition_list_sort_by_topic(valid_offs\
* ets);
STG 5,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1080 ; rd_kafka_topic_partition_list_sort_b*
y_topic
@@gen_label1458 DS 0H
BALR 14,15
@@gen_label1459 DS 0H
* ***
* *** rko = rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_kafka_txn_op_send_offsets_\
* to_transaction);
STG 3,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1082_1081 ; rd_kafka_txn_op_send_offsets_to_tran*
saction
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1082 ; rd_kafka_op_new_cb
@@gen_label1460 DS 0H
BALR 14,15
@@gen_label1461 DS 0H
LGR 4,15
* *** rko->rko_u.txn.offsets = valid_offsets;
STG 5,144(0,4) ; offset of offsets in 0000084
* *** rko->rko_u.txn.cgmetadata =
* *** rd_kafka_consumer_group_metadata_dup(cgmetadat\
* a);
STG 6,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1083 ; rd_kafka_consumer_group_metadata_dup
@@gen_label1462 DS 0H
BALR 14,15
@@gen_label1463 DS 0H
STG 15,112(0,4)
* *** if (timeout_ms > rk->rk_conf.eos.transaction_timeout_m\
* s)
C 2,2032(0,3)
BNH @L1451
* *** timeout_ms = rk->rk_conf.eos.transaction_timeo\
* ut_ms;
L 2,2032(0,3) ; offset of transaction_timeout_ms in 000010*
5
@L1451 DS 0H
* *** rko->rko_u.txn.abs_timeout = rd_timeout_init(timeout_m\
* s);
LGFR 15,2
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1082_1084 ; rd_timeout_init
@@gen_label1465 DS 0H
BALR 14,15
@@gen_label1466 DS 0H
STG 15,136(0,4)
* ***
* *** return rd_kafka_txn_curr_api_req(
* *** rk, __FUNCTION__, rko,
* *** -1,
* *** 0x2);
STG 3,176(0,13)
LG 15,@lit_1082_1085
LA 15,826(0,15)
STG 15,184(0,13)
STG 4,192(0,13)
MVGHI 200(13),-1
MVGHI 208(13),2
LA 1,176(0,13)
LG 15,@lit_1082_1086 ; rd_kafka_txn_curr_api_req
@@gen_label1467 DS 0H
BALR 14,15
@@gen_label1468 DS 0H
* *** }
@ret_lab_1082 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_send_offsets_to_transac
* tion"
* (FUNCTION #1082)
*
@AUTO#rd_kafka_send_offsets_to_transaction DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_complete
@LNAME2024 DS 0H
DC X'00000015'
DC C'rd_kafka_txn_complete'
DC X'00'
rd_kafka_txn_complete DCCPRLG CINDEX=2024,BASER=12,FRAME=232,ENTRY=NO,A*
RCH=ZARCH,LNAMEADDR=@LNAME2024
* ******* End of Prologue
* *
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMPLETE","Transac\
* tion successfully %s", is_commit ? "committed" : "aborted"); } while\
* (0);
LG 2,0(0,1) ; rk
@L1452 DS 0H
TM 802(2),128
BZ @L1455
CLI 15(1),0
BE @L1456
LG 15,@lit_2024_1088
LA 15,3186(0,15)
B @L1457
DS 0D
@FRAMESIZE_2024 DC F'232'
@lit_2024_1088 DC AD(@strings@)
@lit_2024_1092 DC AD(rd_kafka_log0)
@lit_2024_1093 DC AD(rd_kafka_txn_clear_pending_partitions)
@lit_2024_1094 DC AD(rd_kafka_txn_clear_partitions)
@lit_2024_1095 DC AD(rd_kafka_txn_set_state)
@L1456 DS 0H
LG 15,@lit_2024_1088
LA 15,3196(0,15)
@L1457 DS 0H
LA 1,528(0,2)
STMG 1,2,168(13)
XC 184(8,13),184(13)
MVGHI 192(13),7
LLILF 1,X'00008000' ; 32768
STG 1,200(0,13)
LG 1,@lit_2024_1088
LA 3,3204(0,1)
STG 3,208(0,13)
LA 1,3216(0,1)
STG 1,216(0,13)
STG 15,224(0,13)
LA 1,168(0,13)
LG 15,@lit_2024_1092 ; rd_kafka_log0
@@gen_label1471 DS 0H
BALR 14,15
@@gen_label1472 DS 0H
@L1455 DS 0H
* ***
* ***
* ***
* ***
* *** rd_kafka_txn_clear_pending_partitions(rk);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_2024_1093 ; rd_kafka_txn_clear_pending_partition*
s
@@gen_label1473 DS 0H
BALR 14,15
@@gen_label1474 DS 0H
* *** rd_kafka_txn_clear_partitions(rk);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_2024_1094 ; rd_kafka_txn_clear_partitions
@@gen_label1475 DS 0H
BALR 14,15
@@gen_label1476 DS 0H
* ***
* *** rk->rk_eos.txn_requires_epoch_bump = 0;
MVI 3456(2),0 ; offset of txn_requires_epoch_bump in 00001*
46
* *** rk->rk_eos.txn_req_cnt = 0;
MVHI 3600(2),0 ; offset of txn_req_cnt in 0000146
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_READY);
STG 2,168(0,13)
MVGHI 176(13),3
LA 1,168(0,13)
LG 15,@lit_2024_1095 ; rd_kafka_txn_set_state
@@gen_label1477 DS 0H
BALR 14,15
@@gen_label1478 DS 0H
* *** }
@ret_lab_2024 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_complete"
* (FUNCTION #2024)
*
@AUTO#rd_kafka_txn_complete DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_handle_EndTxn
@LNAME2025 DS 0H
DC X'0000001A'
DC C'rd_kafka_txn_handle_EndTxn'
DC X'00'
rd_kafka_txn_handle_$End$Txn DCCPRLG CINDEX=2025,BASER=12,FRAME=832,ENT*
RY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2025
LGR 8,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** const int log_decode_errors = 3;
LG 4,24(0,8) ; rkbuf
LG 7,0(0,8) ; rk
L 2,20(0,8) ; err
LHI 5,3 ; 3
* *** rd_kafka_q_t *rkq = opaque;
LG 6,40(0,8) ; opaque
* *** int16_t ErrorCode;
* *** int actions = 0;
LHI 3,0 ; 0
* *** rd_bool_t is_commit, may_retry = 0;
MVI 692(13),0 ; may_retry
* ***
* *** if (err == RD_KAFKA_RESP_ERR__DESTROY) {
CHI 2,-197
BNE @L1458
* *** rd_kafka_q_destroy0(rkq, 0 );
STG 6,696(0,13)
XC 704(8,13),704(13)
LA 1,696(0,13)
LG 15,@lit_2025_1099 ; rd_kafka_q_destroy0
@@gen_label1480 DS 0H
BALR 14,15
@@gen_label1481 DS 0H
* *** return;
ALGF 12,@lit_region_diff_2025_1_2
DROP 12
USING @REGION_2025_2,12
B @ret_lab_2025
DROP 12
USING @REGION_2025_1,12
DS 0D
@FRAMESIZE_2025 DC F'832'
@lit_2025_1099 DC AD(rd_kafka_q_destroy0)
@lit_region_diff_2025_1_2 DC A(@REGION_2025_2-@REGION_2025_1)
@lit_2025_1101 DC AD(rd_slice_read)
@lit_2025_1102 DC AD(rd_slice_abs_offset)
@lit_2025_1105 DC AD(rd_kafka_crash)
@lit_2025_1104 DC AD(@DATA)
@lit_2025_1103 DC AD(@strings@)
@lit_2025_1107 DC AD(snprintf)
@lit_2025_1109 DC AD(mtx_lock)
@lit_2025_1111 DC AD(rd_strlcpy)
@lit_2025_1113 DC AD(mtx_unlock)
@lit_2025_1114 DC AD(rd_kafka_$Api$Key2str)
@lit_2025_1115 DC AD(rd_slice_offset)
@lit_2025_1120 DC AD(rd_kafka_log0)
@lit_2025_1121 DC AD(rd_kafka_op_throttle_time)
@lit_2025_1143 DC AD(rwlock_wrlock)
@lit_2025_1144 DC AD(rwlock_wrunlock)
@lit_2025_1145 DC AD(rd_kafka_err2name)
@lit_2025_1147 DC AD(rd_kafka_txn_curr_api_reply)
@lit_2025_1154 DC AD(rd_kafka_txn_state2str)
* *** }
@L1458 DS 0H
* ***
* *** is_commit = request->rkbuf_u.EndTxn.commit;
LG 15,32(0,8) ; request
IC 15,400(0,15) ; offset of rkbuf_u in rd_kafka_buf_s
STC 15,693(0,13) ; is_commit
* ***
* *** if (err)
LTR 2,2
BZ @L1466
* *** goto err;
B @_err@2025@9
* ***
* *** do { int32_t _throttle_time_ms; do { int32_t _v; do { \
* size_t __len2 = (size_t)(sizeof(_v)); if (!rd_slice_read(&(rkbuf)->r\
* kbuf_reader, &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if\
* (((__len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(\
* rkbuf)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { i\
* f (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\
* \\src\\rdkafka_txnmgr.c",2141, __FUNCTION__, (((void *)0)), "assert:\
* " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__\
* tmpstr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmps\
* tr[0] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)-\
* >rkb_logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logna\
* me, sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_l\
* ock); rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rk\
* buf_rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "P\
* rotocol read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu"\
* " (%s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining byt\
* es (%s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf-\
* >rkbuf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&\
* rkbuf->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTI\
* ON__, 2141, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offs\
* et(&rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rk\
* buf_uflow_mitigation : "incorrect broker.version.fallback?", __tmpst\
* r); } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW\
* ; goto err_parse; } while (0); } } while (0); } while (0); *(&_throt\
* tle_time_ms) = (_v); } while (0); rd_kafka_op_throttle_time((rkbuf)-\
* >rkbuf_rkb, (rkbuf)->rkbuf_rkb->rkb_rk->rk_rep, _throttle_time_ms); \
* } while (0);
@L1466 DS 0H
LGHI 2,4 ; 4
LA 15,120(0,4)
STG 15,696(0,13)
LA 15,172(0,13)
STG 15,704(0,13)
STG 2,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1101 ; rd_slice_read
@@gen_label1483 DS 0H
BALR 14,15
@@gen_label1484 DS 0H
LTGR 15,15
BNZ @L1469
@L1470 DS 0H
LG 9,152(0,4) ; offset of end in rd_slice_s
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1102 ; rd_slice_abs_offset
@@gen_label1486 DS 0H
BALR 14,15
@@gen_label1487 DS 0H
SLGR 9,15
CLGR 2,9
BNH @L1473
@L1474 DS 0H
LTR 5,5
BNH @L1477
@L1478 DS 0H
LTG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1481
LG 15,@lit_2025_1103
LA 1,434(0,15)
STG 1,696(0,13)
MVGHI 704(13),2141
LG 1,@lit_2025_1104
LA 1,864(0,1)
STG 1,712(0,13)
XC 720(8,13),720(13)
LA 15,1410(0,15)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1105 ; rd_kafka_crash
@@gen_label1491 DS 0H
BALR 14,15
@@gen_label1492 DS 0H
@L1481 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
MVGHI 704(13),256
LG 15,@lit_2025_1103
LA 15,1436(0,15)
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1107 ; snprintf
@@gen_label1493 DS 0H
BALR 14,15
@@gen_label1494 DS 0H
LA 15,180(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1495 DS 0H
SRST 0,15
BC 1,@@gen_label1495
SLGR 0,1
CGHI 0,2
BNE @L1483
MVI 180(13),0
@L1482 DS 0H
@L1483 DS 0H
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 9,5688 ; 5688
LA 15,0(9,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1109 ; mtx_lock
@@gen_label1497 DS 0H
BALR 14,15
@@gen_label1498 DS 0H
LA 15,436(0,13)
STG 15,696(0,13)
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2025_1111 ; rd_strlcpy
@@gen_label1499 DS 0H
BALR 14,15
@@gen_label1500 DS 0H
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(9,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1113 ; mtx_unlock
@@gen_label1501 DS 0H
BALR 14,15
@@gen_label1502 DS 0H
LGH 15,184(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1114 ; rd_kafka_ApiKey2str
@@gen_label1503 DS 0H
BALR 14,15
@@gen_label1504 DS 0H
LGR 9,15
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1115 ; rd_slice_offset
@@gen_label1505 DS 0H
BALR 14,15
@@gen_label1506 DS 0H
LGR 10,15
LG 11,152(0,4) ; offset of end in rd_slice_s
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1102 ; rd_slice_abs_offset
@@gen_label1507 DS 0H
BALR 14,15
@@gen_label1508 DS 0H
SLGR 11,15
LTG 15,488(0,4) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1486
LG 15,488(0,4) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1487
@L1486 DS 0H
LG 15,@lit_2025_1103
LA 15,1440(0,15)
@L1487 DS 0H
LG 1,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,704(0,13)
LA 1,436(0,13)
STG 1,712(0,13)
LGFR 1,5
STG 1,720(0,13)
XC 728(8,13),728(13)
LG 1,@lit_2025_1103
LA 5,1476(0,1)
STG 5,736(0,13)
LA 1,1488(0,1)
STG 1,744(0,13)
STG 9,752(0,13)
LH 1,186(0,4)
LGFR 1,1
STG 1,760(0,13)
STG 10,768(0,13)
LG 1,152(0,4) ; offset of end in rd_slice_s
SLG 1,144(0,4)
STG 1,776(0,13)
LG 1,@lit_2025_1104
LA 1,864(0,1)
STG 1,784(0,13)
MVGHI 792(13),2141
STG 2,800(0,13)
STG 11,808(0,13)
STG 15,816(0,13)
LA 15,180(0,13)
STG 15,824(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1120 ; rd_kafka_log0
@@gen_label1510 DS 0H
BALR 14,15
@@gen_label1511 DS 0H
@L1477 DS 0H
MVHI 392(4),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2025@10
@L1473 DS 0H
@L1469 DS 0H
L 15,172(0,13) ; _v
ST 15,168(0,13)
LG 15,256(0,4)
STG 15,696(0,13)
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LG 15,0(0,15)
STG 15,704(0,13)
LGF 15,168(0,13) ; _throttle_time_ms
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1121 ; rd_kafka_op_throttle_time
@@gen_label1512 DS 0H
BALR 14,15
@@gen_label1513 DS 0H
* *** do { int16_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2142, _\
* _FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while \
* (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": ");\
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname\
* [256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_\
* logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unloc\
* k(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkb\
* uf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_\
* decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " \
* "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" \
* " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(\
* rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_sli\
* ce_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rk\
* buf->rkbuf_reader)->start), __FUNCTION__, 2142, __len0, ((&rkbuf->rk\
* buf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf\
* ->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrec\
* t broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbu\
* f_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); }\
* } while (0); } while (0); *(&ErrorCode) = (int16_t)(_v); } while (0\
* );
@L1488 DS 0H
@L1491 DS 0H
LGHI 2,2 ; 2
LA 15,120(0,4)
STG 15,696(0,13)
LA 15,176(0,13)
STG 15,704(0,13)
STG 2,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1101 ; rd_slice_read
@@gen_label1514 DS 0H
BALR 14,15
@@gen_label1515 DS 0H
LTGR 15,15
BNZ @L1494
@L1495 DS 0H
LG 9,152(0,4) ; offset of end in rd_slice_s
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1102 ; rd_slice_abs_offset
@@gen_label1517 DS 0H
BALR 14,15
@@gen_label1518 DS 0H
SLGR 9,15
CLGR 2,9
BNH @L1498
@L1499 DS 0H
LTR 5,5
BNH @L1502
@L1503 DS 0H
LTG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1506
LG 15,@lit_2025_1103
LA 1,434(0,15)
STG 1,696(0,13)
MVGHI 704(13),2142
LG 1,@lit_2025_1104
LA 1,864(0,1)
STG 1,712(0,13)
XC 720(8,13),720(13)
LA 15,1410(0,15)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1105 ; rd_kafka_crash
@@gen_label1522 DS 0H
BALR 14,15
@@gen_label1523 DS 0H
@L1506 DS 0H
LA 15,180(0,13)
STG 15,696(0,13)
MVGHI 704(13),256
LG 15,@lit_2025_1103
LA 15,1436(0,15)
STG 15,712(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1107 ; snprintf
@@gen_label1524 DS 0H
BALR 14,15
@@gen_label1525 DS 0H
LA 15,180(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1526 DS 0H
SRST 0,15
BC 1,@@gen_label1526
SLGR 0,1
CGHI 0,2
BNE @L1508
MVI 180(13),0
@L1507 DS 0H
@L1508 DS 0H
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 9,5688 ; 5688
LA 15,0(9,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1109 ; mtx_lock
@@gen_label1528 DS 0H
BALR 14,15
@@gen_label1529 DS 0H
LA 15,436(0,13)
STG 15,696(0,13)
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,704(0,13)
MVGHI 712(13),256
LA 1,696(0,13)
LG 15,@lit_2025_1111 ; rd_strlcpy
@@gen_label1530 DS 0H
BALR 14,15
@@gen_label1531 DS 0H
LG 15,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(9,15)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1113 ; mtx_unlock
@@gen_label1532 DS 0H
BALR 14,15
@@gen_label1533 DS 0H
LGH 15,184(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1114 ; rd_kafka_ApiKey2str
@@gen_label1534 DS 0H
BALR 14,15
@@gen_label1535 DS 0H
LGR 9,15
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1115 ; rd_slice_offset
@@gen_label1536 DS 0H
BALR 14,15
@@gen_label1537 DS 0H
LGR 10,15
LG 11,152(0,4) ; offset of end in rd_slice_s
LA 15,120(0,4)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1102 ; rd_slice_abs_offset
@@gen_label1538 DS 0H
BALR 14,15
@@gen_label1539 DS 0H
SLGR 11,15
LTG 15,488(0,4) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1511
LG 15,488(0,4) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1512
@L1511 DS 0H
LG 15,@lit_2025_1103
LA 15,1440(0,15)
@L1512 DS 0H
LG 1,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,696(0,13)
LG 1,256(0,4) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,704(0,13)
LA 1,436(0,13)
STG 1,712(0,13)
LGFR 1,5
STG 1,720(0,13)
XC 728(8,13),728(13)
LG 1,@lit_2025_1103
LA 5,1476(0,1)
STG 5,736(0,13)
LA 1,1488(0,1)
STG 1,744(0,13)
STG 9,752(0,13)
LH 1,186(0,4)
LGFR 1,1
STG 1,760(0,13)
STG 10,768(0,13)
LG 1,152(0,4) ; offset of end in rd_slice_s
SLG 1,144(0,4)
STG 1,776(0,13)
LG 1,@lit_2025_1104
LA 1,864(0,1)
STG 1,784(0,13)
MVGHI 792(13),2142
STG 2,800(0,13)
STG 11,808(0,13)
STG 15,816(0,13)
LA 15,180(0,13)
STG 15,824(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1120 ; rd_kafka_log0
@@gen_label1541 DS 0H
BALR 14,15
@@gen_label1542 DS 0H
@L1502 DS 0H
MVHI 392(4),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2025@10
@L1498 DS 0H
@L1494 DS 0H
MVC 178(2,13),176(13)
* *** err = ErrorCode;
LH 2,178(0,13) ; ErrorCode
* *** goto err;
B @_err@2025@9
* ***
* *** err_parse:
* *** err = rkbuf->rkbuf_err;
@_err_parse@2025@10 DS 0H
L 2,392(0,4) ; offset of rkbuf_err in rd_kafka_buf_s
* ***
* ***
* *** err:
* *** rwlock_wrlock(&(rk)->rk_lock);
@_err@2025@9 DS 0H
LA 15,2464(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1143 ; rwlock_wrlock
@@gen_label1543 DS 0H
BALR 14,15
@@gen_label1544 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_COMMITT\
* ING_TRANSACTION) {
CHSI 3384(7),6
BNE @L1513
* *** may_retry = 1;
MVI 692(13),1 ; may_retry
* ***
* *** } else if (rk->rk_eos.txn_state ==
B @L1524
@L1513 DS 0H
* *** RD_KAFKA_TXN_STATE_ABORTING_TRANSACTION) {
CHSI 3384(7),8
BNE @L1515
* *** may_retry = 1;
MVI 692(13),1 ; may_retry
* ***
* *** } else if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_\
* ABORTABLE_ERROR) {
B @L1524
@L1515 DS 0H
CHSI 3384(7),10
BNE @L1517
* ***
* ***
* ***
* ***
* ***
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1144 ; rwlock_wrunlock
@@gen_label1548 DS 0H
BALR 14,15
@@gen_label1549 DS 0H
* ***
* *** if (err) {
LTR 2,2
BZ @L1518
* *** rd_kafka_txn_curr_api_reply(
* *** rkq,
* *** 0x1,
* *** rk->rk_eos.txn_err,
* *** "EndTxn failed with %s but tra\
* nsaction "
* *** rd_kafka_err2name(err),
* *** rk->rk_eos.txn_errstr);
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1145 ; rd_kafka_err2name
@@gen_label1551 DS 0H
BALR 14,15
@@gen_label1552 DS 0H
STG 6,696(0,13)
MVGHI 704(13),1
LGF 1,3800(0,7)
STG 1,712(0,13)
* *** "had already failed due to: %s\
* ",
LG 1,@lit_2025_1103
LA 1,3244(0,1)
STG 1,720(0,13)
STG 15,728(0,13)
LG 15,3808(0,7)
STG 15,736(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1147 ; rd_kafka_txn_curr_api_reply
@@gen_label1553 DS 0H
BALR 14,15
@@gen_label1554 DS 0H
* *** } else {
ALGF 12,@lit_region_diff_2025_1_2
DROP 12
USING @REGION_2025_2,12
B @ret_lab_2025
DROP 12
USING @REGION_2025_1,12
@L1518 DS 0H
* ***
* ***
* ***
* *** if (is_commit)
CLI 693(13),0
BE @L1520
* *** rd_kafka_txn_curr_api_reply(
* *** rkq,
* *** 0x200,
* *** rk->rk_eos.txn_err,
* *** "Transaction commit su\
* cceeded on the "
* *** rk->rk_eos.txn_errstr)\
* ;
STG 6,696(0,13)
MVGHI 704(13),512
LGF 15,3800(0,7)
STG 15,712(0,13)
* *** "broker but the transa\
* ction "
* *** "had already failed lo\
* cally due to: %s",
LG 15,@lit_2025_1103
LA 15,3312(0,15)
STG 15,720(0,13)
LG 15,3808(0,7)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1147 ; rd_kafka_txn_curr_api_reply
@@gen_label1556 DS 0H
BALR 14,15
@@gen_label1557 DS 0H
ALGF 12,@lit_region_diff_2025_1_2
DROP 12
USING @REGION_2025_2,12
B @ret_lab_2025
DROP 12
USING @REGION_2025_1,12
* ***
* *** else
@L1520 DS 0H
* *** rd_kafka_txn_curr_api_reply(
* *** rkq,
* *** 0x1,
* *** rk->rk_eos.txn_err,
* *** "Transaction abort suc\
* ceeded on the "
* *** rk->rk_eos.txn_errstr)\
* ;
STG 6,696(0,13)
MVGHI 704(13),1
LGF 15,3800(0,7)
STG 15,712(0,13)
* *** "broker but the transa\
* ction"
* *** "had already failed lo\
* cally due to: %s",
LG 15,@lit_2025_1103
LA 15,3414(0,15)
STG 15,720(0,13)
LG 15,3808(0,7)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1147 ; rd_kafka_txn_curr_api_reply
@@gen_label1558 DS 0H
BALR 14,15
@@gen_label1559 DS 0H
@L1521 DS 0H
* *** }
@L1519 DS 0H
* ***
* *** return;
ALGF 12,@lit_region_diff_2025_1_2
DROP 12
USING @REGION_2025_2,12
B @ret_lab_2025
DROP 12
USING @REGION_2025_1,12
* ***
* *** } else if (!err) {
@L1517 DS 0H
LTR 2,2
BNZ @L1524
* ***
* *** err = RD_KAFKA_RESP_ERR__OUTDATED;
LHI 2,-167 ; -167
* *** }
@L1523 DS 0H
* ***
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "ENDTXN","EndTxn retur\
* ned %s in state %s (may_retry=%s)", rd_kafka_err2name(err), rd_kafka\
* _txn_state2str(rk->rk_eos.txn_state), ((may_retry) ? "true" : "false\
* ")); } while (0);
@L1522 DS 0H
@L1516 DS 0H
@L1514 DS 0H
@L1524 DS 0H
TM 802(7),128
BNZ *+14 Around region break
ALGF 12,@lit_region_diff_2025_1_2
DROP 12
USING @REGION_2025_2,12
B @L1527
DROP 12
USING @REGION_2025_1,12
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1145 ; rd_kafka_err2name
@@gen_label1562 DS 0H
BALR 14,15
@@gen_label1563 DS 0H
LGR 4,15
LGF 15,3384(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1154 ; rd_kafka_txn_state2str
@@gen_label1564 DS 0H
BALR 14,15
@@gen_label1565 DS 0H
ALGF 12,@lit_region_diff_2025_1_2
@REGION_2025_2 DS 0H
DROP 12
USING @REGION_2025_2,12
CLI 692(13),0
BE @L1528
LG 1,@lit_2025_1155
LA 1,3514(0,1)
B @L1529
DS 0D
@lit_2025_1155 DC AD(@strings@)
@lit_2025_1159 DC AD(rd_kafka_log0)
@lit_2025_1160 DC AD(rd_kafka_txn_set_state)
@lit_2025_1162 DC AD(rwlock_wrunlock)
@lit_2025_1163 DC AD(rwlock_wrlock)
@lit_2025_1164 DC AD(rd_kafka_err2str)
@lit_2025_1166 DC AD(rd_kafka_txn_coord_set)
@lit_2025_1168 DC FD'1' 0x0000000000000001
@lit_2025_1169 DC FD'6' 0x0000000000000006
@lit_2025_1170 DC FD'3' 0x0000000000000003
@lit_2025_1171 DC FD'4' 0x0000000000000004
@lit_2025_1172 DC AD(rd_kafka_txn_normalize_err)
@lit_2025_1175 DC AD(rd_kafka_txn_set_fatal_error)
@lit_2025_1176 DC AD(rd_kafka_txn_coord_timer_restart)
@lit_2025_1179 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2025_1180 DC AD(rd_kafka_buf_retry)
@lit_2025_1185 DC AD(rd_kafka_txn_curr_api_reply)
@L1528 DS 0H
LG 1,@lit_2025_1155
LA 1,3520(0,1)
@L1529 DS 0H
LA 5,528(0,7)
STG 5,696(0,13)
STG 7,704(0,13)
XC 712(8,13),712(13)
MVGHI 720(13),7
LLILF 5,X'00008000' ; 32768
STG 5,728(0,13)
LG 5,@lit_2025_1155
LA 9,3526(0,5)
STG 9,736(0,13)
LA 5,3534(0,5)
STG 5,744(0,13)
STG 4,752(0,13)
STG 15,760(0,13)
STG 1,768(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1159 ; rd_kafka_log0
@@gen_label1567 DS 0H
BALR 14,15
@@gen_label1568 DS 0H
@L1527 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** if (!err) {
LTR 2,2
BNZ @L1530
* ***
* *** if (is_commit)
CLI 693(13),0
BE @L1531
* *** rd_kafka_txn_set_state(
* *** rk, RD_KAFKA_TXN_STATE_COMMIT_\
* NOT_ACKED);
STG 7,696(0,13)
MVGHI 704(13),7
LA 1,696(0,13)
LG 15,@lit_2025_1160 ; rd_kafka_txn_set_state
@@gen_label1571 DS 0H
BALR 14,15
@@gen_label1572 DS 0H
B @L1530
* *** else
@L1531 DS 0H
* *** rd_kafka_txn_set_state(
* *** rk, RD_KAFKA_TXN_STATE_ABORT_N\
* OT_ACKED);
STG 7,696(0,13)
MVGHI 704(13),9
LA 1,696(0,13)
LG 15,@lit_2025_1160 ; rd_kafka_txn_set_state
@@gen_label1573 DS 0H
BALR 14,15
@@gen_label1574 DS 0H
@L1532 DS 0H
* *** }
@L1530 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1162 ; rwlock_wrunlock
@@gen_label1575 DS 0H
BALR 14,15
@@gen_label1576 DS 0H
* ***
* *** switch (err)
B @L1533
* *** {
* *** case RD_KAFKA_RESP_ERR_NO_ERROR:
* *** break;
* ***
* *** case RD_KAFKA_RESP_ERR__DESTROY:
* ***
* *** case RD_KAFKA_RESP_ERR__TIMED_OUT:
* ***
* ***
* *** case RD_KAFKA_RESP_ERR__OUTDATED:
* ***
* ***
* *** break;
* ***
* *** case RD_KAFKA_RESP_ERR__TRANSPORT:
@L1539 DS 0H
* *** actions |= 0x8|
* *** 0x4;
OILL 3,12
* *** break;
B @L1534
* ***
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_NOT_AVAILABLE:
* *** case RD_KAFKA_RESP_ERR_NOT_COORDINATOR:
@L1541 DS 0H
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1163 ; rwlock_wrlock
@@gen_label1577 DS 0H
BALR 14,15
@@gen_label1578 DS 0H
* *** rd_kafka_txn_coord_set(rk, ((void *)0),
* *** "EndTxn failed: %s",
* *** rd_kafka_err2str(err));
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1164 ; rd_kafka_err2str
@@gen_label1579 DS 0H
BALR 14,15
@@gen_label1580 DS 0H
STG 7,696(0,13)
XC 704(8,13),704(13)
LG 1,@lit_2025_1155
LA 1,3580(0,1)
STG 1,712(0,13)
STG 15,720(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1166 ; rd_kafka_txn_coord_set
@@gen_label1581 DS 0H
BALR 14,15
@@gen_label1582 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,7)
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1162 ; rwlock_wrunlock
@@gen_label1583 DS 0H
BALR 14,15
@@gen_label1584 DS 0H
* *** actions |= 0x8;
OILL 3,8
* *** break;
B @L1534
* ***
* *** case RD_KAFKA_RESP_ERR_COORDINATOR_LOAD_IN_PROGRESS:
* *** case RD_KAFKA_RESP_ERR_CONCURRENT_TRANSACTIONS:
@L1543 DS 0H
* *** actions |= 0x8;
OILL 3,8
* *** break;
B @L1534
* ***
* *** case RD_KAFKA_RESP_ERR_UNKNOWN_PRODUCER_ID:
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_ID_MAPPING:
@L1545 DS 0H
* *** actions |= 0x1;
OILL 3,1
* *** break;
B @L1534
* ***
* *** case RD_KAFKA_RESP_ERR_INVALID_PRODUCER_EPOCH:
* *** case RD_KAFKA_RESP_ERR_PRODUCER_FENCED:
* *** case RD_KAFKA_RESP_ERR_TRANSACTIONAL_ID_AUTHORIZATION_\
* FAILED:
* *** case RD_KAFKA_RESP_ERR_CLUSTER_AUTHORIZATION_FAILED:
* *** case RD_KAFKA_RESP_ERR_INVALID_TXN_STATE:
@L1550 DS 0H
* *** actions |= 0x200;
OILL 3,512
* *** break;
B @L1534
* ***
* *** default:
* ***
* *** actions |= 0x1;
@L1551 DS 0H
OILL 3,1
* *** }
B @L1534
@L1533 DS 0H
CHI 2,-185
BNL @@gen_label1585
CHI 2,-197
BL @L1551
CHI 2,-197
BE @L1534
CHI 2,-195
BE @L1539
B @L1551
@@gen_label1585 DS 0H
CHI 2,-167
BNL @@gen_label1586
CHI 2,-185
BE @L1534
B @L1551
@@gen_label1586 DS 0H
LTR 2,2
BNL @@gen_label1587
CHI 2,-167
BE @L1534
B @L1551
@@gen_label1587 DS 0H
CHI 2,14
BNL @@gen_label1588
LTR 2,2
BE @L1534
B @L1551
@@gen_label1588 DS 0H
CHI 2,31
BNL @@gen_label1589
LR 15,2
AHI 15,-14
CLFI 15,X'00000002'
BH @L1551
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2025_1168
BNZ @L1543
NG 1,@lit_2025_1169
BNZ @L1541
B @L1551
@@gen_label1589 DS 0H
CHI 2,47
BNL @@gen_label1590
CHI 2,31
BE @L1550
B @L1551
@@gen_label1590 DS 0H
CHI 2,90
BNL @@gen_label1591
CHI 2,59
BNL @@gen_label1592
CHI 2,51
BNL @@gen_label1593
LR 15,2
AHI 15,-47
CLFI 15,X'00000002'
BH @L1551
LGFR 15,15
LGHI 1,1
SLLG 1,1,0(15)
LGR 15,1
NG 15,@lit_2025_1170
BNZ @L1550
NG 1,@lit_2025_1171
BNZ @L1545
B @L1551
@@gen_label1593 DS 0H
CHI 2,51
BE @L1543
CHI 2,53
BE @L1550
B @L1551
@@gen_label1592 DS 0H
CHI 2,59
BE @L1545
B @L1551
@@gen_label1591 DS 0H
CHI 2,90
BE @L1550
B @L1551
@L1534 DS 0H
* ***
* *** err = rd_kafka_txn_normalize_err(err);
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1172 ; rd_kafka_txn_normalize_err
@@gen_label1594 DS 0H
BALR 14,15
@@gen_label1595 DS 0H
LR 2,15 ; err
* ***
* *** if (actions & 0x200) {
LR 15,3
NILF 15,X'00000200'
LTR 15,15
BZ @L1552
* *** rd_kafka_txn_set_fatal_error(rk, RD_DO_LOCK, e\
* rr,
* *** "Failed to end tr\
* ansaction: %s",
* *** rd_kafka_err2str(\
* err));
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1164 ; rd_kafka_err2str
@@gen_label1597 DS 0H
BALR 14,15
@@gen_label1598 DS 0H
STG 7,696(0,13)
MVGHI 704(13),1
LGFR 1,2
STG 1,712(0,13)
LG 1,@lit_2025_1155
LA 1,3598(0,1)
STG 1,720(0,13)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1175 ; rd_kafka_txn_set_fatal_error
@@gen_label1599 DS 0H
BALR 14,15
@@gen_label1600 DS 0H
* *** } else {
B @L1553
@L1552 DS 0H
* *** if (actions & 0x4)
TML 3,4
BZ @L1554
* *** rd_kafka_txn_coord_timer_restart(rk, 5\
* 00);
STG 7,696(0,13)
MVGHI 704(13),500
LA 1,696(0,13)
LG 15,@lit_2025_1176 ; rd_kafka_txn_coord_timer_restart
@@gen_label1602 DS 0H
BALR 14,15
@@gen_label1603 DS 0H
@L1554 DS 0H
* ***
* *** if (actions & 0x1)
TML 3,1
BZ @L1555
* *** rd_kafka_txn_set_abortable_error0(rk,e\
* rr,0,"Failed to end transaction: " "%s", rd_kafka_err2str(err));
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1164 ; rd_kafka_err2str
@@gen_label1605 DS 0H
BALR 14,15
@@gen_label1606 DS 0H
STG 7,696(0,13)
LGFR 1,2
STG 1,704(0,13)
XC 712(8,13),712(13)
LG 1,@lit_2025_1155
LA 1,3598(0,1)
STG 1,720(0,13)
STG 15,728(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1179 ; rd_kafka_txn_set_abortable_error0
@@gen_label1607 DS 0H
BALR 14,15
@@gen_label1608 DS 0H
B @L1553
* ***
* ***
* ***
* *** else if (may_retry && actions & 0x8 &&
@L1555 DS 0H
CLI 692(13),0
BE @L1553
TML 3,8
BZ @L1553
* *** rd_kafka_buf_retry(rkb, request))
LG 15,8(0,8) ; rkb
STG 15,696(0,13)
LG 15,32(0,8) ; request
STG 15,704(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1180 ; rd_kafka_buf_retry
@@gen_label1611 DS 0H
BALR 14,15
@@gen_label1612 DS 0H
LTR 15,15
BZ @L1553
* *** return;
B @ret_lab_2025
* *** }
@L1553 DS 0H
* ***
* *** if (err)
LTR 2,2
BZ @L1558
* *** rd_kafka_txn_curr_api_reply(
* *** rkq, actions, err,
* *** "EndTxn %s failed: %s", is_commit ? "c\
* ommit" : "abort",
* *** rd_kafka_err2str(err));
CLI 693(13),0
BE @L1559
LG 15,@lit_2025_1155
LA 4,3628(0,15)
B @L1560
@L1559 DS 0H
LG 15,@lit_2025_1155
LA 4,3636(0,15)
@L1560 DS 0H
LGFR 15,2
STG 15,696(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1164 ; rd_kafka_err2str
@@gen_label1616 DS 0H
BALR 14,15
@@gen_label1617 DS 0H
STG 6,696(0,13)
LGFR 1,3
STG 1,704(0,13)
LGFR 1,2
STG 1,712(0,13)
LG 1,@lit_2025_1155
LA 1,3642(0,1)
STG 1,720(0,13)
STG 4,728(0,13)
STG 15,736(0,13)
LA 1,696(0,13)
LG 15,@lit_2025_1185 ; rd_kafka_txn_curr_api_reply
@@gen_label1618 DS 0H
BALR 14,15
@@gen_label1619 DS 0H
B @L1561
* *** else
@L1558 DS 0H
* *** rd_kafka_txn_curr_api_reply(rkq, 0, RD_KAFKA_R\
* ESP_ERR_NO_ERROR,
* *** ((void *)0));
STG 6,696(0,13)
XC 704(24,13),704(13)
LA 1,696(0,13)
LG 15,@lit_2025_1185 ; rd_kafka_txn_curr_api_reply
@@gen_label1620 DS 0H
BALR 14,15
@@gen_label1621 DS 0H
@L1561 DS 0H
* *** }
@ret_lab_2025 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_handle_EndTxn"
* (FUNCTION #2025)
*
@AUTO#rd_kafka_txn_handle_$End$Txn DSECT
DS XL168
rd_kafka_txn_handle_$End$Txn#__len0#13 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#__len2#12 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#__len0#5 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#__len2#4 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#_throttle_time_ms#2 DS 1F ; _throttle_time*
_ms
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#actions#0 DS 1F ; actions
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+168
rd_kafka_txn_handle_$End$Txn#log_decode_errors#0 DS 1F ; log_decode_err*
ors
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+172
rd_kafka_txn_handle_$End$Txn#_v#3 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+176
rd_kafka_txn_handle_$End$Txn#_v#11 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+178
rd_kafka_txn_handle_$End$Txn#$Error$Code#0 DS 2XL1 ; ErrorCode
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+180
rd_kafka_txn_handle_$End$Txn#__tmpstr#17 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+180
rd_kafka_txn_handle_$End$Txn#__tmpstr#9 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+436
rd_kafka_txn_handle_$End$Txn#_logname#18 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+436
rd_kafka_txn_handle_$End$Txn#_logname#10 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+692
rd_kafka_txn_handle_$End$Txn#may_retry#0 DS 1CL1 ; may_retry
ORG @AUTO#rd_kafka_txn_handle_$End$Txn+693
rd_kafka_txn_handle_$End$Txn#is_commit#0 DS 1CL1 ; is_commit
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_commit_transaction
@LNAME2026 DS 0H
DC X'00000022'
DC C'rd_kafka_txn_op_commit_transacti'
DC C'on'
DC X'00'
rd_kafka_txn_op_commit_transaction DCCPRLG CINDEX=2026,BASER=12,FRAME=8*
16,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2026
* ******* End of Prologue
* *
LG 3,0(0,1) ; rk
LG 4,16(0,1) ; rko
* *** rd_kafka_error_t *error;
* *** rd_kafka_resp_err_t err;
* *** char errstr[512];
* *** rd_kafka_pid_t pid;
* *** int64_t dr_fails;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
CHSI 32(4),-197
BNE @L1562
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2026
DS 0D
@FRAMESIZE_2026 DC F'816'
@lit_2026_1195 DC AD(rwlock_wrlock)
@lit_2026_1196 DC AD(rd_kafka_txn_require_states0)
@lit_2026_1197 DC AD(rd_atomic64_get)
@lit_2026_1199 DC AD(rd_kafka_error_new_txn_requires_abort)
@lit_2026_1198 DC AD(@strings@)
@lit_2026_1202 DC AD(rd_kafka_log0)
@lit_2026_1203 DC AD(rd_kafka_txn_set_state)
@lit_2026_1204 DC AD(rd_kafka_idemp_get_pid0)
@lit_2026_1205 DC AD(rd_kafka_idemp_state2str)
@lit_2026_1207 DC AD(rd_kafka_error_new_retriable)
@lit_2026_1209 DC AD(rd_kafka_replyq_make)
@lit_2026_1208 DC AD(@DATA)
@lit_2026_1210 DC AD(rd_kafka_q_keep)
@lit_2026_1212 DC AD(rd_kafka_$End$Txn$Request)
@lit_2026_1211 DC AD(rd_kafka_txn_handle_$End$Txn)
@lit_2026_1216 DC AD(rwlock_wrunlock)
@lit_2026_1219 DC AD(rd_kafka_error_txn_requires_abort)
@lit_2026_1220 DC AD(rd_kafka_error_code)
@lit_2026_1221 DC AD(rd_kafka_error_string)
@lit_2026_1223 DC AD(rd_kafka_txn_set_abortable_error0)
@lit_2026_1225 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1562 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1195 ; rwlock_wrlock
@@gen_label1623 DS 0H
BALR 14,15
@@gen_label1624 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_BEGIN_COMMIT, RD_KAFKA_TXN_STAT\
* E_COMMIT_NOT_ACKED, -1 })))
MVHI 168(13),5
MVHI 172(13),7
MVHI 176(13),-1
STG 3,728(0,13)
LA 15,168(0,13)
STG 15,736(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1196 ; rd_kafka_txn_require_states0
@@gen_label1625 DS 0H
BALR 14,15
@@gen_label1626 DS 0H
LTGR 2,15 ; error
BNZ @_done@2026@11
* ***
* ***
* ***
* *** goto done;
@L1563 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_COMMIT_\
* NOT_ACKED) {
CHSI 3384(3),7
BNE @L1564
* ***
* ***
* ***
* ***
* *** goto done;
B @_done@2026@11
* *** }
@L1564 DS 0H
* ***
* ***
* *** dr_fails = rd_atomic64_get(&rk->rk_eos.txn_dr_fails);
LA 15,3752(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1197 ; rd_atomic64_get
@@gen_label1629 DS 0H
BALR 14,15
@@gen_label1630 DS 0H
* *** if (((dr_fails > 0))) {
LTGR 1,15
BNH @L1565
* *** error = rd_kafka_error_new_txn_requires_abort(
* *** RD_KAFKA_RESP_ERR__INCONSISTENT,
* *** "%" "lld" " message(s) failed delivery\
* "
* *** dr_fails);
MVGHI 728(13),-149
* *** "(see individual delivery reports)",
LG 1,@lit_2026_1198
LA 1,3664(0,1)
STG 1,736(0,13)
STG 15,744(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1199 ; rd_kafka_error_new_txn_requires_abor*
t
@@gen_label1632 DS 0H
BALR 14,15
@@gen_label1633 DS 0H
LGR 2,15 ; error
* *** goto done;
B @_done@2026@11
* *** }
@L1565 DS 0H
* ***
* *** if (!rk->rk_eos.txn_req_cnt) {
LT 15,3600(0,3) ; offset of txn_req_cnt in 0000146
BNZ @L1566
* ***
* ***
* ***
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","N\
* o partitions registered: not sending EndTxn"); } while (0);
@L1567 DS 0H
TM 802(3),128
BZ @L1570
LA 15,528(0,3)
STG 15,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
MVGHI 752(13),7
LLILF 15,X'00008000' ; 32768
STG 15,760(0,13)
LG 15,@lit_2026_1198
LA 1,3730(0,15)
STG 1,768(0,13)
LA 15,3740(0,15)
STG 15,776(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1202 ; rd_kafka_log0
@@gen_label1636 DS 0H
BALR 14,15
@@gen_label1637 DS 0H
@L1570 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* COMMIT_NOT_ACKED);
STG 3,728(0,13)
MVGHI 736(13),7
LA 1,728(0,13)
LG 15,@lit_2026_1203 ; rd_kafka_txn_set_state
@@gen_label1638 DS 0H
BALR 14,15
@@gen_label1639 DS 0H
* *** goto done;
B @_done@2026@11
* *** }
@L1566 DS 0H
* ***
* *** pid = rd_kafka_idemp_get_pid0(rk, 0);
LA 15,712(0,13)
STG 15,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
LA 1,728(0,13)
LG 15,@lit_2026_1204 ; rd_kafka_idemp_get_pid0
@@gen_label1640 DS 0H
BALR 14,15
@@gen_label1641 DS 0H
MVC 696(16,13),712(13)
* *** if (!((pid).id != -1)) {
CGHSI 696(13),-1
BNE @L1571
* *** do {} while (0);
@L1572 DS 0H
* *** error = rd_kafka_error_new_retriable(
* *** RD_KAFKA_RESP_ERR__STATE,
* *** "No PID available (idempotence state %\
* s)",
* *** rd_kafka_idemp_state2str(rk->rk_eos.id\
* emp_state));
LGF 15,3184(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1205 ; rd_kafka_idemp_state2str
@@gen_label1643 DS 0H
BALR 14,15
@@gen_label1644 DS 0H
MVGHI 728(13),-172
LG 1,@lit_2026_1198
LA 1,3098(0,1)
STG 1,736(0,13)
STG 15,744(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1207 ; rd_kafka_error_new_retriable
@@gen_label1645 DS 0H
BALR 14,15
@@gen_label1646 DS 0H
LGR 2,15 ; error
* *** goto done;
B @_done@2026@11
* *** }
@L1571 DS 0H
* ***
* *** err = rd_kafka_EndTxnRequest(rk->rk_eos.txn_coord,
* *** rk->rk_conf.eos.transacti\
* onal_id,
* *** pid,
* *** 1 ,
* *** errstr, sizeof(errstr),
* *** rd_kafka_replyq_make(rk->\
* rk_ops,0,__FUNCTION__),
* *** rd_kafka_txn_handle_EndTx\
* n,
* *** rd_kafka_q_keep(rko->rko_\
* replyq.q));
LA 15,712(0,13)
STG 15,728(0,13)
LG 15,8(0,3)
STG 15,736(0,13)
XC 744(8,13),744(13)
LG 15,@lit_2026_1208
LA 15,892(0,15)
STG 15,752(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1209 ; rd_kafka_replyq_make
@@gen_label1647 DS 0H
BALR 14,15
@@gen_label1648 DS 0H
LG 15,64(0,4)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1210 ; rd_kafka_q_keep
@@gen_label1649 DS 0H
BALR 14,15
@@gen_label1650 DS 0H
LG 1,3400(0,3)
STG 1,728(0,13)
LG 1,2024(0,3)
STG 1,736(0,13)
MVC 744(16,13),696(13)
MVGHI 760(13),1
LA 1,180(0,13)
STG 1,768(0,13)
MVGHI 776(13),512
MVC 784(16,13),712(13)
LG 1,@lit_2026_1211 ; rd_kafka_txn_handle_EndTxn
STG 1,800(0,13)
STG 15,808(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1212 ; rd_kafka_EndTxnRequest
@@gen_label1651 DS 0H
BALR 14,15
@@gen_label1652 DS 0H
* *** if (err) {
LTR 15,15
BZ @L1575
* *** error = rd_kafka_error_new_retriable(err, "%s"\
* , errstr);
LGFR 15,15
STG 15,728(0,13)
LG 15,@lit_2026_1198
LA 15,290(0,15)
STG 15,736(0,13)
LA 15,180(0,13)
STG 15,744(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1207 ; rd_kafka_error_new_retriable
@@gen_label1654 DS 0H
BALR 14,15
@@gen_label1655 DS 0H
LGR 2,15 ; error
* *** goto done;
B @_done@2026@11
* *** }
@L1575 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_COMMITTI\
* NG_TRANSACTION);
STG 3,728(0,13)
MVGHI 736(13),6
LA 1,728(0,13)
LG 15,@lit_2026_1203 ; rd_kafka_txn_set_state
@@gen_label1656 DS 0H
BALR 14,15
@@gen_label1657 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1216 ; rwlock_wrunlock
@@gen_label1658 DS 0H
BALR 14,15
@@gen_label1659 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2026
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2026@11 DS 0H
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1216 ; rwlock_wrunlock
@@gen_label1660 DS 0H
BALR 14,15
@@gen_label1661 DS 0H
* ***
* ***
* ***
* *** if (rd_kafka_error_txn_requires_abort(error))
STG 2,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1219 ; rd_kafka_error_txn_requires_abort
@@gen_label1662 DS 0H
BALR 14,15
@@gen_label1663 DS 0H
LTR 15,15
BZ @L1576
* *** rd_kafka_txn_set_abortable_error0(rk,rd_kafka_\
* error_code(error),0,"%s", rd_kafka_error_string(error));
STG 2,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1220 ; rd_kafka_error_code
@@gen_label1665 DS 0H
BALR 14,15
@@gen_label1666 DS 0H
LR 5,15
STG 2,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1221 ; rd_kafka_error_string
@@gen_label1667 DS 0H
BALR 14,15
@@gen_label1668 DS 0H
STG 3,728(0,13)
LGFR 1,5
STG 1,736(0,13)
XC 744(8,13),744(13)
LG 1,@lit_2026_1198
LA 1,290(0,1)
STG 1,752(0,13)
STG 15,760(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1223 ; rd_kafka_txn_set_abortable_error0
@@gen_label1669 DS 0H
BALR 14,15
@@gen_label1670 DS 0H
@L1576 DS 0H
* ***
* ***
* ***
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,64(0,4)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1210 ; rd_kafka_q_keep
@@gen_label1671 DS 0H
BALR 14,15
@@gen_label1672 DS 0H
STG 15,728(0,13)
STG 2,736(0,13)
LA 1,728(0,13)
LG 15,@lit_2026_1225 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1673 DS 0H
BALR 14,15
@@gen_label1674 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2026 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_commit_transacti
* on"
* (FUNCTION #2026)
*
@AUTO#rd_kafka_txn_op_commit_transaction DSECT
DS XL168
rd_kafka_txn_op_commit_transaction#__cl5#0 DS 12XL1 ; __cl5
ORG @AUTO#rd_kafka_txn_op_commit_transaction+168
rd_kafka_txn_op_commit_transaction#dr_fails#0 DS 8XL1 ; dr_fails
ORG @AUTO#rd_kafka_txn_op_commit_transaction+168
rd_kafka_txn_op_commit_transaction#err#0 DS 1F ; err
ORG @AUTO#rd_kafka_txn_op_commit_transaction+180
rd_kafka_txn_op_commit_transaction#errstr#0 DS 512XL1 ; errstr
ORG @AUTO#rd_kafka_txn_op_commit_transaction+696
rd_kafka_txn_op_commit_transaction#pid#0 DS 16XL1 ; pid
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_begin_commit
@LNAME2027 DS 0H
DC X'0000001C'
DC C'rd_kafka_txn_op_begin_commit'
DC X'00'
rd_kafka_txn_op_begin_commit DCCPRLG CINDEX=2027,BASER=12,FRAME=200,ENT*
RY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2027
* ******* End of Prologue
* *
LG 2,0(0,1) ; rk
* *** rd_kafka_error_t *error;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 4,16(0,1) ; rko
CHSI 32(4),-197
BNE @L1577
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2027
DS 0D
@FRAMESIZE_2027 DC F'200'
@lit_2027_1229 DC AD(rwlock_wrlock)
@lit_2027_1230 DC AD(rd_kafka_txn_require_states0)
@lit_2027_1231 DC AD(rd_kafka_txn_set_state)
@lit_2027_1232 DC AD(rwlock_wrunlock)
@lit_2027_1233 DC AD(rd_kafka_q_keep)
@lit_2027_1234 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1577 DS 0H
* ***
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2027_1229 ; rwlock_wrlock
@@gen_label1676 DS 0H
BALR 14,15
@@gen_label1677 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_IN_TRANSACTION, RD_KAFKA_TXN_ST\
* ATE_BEGIN_COMMIT, RD_KAFKA_TXN_STATE_COMMIT_NOT_ACKED, -1 })))
MVHI 168(13),4
MVHI 172(13),5
MVHI 176(13),7
MVHI 180(13),-1
STG 2,184(0,13)
LA 15,168(0,13)
STG 15,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2027_1230 ; rd_kafka_txn_require_states0
@@gen_label1678 DS 0H
BALR 14,15
@@gen_label1679 DS 0H
LGR 3,15
LTGR 15,3
BNZ @_done@2027@12
* ***
* ***
* ***
* ***
* *** goto done;
@L1578 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_COMMIT_\
* NOT_ACKED)
CHSI 3384(2),7
BE @_done@2027@12
* *** goto done;
@L1579 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_BEGIN_CO\
* MMIT);
STG 2,184(0,13)
MVGHI 192(13),5
LA 1,184(0,13)
LG 15,@lit_2027_1231 ; rd_kafka_txn_set_state
@@gen_label1682 DS 0H
BALR 14,15
@@gen_label1683 DS 0H
* ***
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2027@12 DS 0H
LA 15,2464(0,2)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2027_1232 ; rwlock_wrunlock
@@gen_label1684 DS 0H
BALR 14,15
@@gen_label1685 DS 0H
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,64(0,4)
STG 15,184(0,13)
LA 1,184(0,13)
LG 15,@lit_2027_1233 ; rd_kafka_q_keep
@@gen_label1686 DS 0H
BALR 14,15
@@gen_label1687 DS 0H
STG 15,184(0,13)
STG 3,192(0,13)
LA 1,184(0,13)
LG 15,@lit_2027_1234 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1688 DS 0H
BALR 14,15
@@gen_label1689 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2027 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_begin_commit"
* (FUNCTION #2027)
*
@AUTO#rd_kafka_txn_op_begin_commit DSECT
DS XL168
rd_kafka_txn_op_begin_commit#__cl6#0 DS 16XL1 ; __cl6
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_commit_transaction_ack
@LNAME2028 DS 0H
DC X'00000026'
DC C'rd_kafka_txn_op_commit_transacti'
DC C'on_ack'
DC X'00'
rd_kafka_txn_op_commit_transaction_ack DCCPRLG CINDEX=2028,BASER=12,FRA*
ME=232,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2028
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,4) ; rk
* *** rd_kafka_error_t *error;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 15,16(0,4) ; rko
CHSI 32(15),-197
BNE @L1580
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2028
DS 0D
@FRAMESIZE_2028 DC F'232'
@lit_2028_1238 DC AD(rwlock_wrlock)
@lit_2028_1239 DC AD(rd_kafka_txn_require_states0)
@lit_2028_1242 DC AD(rd_kafka_log0)
@lit_2028_1241 DC AD(@strings@)
@lit_2028_1243 DC AD(rd_kafka_txn_complete)
@lit_2028_1244 DC AD(rwlock_wrunlock)
@lit_2028_1245 DC AD(rd_kafka_q_keep)
@lit_2028_1246 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1580 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1238 ; rwlock_wrlock
@@gen_label1691 DS 0H
BALR 14,15
@@gen_label1692 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_COMMIT_NOT_ACKED, -1 })))
MVHI 168(13),7
MVHI 172(13),-1
STG 2,176(0,13)
LA 15,168(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1239 ; rd_kafka_txn_require_states0
@@gen_label1693 DS 0H
BALR 14,15
@@gen_label1694 DS 0H
LGR 3,15
LTGR 15,3
BZ @L1582
* ***
* ***
* *** goto done;
B @_done@2028@13
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","Committed\
* transaction now acked by application"); } while (0);
@L1582 DS 0H
TM 802(2),128
BZ @L1585
LA 15,528(0,2)
STG 15,176(0,13)
STG 2,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 15,X'00008000' ; 32768
STG 15,208(0,13)
LG 15,@lit_2028_1241
LA 1,3730(0,15)
STG 1,216(0,13)
LA 15,3786(0,15)
STG 15,224(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1242 ; rd_kafka_log0
@@gen_label1697 DS 0H
BALR 14,15
@@gen_label1698 DS 0H
@L1585 DS 0H
* ***
* *** rd_kafka_txn_complete(rk, 1);
STG 2,176(0,13)
MVGHI 184(13),1
LA 1,176(0,13)
LG 15,@lit_2028_1243 ; rd_kafka_txn_complete
@@gen_label1699 DS 0H
BALR 14,15
@@gen_label1700 DS 0H
* ***
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2028@13 DS 0H
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1244 ; rwlock_wrunlock
@@gen_label1701 DS 0H
BALR 14,15
@@gen_label1702 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,16(0,4) ; rko
LG 15,64(0,15)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1245 ; rd_kafka_q_keep
@@gen_label1703 DS 0H
BALR 14,15
@@gen_label1704 DS 0H
STG 15,176(0,13)
STG 3,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2028_1246 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1705 DS 0H
BALR 14,15
@@gen_label1706 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2028 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_commit_transacti
* on_ack"
* (FUNCTION #2028)
*
@AUTO#rd_kafka_txn_op_commit_transaction_ack DSECT
DS XL168
rd_kafka_txn_op_commit_transaction_ack#__cl7#0 DS 8XL1 ; __cl7
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_commit_transaction
rd_kafka_commit_transaction ALIAS X'99846D92818692816D8396949489A36DA39*
98195A28183A3899695'
@LNAME1083 DS 0H
DC X'0000001B'
DC C'rd_kafka_commit_transaction'
DC X'00'
rd_kafka_commit_transaction DCCPRLG CINDEX=1083,BASER=12,FRAME=248,ENTR*
Y=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1083
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 4,0(0,3) ; rk
* *** rd_kafka_error_t *error;
* *** rd_kafka_resp_err_t err;
* *** rd_ts_t abs_timeout;
* ***
* *** if ((error = rd_kafka_ensure_transactional(rk)))
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1249 ; rd_kafka_ensure_transactional
@@gen_label1707 DS 0H
BALR 14,15
@@gen_label1708 DS 0H
LTGR 2,15 ; error
BZ @L1586
* *** return error;
LGR 15,2
B @ret_lab_1083
DS 0D
@FRAMESIZE_1083 DC F'248'
@lit_1083_1249 DC AD(rd_kafka_ensure_transactional)
@lit_1083_1250 DC AD(rd_timeout_init)
@lit_1083_1252 DC AD(rd_kafka_op_new_cb)
@lit_1083_1251 DC AD(rd_kafka_txn_op_begin_commit)
@lit_1083_1253 DC AD(rd_timeout_remains)
@lit_1083_1255 DC AD(rd_kafka_txn_curr_api_req)
@lit_1083_1254 DC AD(@strings@)
@lit_1083_1256 DC AD(rd_kafka_outq_len)
@lit_1083_1259 DC AD(rd_kafka_log0)
@lit_1083_1261 DC AD(rd_kafka_flush)
@lit_1083_1263 DC AD(rd_kafka_err2str)
@lit_1083_1271 DC AD(rd_kafka_error_new_retriable)
@lit_1083_1273 DC AD(@strings@+4096)
@lit_1083_1275 DC AD(rd_kafka_txn_curr_api_reset)
@lit_1083_1280 DC AD(rd_kafka_txn_op_commit_transaction)
@lit_1083_1285 DC AD(rd_kafka_txn_op_commit_transaction_ack)
@L1586 DS 0H
* ***
* ***
* ***
* *** # 2511 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** abs_timeout = rd_timeout_init(timeout_ms);
LGF 15,12(0,3) ; timeout_ms
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1250 ; rd_timeout_init
@@gen_label1710 DS 0H
BALR 14,15
@@gen_label1711 DS 0H
LGR 3,15
* ***
* ***
* *** error = rd_kafka_txn_curr_api_req(
* *** rk, "commit_transaction (begin)",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_timeout_remains(abs_timeout),
* *** 0x4|
* *** rd_kafka_txn_op_begin_commi\
* t),
STG 4,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1083_1251 ; rd_kafka_txn_op_begin_commit
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1252 ; rd_kafka_op_new_cb
@@gen_label1712 DS 0H
BALR 14,15
@@gen_label1713 DS 0H
LGR 2,15
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1253 ; rd_timeout_remains
@@gen_label1714 DS 0H
BALR 14,15
@@gen_label1715 DS 0H
STG 4,176(0,13)
LG 1,@lit_1083_1254
LA 1,3834(0,1)
STMG 1,2,184(13)
LGFR 15,15
STG 15,200(0,13)
* *** 0x1);
MVGHI 208(13),5
LA 1,176(0,13)
LG 15,@lit_1083_1255 ; rd_kafka_txn_curr_api_req
@@gen_label1716 DS 0H
BALR 14,15
@@gen_label1717 DS 0H
LTGR 2,15 ; error
* *** if (error)
BZ @L1588
* *** return error;
LGR 15,2
B @ret_lab_1083
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","Flushing \
* %d outstanding message(s) prior to commit", rd_kafka_outq_len(rk)); \
* } while (0);
@L1588 DS 0H
TM 802(4),128
BZ @L1591
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1256 ; rd_kafka_outq_len
@@gen_label1720 DS 0H
BALR 14,15
@@gen_label1721 DS 0H
LA 1,528(0,4)
STG 1,176(0,13)
STG 4,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008000' ; 32768
STG 1,208(0,13)
LG 1,@lit_1083_1254
LA 2,3730(0,1)
STG 2,216(0,13)
LA 1,3862(0,1)
STG 1,224(0,13)
LGFR 15,15
STG 15,232(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1259 ; rd_kafka_log0
@@gen_label1722 DS 0H
BALR 14,15
@@gen_label1723 DS 0H
@L1591 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** if ((err = rd_kafka_flush(rk, rd_timeout_remains(abs_t\
* imeout)))) {
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1253 ; rd_timeout_remains
@@gen_label1724 DS 0H
BALR 14,15
@@gen_label1725 DS 0H
STG 4,176(0,13)
LGFR 15,15
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1261 ; rd_kafka_flush
@@gen_label1726 DS 0H
BALR 14,15
@@gen_label1727 DS 0H
LTR 2,15
BZ @L1601
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","F\
* lush failed (with %d messages remaining): %s", rd_kafka_outq_len(rk)\
* , rd_kafka_err2str(err)); } while (0);
@L1593 DS 0H
TM 802(4),128
BZ @L1596
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1256 ; rd_kafka_outq_len
@@gen_label1730 DS 0H
BALR 14,15
@@gen_label1731 DS 0H
LR 3,15
LGFR 15,2
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1263 ; rd_kafka_err2str
@@gen_label1732 DS 0H
BALR 14,15
@@gen_label1733 DS 0H
LA 1,528(0,4)
STG 1,176(0,13)
STG 4,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008000' ; 32768
STG 1,208(0,13)
LG 1,@lit_1083_1254
LA 5,3730(0,1)
STG 5,216(0,13)
LA 1,3914(0,1)
STG 1,224(0,13)
LGFR 1,3
STG 1,232(0,13)
STG 15,240(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1259 ; rd_kafka_log0
@@gen_label1734 DS 0H
BALR 14,15
@@gen_label1735 DS 0H
@L1596 DS 0H
* ***
* ***
* ***
* *** if (err == RD_KAFKA_RESP_ERR__TIMED_OUT)
CHI 2,-185
BNE @L1597
* *** error = rd_kafka_error_new_retriable(
* *** err,
* *** "Failed to flush all outstandi\
* ng messages "
* *** rd_kafka_outq_len(rk),
* ***
* ***
* ***
* ***
* ***
* *** ((rk->rk_conf.enabled_events &
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1256 ; rd_kafka_outq_len
@@gen_label1737 DS 0H
BALR 14,15
@@gen_label1738 DS 0H
* *** 0x1) &&
TM 755(4),1
BZ @L1598
* *** !rk->rk_conf.dr_msg_cb &&
LTG 1,2104(0,4) ; offset of dr_msg_cb in rd_kafka_conf_s
BNZ @L1598
* *** !rk->rk_conf.dr_cb) ?
LTG 1,2096(0,4) ; offset of dr_cb in rd_kafka_conf_s
BNZ @L1598
* *** ": the event queue must be pol\
* led "
* *** "for delivery report events in\
* a separate "
* *** "thread or prior to calling co\
* mmit" : "");
LG 1,@lit_1083_1254
LA 1,3960(0,1)
B @L1599
@L1598 DS 0H
LG 1,@lit_1083_1254
LA 1,964(0,1)
@L1599 DS 0H
LGFR 2,2
STG 2,176(0,13)
* *** "within the transaction timeou\
* t: "
* *** "%d message(s) remaining%s",
LG 2,@lit_1083_1254
LA 2,4068(0,2)
STG 2,184(0,13)
LGFR 15,15
STG 15,192(0,13)
STG 1,200(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1271 ; rd_kafka_error_new_retriable
@@gen_label1742 DS 0H
BALR 14,15
@@gen_label1743 DS 0H
LGR 2,15 ; error
B @L1600
* *** else
@L1597 DS 0H
* *** error = rd_kafka_error_new_retriable(
* *** err,
* *** "Failed to flush outstanding m\
* essages: %s",
* *** rd_kafka_err2str(err));
LGFR 15,2
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1263 ; rd_kafka_err2str
@@gen_label1744 DS 0H
BALR 14,15
@@gen_label1745 DS 0H
LGFR 1,2
STG 1,176(0,13)
LG 1,@lit_1083_1273
LA 1,72(0,1)
STG 1,184(0,13)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1271 ; rd_kafka_error_new_retriable
@@gen_label1746 DS 0H
BALR 14,15
@@gen_label1747 DS 0H
LGR 2,15 ; error
@L1600 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reset(rk, 0);
STG 4,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1083_1275 ; rd_kafka_txn_curr_api_reset
@@gen_label1748 DS 0H
BALR 14,15
@@gen_label1749 DS 0H
* ***
* ***
* ***
* *** return error;
LGR 15,2
B @ret_lab_1083
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","Transacti\
* on commit message flush complete"); } while (0);
@L1601 DS 0H
TM 802(4),128
BZ @L1604
LA 15,528(0,4)
STG 15,176(0,13)
STG 4,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 15,X'00008000' ; 32768
STG 15,208(0,13)
LG 15,@lit_1083_1254
LA 15,3730(0,15)
STG 15,216(0,13)
LG 15,@lit_1083_1273
LA 15,114(0,15)
STG 15,224(0,13)
LA 1,176(0,13)
LG 15,@lit_1083_1259 ; rd_kafka_log0
@@gen_label1751 DS 0H
BALR 14,15
@@gen_label1752 DS 0H
@L1604 DS 0H
* ***
* ***
* ***
* *** error = rd_kafka_txn_curr_api_req(
* *** rk, "commit_transaction",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_timeout_remains(abs_timeout),
* *** 0x8|
* *** rd_kafka_txn_op_commit_tran\
* saction),
STG 4,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1083_1280 ; rd_kafka_txn_op_commit_transaction
STG 15,192(0,13)
LA 1,176(0,13)
LG 5,@lit_1083_1252 ; rd_kafka_op_new_cb
LGR 15,5
@@gen_label1753 DS 0H
BALR 14,15
@@gen_label1754 DS 0H
LGR 2,15
STG 3,176(0,13)
LA 1,176(0,13)
LG 6,@lit_1083_1253 ; rd_timeout_remains
LGR 15,6
@@gen_label1755 DS 0H
BALR 14,15
@@gen_label1756 DS 0H
STG 4,176(0,13)
LG 7,@lit_1083_1273
LA 1,156(0,7)
STMG 1,2,184(13)
LGFR 15,15
STG 15,200(0,13)
* *** 0x4|
* *** 0x1);
MVGHI 208(13),13
LA 1,176(0,13)
LG 8,@lit_1083_1255 ; rd_kafka_txn_curr_api_req
LGR 15,8
@@gen_label1757 DS 0H
BALR 14,15
@@gen_label1758 DS 0H
LTGR 2,15 ; error
* *** if (error)
BZ @L1605
* *** return error;
LGR 15,2
B @ret_lab_1083
@L1605 DS 0H
* ***
* ***
* *** return rd_kafka_txn_curr_api_req(
* *** rk, "commit_transaction (ack)",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_timeout_remains(abs_timeout),
* *** 0x8|
* *** rd_kafka_txn_op_commit_tran\
* saction_ack),
STG 4,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1083_1285 ; rd_kafka_txn_op_commit_transaction_a*
ck
STG 15,192(0,13)
LA 1,176(0,13)
LGR 15,5
@@gen_label1760 DS 0H
BALR 14,15
@@gen_label1761 DS 0H
LGR 2,15
STG 3,176(0,13)
LA 1,176(0,13)
LGR 15,6
@@gen_label1762 DS 0H
BALR 14,15
@@gen_label1763 DS 0H
STG 4,176(0,13)
LA 1,176(0,7)
STMG 1,2,184(13)
LGFR 15,15
STG 15,200(0,13)
* *** 0x1);
MVGHI 208(13),9
LA 1,176(0,13)
LGR 15,8
@@gen_label1764 DS 0H
BALR 14,15
@@gen_label1765 DS 0H
* *** }
@ret_lab_1083 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_commit_transaction"
* (FUNCTION #1083)
*
@AUTO#rd_kafka_commit_transaction DSECT
DS XL168
rd_kafka_commit_transaction#abs_timeout#0 DS 8XL1 ; abs_timeout
ORG @AUTO#rd_kafka_commit_transaction+168
rd_kafka_commit_transaction#err#0 DS 1F ; err
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_begin_abort
@LNAME2029 DS 0H
DC X'0000001B'
DC C'rd_kafka_txn_op_begin_abort'
DC X'00'
rd_kafka_txn_op_begin_abort DCCPRLG CINDEX=2029,BASER=12,FRAME=208,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2029
* ******* End of Prologue
* *
LG 2,0(0,1) ; rk
* *** rd_kafka_error_t *error;
* *** rd_bool_t clear_pending = 0;
MVI 188(13),0 ; clear_pending
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 4,16(0,1) ; rko
CHSI 32(4),-197
BNE @L1606
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2029
DS 0D
@FRAMESIZE_2029 DC F'208'
@lit_2029_1291 DC AD(rwlock_wrlock)
@lit_2029_1292 DC AD(rd_kafka_txn_require_states0)
@lit_2029_1293 DC AD(rd_kafka_txn_set_state)
@lit_2029_1294 DC AD(rwlock_wrunlock)
@lit_2029_1295 DC AD(mtx_lock)
@lit_2029_1296 DC AD(rd_kafka_txn_clear_pending_partitions)
@lit_2029_1297 DC AD(mtx_unlock)
@lit_2029_1298 DC AD(rd_kafka_q_keep)
@lit_2029_1299 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1606 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1291 ; rwlock_wrlock
@@gen_label1767 DS 0H
BALR 14,15
@@gen_label1768 DS 0H
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_IN_TRANSACTION, RD_KAFKA_TXN_ST\
* ATE_ABORTING_TRANSACTION, RD_KAFKA_TXN_STATE_ABORTABLE_ERROR, RD_KAF\
* KA_TXN_STATE_ABORT_NOT_ACKED, -1 })))
MVHI 168(13),4
MVHI 172(13),8
MVHI 176(13),10
MVHI 180(13),9
MVHI 184(13),-1
STG 2,192(0,13)
LA 15,168(0,13)
STG 15,200(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1292 ; rd_kafka_txn_require_states0
@@gen_label1769 DS 0H
BALR 14,15
@@gen_label1770 DS 0H
LGR 3,15
LTGR 15,3
BNZ @_done@2029@14
* *** # 2617 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** goto done;
@L1607 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_ABORT_N\
* OT_ACKED)
CHSI 3384(2),9
BE @_done@2029@14
* *** goto done;
@L1608 DS 0H
* ***
* *** rd_kafka_txn_set_state(
* *** rk, RD_KAFKA_TXN_STATE_ABORTING_TRANSACTION);
STG 2,192(0,13)
MVGHI 200(13),8
LA 1,192(0,13)
LG 15,@lit_2029_1293 ; rd_kafka_txn_set_state
@@gen_label1773 DS 0H
BALR 14,15
@@gen_label1774 DS 0H
* *** clear_pending = 1;
MVI 188(13),1 ; clear_pending
* ***
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2029@14 DS 0H
LA 15,2464(0,2)
STG 15,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1294 ; rwlock_wrunlock
@@gen_label1775 DS 0H
BALR 14,15
@@gen_label1776 DS 0H
* ***
* *** if (clear_pending) {
CLI 188(13),0
BE @L1609
* *** mtx_lock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1295 ; mtx_lock
@@gen_label1778 DS 0H
BALR 14,15
@@gen_label1779 DS 0H
* *** rd_kafka_txn_clear_pending_partitions(rk);
STG 2,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1296 ; rd_kafka_txn_clear_pending_partition*
s
@@gen_label1780 DS 0H
BALR 14,15
@@gen_label1781 DS 0H
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1297 ; mtx_unlock
@@gen_label1782 DS 0H
BALR 14,15
@@gen_label1783 DS 0H
* *** }
@L1609 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,64(0,4)
STG 15,192(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1298 ; rd_kafka_q_keep
@@gen_label1784 DS 0H
BALR 14,15
@@gen_label1785 DS 0H
STG 15,192(0,13)
STG 3,200(0,13)
LA 1,192(0,13)
LG 15,@lit_2029_1299 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1786 DS 0H
BALR 14,15
@@gen_label1787 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2029 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_begin_abort"
* (FUNCTION #2029)
*
@AUTO#rd_kafka_txn_op_begin_abort DSECT
DS XL168
rd_kafka_txn_op_begin_abort#__cl8#0 DS 20XL1 ; __cl8
rd_kafka_txn_op_begin_abort#clear_pending#0 DS 1CL1 ; clear_pending
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_abort_transaction
@LNAME2030 DS 0H
DC X'00000021'
DC C'rd_kafka_txn_op_abort_transactio'
DC C'n'
DC X'00'
rd_kafka_txn_op_abort_transaction DCCPRLG CINDEX=2030,BASER=12,FRAME=81*
6,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2030
* ******* End of Prologue
* *
LG 3,0(0,1) ; rk
LG 4,16(0,1) ; rko
* *** rd_kafka_error_t *error;
* *** rd_kafka_resp_err_t err;
* *** char errstr[512];
* *** rd_kafka_pid_t pid;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
CHSI 32(4),-197
BNE @L1610
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2030
DS 0D
@FRAMESIZE_2030 DC F'816'
@lit_2030_1303 DC AD(rwlock_wrlock)
@lit_2030_1304 DC AD(rd_kafka_txn_require_states0)
@lit_2030_1307 DC AD(rd_kafka_log0)
@lit_2030_1306 DC AD(@strings@+4096)
@lit_2030_1308 DC AD(rd_kafka_txn_set_state)
@lit_2030_1309 DC AD(rd_kafka_idemp_state2str)
@lit_2030_1313 DC AD(rd_kafka_q_destroy0)
@lit_2030_1314 DC AD(rd_kafka_q_keep)
@lit_2030_1315 DC AD(rwlock_wrunlock)
@lit_2030_1319 DC AD(@strings@)
@lit_2030_1322 DC AD(rd_kafka_idemp_get_pid0)
@lit_2030_1325 DC AD(rd_kafka_error_new_retriable)
@lit_2030_1327 DC AD(rd_kafka_replyq_make)
@lit_2030_1326 DC AD(@DATA)
@lit_2030_1330 DC AD(rd_kafka_$End$Txn$Request)
@lit_2030_1329 DC AD(rd_kafka_txn_handle_$End$Txn)
@lit_2030_1337 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1610 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1303 ; rwlock_wrlock
@@gen_label1789 DS 0H
BALR 14,15
@@gen_label1790 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_ABORTING_TRANSACTION, RD_KAFKA_\
* TXN_STATE_ABORT_NOT_ACKED, -1 })))
MVHI 168(13),8
MVHI 172(13),9
MVHI 176(13),-1
STG 3,728(0,13)
LA 15,168(0,13)
STG 15,736(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1304 ; rd_kafka_txn_require_states0
@@gen_label1791 DS 0H
BALR 14,15
@@gen_label1792 DS 0H
LTGR 2,15 ; error
BNZ @_done@2030@15
* ***
* ***
* ***
* *** goto done;
@L1611 DS 0H
* ***
* *** if (rk->rk_eos.txn_state == RD_KAFKA_TXN_STATE_ABORT_N\
* OT_ACKED) {
CHSI 3384(3),9
BNE @L1612
* ***
* ***
* ***
* ***
* *** goto done;
B @_done@2030@15
* *** }
@L1612 DS 0H
* ***
* *** if (rk->rk_eos.txn_requires_epoch_bump ||
CLI 3456(3),0
BNE @L1614
* *** rk->rk_eos.idemp_state != RD_KAFKA_IDEMP_STATE_ASS\
* IGNED) {
CHSI 3184(3),6
BE @L1613
@L1614 DS 0H
* ***
* ***
* *** # 2693 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** if (rk->rk_eos.idemp_state == RD_KAFKA_IDEMP_S\
* TATE_ASSIGNED) {
CHSI 3184(3),6
BNE @L1620
* *** do { if ((((rk)->rk_conf.debug & (0x80\
* 00)))) rd_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNAB\
* ORT","PID already bumped"); } while (0);
@L1616 DS 0H
TM 802(3),128
BZ @L1619
LA 15,528(0,3)
STG 15,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
MVGHI 752(13),7
LLILF 15,X'00008000' ; 32768
STG 15,760(0,13)
LG 15,@lit_2030_1306
LA 1,202(0,15)
STG 1,768(0,13)
LA 15,212(0,15)
STG 15,776(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1307 ; rd_kafka_log0
@@gen_label1799 DS 0H
BALR 14,15
@@gen_label1800 DS 0H
@L1619 DS 0H
* ***
* *** rd_kafka_txn_set_state(
* *** rk, RD_KAFKA_TXN_STATE_ABORT_N\
* OT_ACKED);
STG 3,728(0,13)
MVGHI 736(13),9
LA 1,728(0,13)
LG 15,@lit_2030_1308 ; rd_kafka_txn_set_state
@@gen_label1801 DS 0H
BALR 14,15
@@gen_label1802 DS 0H
* *** goto done;
B @_done@2030@15
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNABORT","Wa\
* iting for transaction coordinator " "PID bump to complete before abo\
* rting " "transaction (idempotent producer state %s)", rd_kafka_idemp\
* _state2str(rk->rk_eos.idemp_state)); } while (0);
@L1620 DS 0H
TM 802(3),128
BZ @L1623
LGF 15,3184(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1309 ; rd_kafka_idemp_state2str
@@gen_label1804 DS 0H
BALR 14,15
@@gen_label1805 DS 0H
LA 1,528(0,3)
STG 1,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
MVGHI 752(13),7
LLILF 1,X'00008000' ; 32768
STG 1,760(0,13)
LG 1,@lit_2030_1306
LA 2,202(0,1)
STG 2,768(0,13)
LA 1,232(0,1)
STG 1,776(0,13)
STG 15,784(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1307 ; rd_kafka_log0
@@gen_label1806 DS 0H
BALR 14,15
@@gen_label1807 DS 0H
@L1623 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* ***
* *** do { if ((rk->rk_eos.txn_init_rkq)) rd_kafka_q\
* _destroy0(rk->rk_eos.txn_init_rkq, 0 ); } while (0);
@L1624 DS 0H
LTG 15,3592(0,3) ; offset of txn_init_rkq in 0000146
BZ @L1627
LG 15,3592(0,3)
STG 15,728(0,13)
XC 736(8,13),736(13)
LA 1,728(0,13)
LG 15,@lit_2030_1313 ; rd_kafka_q_destroy0
@@gen_label1809 DS 0H
BALR 14,15
@@gen_label1810 DS 0H
@L1627 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** rk->rk_eos.txn_init_rkq = rd_kafka_q_keep(rko-\
* >rko_replyq.q);
LG 15,64(0,4)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1314 ; rd_kafka_q_keep
@@gen_label1811 DS 0H
BALR 14,15
@@gen_label1812 DS 0H
STG 15,3592(0,3)
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1315 ; rwlock_wrunlock
@@gen_label1813 DS 0H
BALR 14,15
@@gen_label1814 DS 0H
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2030
* *** }
@L1613 DS 0H
* ***
* *** if (!rk->rk_eos.txn_req_cnt) {
LT 15,3600(0,3) ; offset of txn_req_cnt in 0000146
BNZ @L1628
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNABORT","No\
* partitions registered: not sending EndTxn"); } while (0);
@L1629 DS 0H
TM 802(3),128
BZ @L1632
LA 15,528(0,3)
STG 15,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
MVGHI 752(13),7
LLILF 15,X'00008000' ; 32768
STG 15,760(0,13)
LG 15,@lit_2030_1306
LA 15,202(0,15)
STG 15,768(0,13)
LG 15,@lit_2030_1319
LA 15,3740(0,15)
STG 15,776(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1307 ; rd_kafka_log0
@@gen_label1817 DS 0H
BALR 14,15
@@gen_label1818 DS 0H
@L1632 DS 0H
* ***
* *** rd_kafka_txn_set_state(rk, RD_KAFKA_TXN_STATE_\
* ABORT_NOT_ACKED);
STG 3,728(0,13)
MVGHI 736(13),9
LA 1,728(0,13)
LG 15,@lit_2030_1308 ; rd_kafka_txn_set_state
@@gen_label1819 DS 0H
BALR 14,15
@@gen_label1820 DS 0H
* *** goto done;
B @_done@2030@15
* *** }
@L1628 DS 0H
* ***
* *** pid = rd_kafka_idemp_get_pid0(rk, 0);
LA 15,712(0,13)
STG 15,728(0,13)
STG 3,736(0,13)
XC 744(8,13),744(13)
LA 1,728(0,13)
LG 15,@lit_2030_1322 ; rd_kafka_idemp_get_pid0
@@gen_label1821 DS 0H
BALR 14,15
@@gen_label1822 DS 0H
MVC 184(16,13),712(13)
* *** if (!((pid).id != -1)) {
CGHSI 184(13),-1
BNE @L1633
* *** do {} while (0);
@L1634 DS 0H
* *** error = rd_kafka_error_new_retriable(
* *** RD_KAFKA_RESP_ERR__STATE,
* *** "No PID available (idempotence state %\
* s)",
* *** rd_kafka_idemp_state2str(rk->rk_eos.id\
* emp_state));
LGF 15,3184(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1309 ; rd_kafka_idemp_state2str
@@gen_label1824 DS 0H
BALR 14,15
@@gen_label1825 DS 0H
MVGHI 728(13),-172
LG 1,@lit_2030_1319
LA 1,3098(0,1)
STG 1,736(0,13)
STG 15,744(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1325 ; rd_kafka_error_new_retriable
@@gen_label1826 DS 0H
BALR 14,15
@@gen_label1827 DS 0H
LGR 2,15 ; error
* *** goto done;
B @_done@2030@15
* *** }
@L1633 DS 0H
* ***
* *** err = rd_kafka_EndTxnRequest(rk->rk_eos.txn_coord,
* *** rk->rk_conf.eos.transacti\
* onal_id,
* *** pid,
* *** 0 ,
* *** errstr, sizeof(errstr),
* *** rd_kafka_replyq_make(rk->\
* rk_ops,0,__FUNCTION__),
* *** rd_kafka_txn_handle_EndTx\
* n,
* *** rd_kafka_q_keep(rko->rko_\
* replyq.q));
LA 15,712(0,13)
STG 15,728(0,13)
LG 15,8(0,3)
STG 15,736(0,13)
XC 744(8,13),744(13)
LG 15,@lit_2030_1326
LA 15,928(0,15)
STG 15,752(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1327 ; rd_kafka_replyq_make
@@gen_label1828 DS 0H
BALR 14,15
@@gen_label1829 DS 0H
LG 15,64(0,4)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1314 ; rd_kafka_q_keep
@@gen_label1830 DS 0H
BALR 14,15
@@gen_label1831 DS 0H
LG 1,3400(0,3)
STG 1,728(0,13)
LG 1,2024(0,3)
STG 1,736(0,13)
MVC 744(16,13),184(13)
XC 760(8,13),760(13)
LA 1,200(0,13)
STG 1,768(0,13)
MVGHI 776(13),512
MVC 784(16,13),712(13)
LG 1,@lit_2030_1329 ; rd_kafka_txn_handle_EndTxn
STG 1,800(0,13)
STG 15,808(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1330 ; rd_kafka_EndTxnRequest
@@gen_label1832 DS 0H
BALR 14,15
@@gen_label1833 DS 0H
* *** if (err) {
LTR 15,15
BZ @L1637
* *** error = rd_kafka_error_new_retriable(err, "%s"\
* , errstr);
LGFR 15,15
STG 15,728(0,13)
LG 15,@lit_2030_1319
LA 15,290(0,15)
STG 15,736(0,13)
LA 15,200(0,13)
STG 15,744(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1325 ; rd_kafka_error_new_retriable
@@gen_label1835 DS 0H
BALR 14,15
@@gen_label1836 DS 0H
LGR 2,15 ; error
* *** goto done;
B @_done@2030@15
* *** }
@L1637 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1315 ; rwlock_wrunlock
@@gen_label1837 DS 0H
BALR 14,15
@@gen_label1838 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2030
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2030@15 DS 0H
LA 15,2464(0,3)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1315 ; rwlock_wrunlock
@@gen_label1839 DS 0H
BALR 14,15
@@gen_label1840 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,64(0,4)
STG 15,728(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1314 ; rd_kafka_q_keep
@@gen_label1841 DS 0H
BALR 14,15
@@gen_label1842 DS 0H
STG 15,728(0,13)
STG 2,736(0,13)
LA 1,728(0,13)
LG 15,@lit_2030_1337 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1843 DS 0H
BALR 14,15
@@gen_label1844 DS 0H
* ***
* ***
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2030 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_abort_transactio
* n"
* (FUNCTION #2030)
*
@AUTO#rd_kafka_txn_op_abort_transaction DSECT
DS XL168
rd_kafka_txn_op_abort_transaction#__cl9#0 DS 12XL1 ; __cl9
ORG @AUTO#rd_kafka_txn_op_abort_transaction+168
rd_kafka_txn_op_abort_transaction#err#0 DS 1F ; err
rd_kafka_txn_op_abort_transaction#pid#0 DS 16XL1 ; pid
rd_kafka_txn_op_abort_transaction#errstr#0 DS 512XL1 ; errstr
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_op_abort_transaction_ack
@LNAME2031 DS 0H
DC X'00000025'
DC C'rd_kafka_txn_op_abort_transactio'
DC C'n_ack'
DC X'00'
rd_kafka_txn_op_abort_transaction_ack DCCPRLG CINDEX=2031,BASER=12,FRAM*
E=232,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2031
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
LG 2,0(0,4) ; rk
* *** rd_kafka_error_t *error;
* ***
* *** if (rko->rko_err == RD_KAFKA_RESP_ERR__DESTROY)
LG 15,16(0,4) ; rko
CHSI 32(15),-197
BNE @L1638
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
B @ret_lab_2031
DS 0D
@FRAMESIZE_2031 DC F'232'
@lit_2031_1341 DC AD(rwlock_wrlock)
@lit_2031_1342 DC AD(rd_kafka_txn_require_states0)
@lit_2031_1345 DC AD(rd_kafka_log0)
@lit_2031_1344 DC AD(@strings@+4096)
@lit_2031_1346 DC AD(rd_kafka_txn_complete)
@lit_2031_1347 DC AD(rwlock_wrunlock)
@lit_2031_1348 DC AD(rd_kafka_q_keep)
@lit_2031_1349 DC AD(rd_kafka_txn_curr_api_reply_error)
@L1638 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1341 ; rwlock_wrlock
@@gen_label1846 DS 0H
BALR 14,15
@@gen_label1847 DS 0H
* ***
* *** if ((error = rd_kafka_txn_require_states0(rk, (rd_kafk\
* a_txn_state_t[]){ RD_KAFKA_TXN_STATE_ABORT_NOT_ACKED, -1 })))
MVHI 168(13),9
MVHI 172(13),-1
STG 2,176(0,13)
LA 15,168(0,13)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1342 ; rd_kafka_txn_require_states0
@@gen_label1848 DS 0H
BALR 14,15
@@gen_label1849 DS 0H
LGR 3,15
LTGR 15,3
BZ @L1640
* ***
* ***
* *** goto done;
B @_done@2031@16
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNABORT","Aborted tr\
* ansaction now acked by application"); } while (0);
@L1640 DS 0H
TM 802(2),128
BZ @L1643
LA 15,528(0,2)
STG 15,176(0,13)
STG 2,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 15,X'00008000' ; 32768
STG 15,208(0,13)
LG 15,@lit_2031_1344
LA 1,202(0,15)
STG 1,216(0,13)
LA 15,348(0,15)
STG 15,224(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1345 ; rd_kafka_log0
@@gen_label1852 DS 0H
BALR 14,15
@@gen_label1853 DS 0H
@L1643 DS 0H
* ***
* *** rd_kafka_txn_complete(rk, 0);
STG 2,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_2031_1346 ; rd_kafka_txn_complete
@@gen_label1854 DS 0H
BALR 14,15
@@gen_label1855 DS 0H
* ***
* ***
* *** done:
* *** rwlock_wrunlock(&(rk)->rk_lock);
@_done@2031@16 DS 0H
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1347 ; rwlock_wrunlock
@@gen_label1856 DS 0H
BALR 14,15
@@gen_label1857 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reply_error(rd_kafka_q_keep(rko-\
* >rko_replyq.q),
* *** error);
LG 15,16(0,4) ; rko
LG 15,64(0,15)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1348 ; rd_kafka_q_keep
@@gen_label1858 DS 0H
BALR 14,15
@@gen_label1859 DS 0H
STG 15,176(0,13)
STG 3,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2031_1349 ; rd_kafka_txn_curr_api_reply_error
@@gen_label1860 DS 0H
BALR 14,15
@@gen_label1861 DS 0H
* ***
* *** return RD_KAFKA_OP_RES_HANDLED;
LGHI 15,1 ; 1
* *** }
@ret_lab_2031 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_op_abort_transactio
* n_ack"
* (FUNCTION #2031)
*
@AUTO#rd_kafka_txn_op_abort_transaction_ack DSECT
DS XL168
rd_kafka_txn_op_abort_transaction_ack#__cl10#0 DS 8XL1 ; __cl10
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_abort_transaction
rd_kafka_abort_transaction ALIAS X'99846D92818692816D81829699A36DA39981*
95A28183A3899695'
@LNAME1084 DS 0H
DC X'0000001A'
DC C'rd_kafka_abort_transaction'
DC X'00'
rd_kafka_abort_transaction DCCPRLG CINDEX=1084,BASER=12,FRAME=240,ENTRY*
=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1084
* ******* End of Prologue
* *
LG 3,0(0,1) ; rk
* *** rd_kafka_error_t *error;
* *** rd_kafka_resp_err_t err;
* *** rd_ts_t abs_timeout = rd_timeout_init(timeout_ms);
LGF 15,12(0,1) ; timeout_ms
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1352 ; rd_timeout_init
@@gen_label1862 DS 0H
BALR 14,15
@@gen_label1863 DS 0H
LGR 4,15
* ***
* *** if ((error = rd_kafka_ensure_transactional(rk)))
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1353 ; rd_kafka_ensure_transactional
@@gen_label1864 DS 0H
BALR 14,15
@@gen_label1865 DS 0H
LTGR 2,15 ; error
BZ @L1644
* *** return error;
LGR 15,2
B @ret_lab_1084
DS 0D
@FRAMESIZE_1084 DC F'240'
@lit_1084_1352 DC AD(rd_timeout_init)
@lit_1084_1353 DC AD(rd_kafka_ensure_transactional)
@lit_1084_1355 DC AD(rd_kafka_op_new_cb)
@lit_1084_1354 DC AD(rd_kafka_txn_op_begin_abort)
@lit_1084_1357 DC AD(rd_kafka_txn_curr_api_req)
@lit_1084_1356 DC AD(@strings@+4096)
@lit_1084_1358 DC AD(rd_kafka_outq_len)
@lit_1084_1361 DC AD(rd_kafka_log0)
@lit_1084_1362 DC AD(rd_kafka_purge)
@lit_1084_1363 DC AD(rd_timeout_remains)
@lit_1084_1364 DC AD(rd_kafka_flush)
@lit_1084_1367 DC AD(@strings@)
@lit_1084_1369 DC AD(rd_kafka_error_new_retriable)
@lit_1084_1370 DC AD(rd_kafka_err2str)
@lit_1084_1373 DC AD(rd_kafka_txn_curr_api_reset)
@lit_1084_1378 DC AD(rd_kafka_txn_op_abort_transaction)
@lit_1084_1383 DC AD(rd_kafka_txn_op_abort_transaction_ack)
@L1644 DS 0H
* ***
* ***
* ***
* *** # 2825 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** error = rd_kafka_txn_curr_api_req(
* *** rk, "abort_transaction (begin)",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** -1,
* *** 0x4|
* *** rd_kafka_txn_op_begin_abort\
* ),
STG 3,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1084_1354 ; rd_kafka_txn_op_begin_abort
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1355 ; rd_kafka_op_new_cb
@@gen_label1867 DS 0H
BALR 14,15
@@gen_label1868 DS 0H
STG 3,176(0,13)
LG 1,@lit_1084_1356
LA 1,394(0,1)
STG 1,184(0,13)
STG 15,192(0,13)
MVGHI 200(13),-1
* *** 0x2);
MVGHI 208(13),6
LA 1,176(0,13)
LG 15,@lit_1084_1357 ; rd_kafka_txn_curr_api_req
@@gen_label1869 DS 0H
BALR 14,15
@@gen_label1870 DS 0H
LTGR 2,15 ; error
* *** if (error)
BZ @L1646
* *** return error;
LGR 15,2
B @ret_lab_1084
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNABORT","Purging an\
* d flushing %d outstanding message(s) prior " "to abort", rd_kafka_ou\
* tq_len(rk)); } while (0);
@L1646 DS 0H
TM 802(3),128
BZ @L1649
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1358 ; rd_kafka_outq_len
@@gen_label1873 DS 0H
BALR 14,15
@@gen_label1874 DS 0H
LA 1,528(0,3)
STG 1,176(0,13)
STG 3,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 1,X'00008000' ; 32768
STG 1,208(0,13)
LG 1,@lit_1084_1356
LA 2,202(0,1)
STG 2,216(0,13)
LA 1,420(0,1)
STG 1,224(0,13)
LGFR 15,15
STG 15,232(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1361 ; rd_kafka_log0
@@gen_label1875 DS 0H
BALR 14,15
@@gen_label1876 DS 0H
@L1649 DS 0H
* ***
* ***
* ***
* ***
* ***
* ***
* ***
* *** err = rd_kafka_purge(rk,
* *** 0x1|
STG 3,176(0,13)
* *** 0x100);
MVGHI 184(13),257
LA 1,176(0,13)
LG 15,@lit_1084_1362 ; rd_kafka_purge
@@gen_label1877 DS 0H
BALR 14,15
@@gen_label1878 DS 0H
* ***
* ***
* *** if ((err = rd_kafka_flush(rk, rd_timeout_remains(abs_t\
* imeout)))) {
STG 4,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1363 ; rd_timeout_remains
@@gen_label1879 DS 0H
BALR 14,15
@@gen_label1880 DS 0H
STG 3,176(0,13)
LGFR 15,15
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1364 ; rd_kafka_flush
@@gen_label1881 DS 0H
BALR 14,15
@@gen_label1882 DS 0H
LTR 2,15
BZ @L1655
* ***
* *** if (err == RD_KAFKA_RESP_ERR__TIMED_OUT)
CHI 2,-185
BNE @L1651
* *** error = rd_kafka_error_new_retriable(
* *** err,
* *** "Failed to flush all outstandi\
* ng messages "
* *** rd_kafka_outq_len(rk),
* *** (rk->rk_conf.enabled_events &
STG 3,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1358 ; rd_kafka_outq_len
@@gen_label1885 DS 0H
BALR 14,15
@@gen_label1886 DS 0H
* *** 0x1) ?
TM 755(3),1
BZ @L1652
* *** ": the event queue must be pol\
* led "
* *** "for delivery report events in\
* a separate "
* *** "thread or prior to calling ab\
* ort" : "");
LG 1,@lit_1084_1356
LA 1,482(0,1)
B @L1653
@L1652 DS 0H
LG 1,@lit_1084_1367
LA 1,964(0,1)
@L1653 DS 0H
LGFR 2,2
STG 2,176(0,13)
* *** "within the transaction timeou\
* t: "
* *** "%d message(s) remaining%s",
LG 2,@lit_1084_1367
LA 2,4068(0,2)
STG 2,184(0,13)
LGFR 15,15
STG 15,192(0,13)
STG 1,200(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1369 ; rd_kafka_error_new_retriable
@@gen_label1888 DS 0H
BALR 14,15
@@gen_label1889 DS 0H
LGR 2,15 ; error
B @L1654
* ***
* *** else
@L1651 DS 0H
* *** error = rd_kafka_error_new_retriable(
* *** err,
* *** "Failed to flush outstanding m\
* essages: %s",
* *** rd_kafka_err2str(err));
LGFR 15,2
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1370 ; rd_kafka_err2str
@@gen_label1890 DS 0H
BALR 14,15
@@gen_label1891 DS 0H
LGFR 1,2
STG 1,176(0,13)
LG 1,@lit_1084_1356
LA 1,72(0,1)
STG 1,184(0,13)
STG 15,192(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1369 ; rd_kafka_error_new_retriable
@@gen_label1892 DS 0H
BALR 14,15
@@gen_label1893 DS 0H
LGR 2,15 ; error
@L1654 DS 0H
* ***
* *** rd_kafka_txn_curr_api_reset(rk, 0);
STG 3,176(0,13)
XC 184(8,13),184(13)
LA 1,176(0,13)
LG 15,@lit_1084_1373 ; rd_kafka_txn_curr_api_reset
@@gen_label1894 DS 0H
BALR 14,15
@@gen_label1895 DS 0H
* ***
* ***
* ***
* *** return error;
LGR 15,2
B @ret_lab_1084
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOMMIT","Transacti\
* on abort message purge and flush complete"); } while (0);
@L1655 DS 0H
TM 802(3),128
BZ @L1658
LA 15,528(0,3)
STG 15,176(0,13)
STG 3,184(0,13)
XC 192(8,13),192(13)
MVGHI 200(13),7
LLILF 15,X'00008000' ; 32768
STG 15,208(0,13)
LG 15,@lit_1084_1367
LA 15,3730(0,15)
STG 15,216(0,13)
LG 15,@lit_1084_1356
LA 15,590(0,15)
STG 15,224(0,13)
LA 1,176(0,13)
LG 15,@lit_1084_1361 ; rd_kafka_log0
@@gen_label1897 DS 0H
BALR 14,15
@@gen_label1898 DS 0H
@L1658 DS 0H
* ***
* ***
* *** error = rd_kafka_txn_curr_api_req(
* *** rk, "abort_transaction",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_timeout_remains(abs_timeout),
* *** 0x4|
* *** rd_kafka_txn_op_abort_trans\
* action),
STG 3,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1084_1378 ; rd_kafka_txn_op_abort_transaction
STG 15,192(0,13)
LA 1,176(0,13)
LG 5,@lit_1084_1355 ; rd_kafka_op_new_cb
LGR 15,5
@@gen_label1899 DS 0H
BALR 14,15
@@gen_label1900 DS 0H
LGR 2,15
STG 4,176(0,13)
LA 1,176(0,13)
LG 6,@lit_1084_1363 ; rd_timeout_remains
LGR 15,6
@@gen_label1901 DS 0H
BALR 14,15
@@gen_label1902 DS 0H
STG 3,176(0,13)
LG 7,@lit_1084_1356
LA 1,642(0,7)
STMG 1,2,184(13)
LGFR 15,15
STG 15,200(0,13)
* *** 0x8|
* *** 0x2);
MVGHI 208(13),14
LA 1,176(0,13)
LG 8,@lit_1084_1357 ; rd_kafka_txn_curr_api_req
LGR 15,8
@@gen_label1903 DS 0H
BALR 14,15
@@gen_label1904 DS 0H
LTGR 2,15 ; error
* *** if (error)
BZ @L1659
* *** return error;
LGR 15,2
B @ret_lab_1084
@L1659 DS 0H
* ***
* ***
* *** return rd_kafka_txn_curr_api_req(
* *** rk, "abort_transaction (ack)",
* *** rd_kafka_op_new_cb(rk, RD_KAFKA_OP_TXN,
* *** rd_timeout_remains(abs_timeout),
* *** 0x8);
* *** rd_kafka_txn_op_abort_trans\
* action_ack),
STG 3,176(0,13)
MVGHI 184(13),47
LG 15,@lit_1084_1383 ; rd_kafka_txn_op_abort_transaction_ac*
k
STG 15,192(0,13)
LA 1,176(0,13)
LGR 15,5
@@gen_label1906 DS 0H
BALR 14,15
@@gen_label1907 DS 0H
LGR 2,15
STG 4,176(0,13)
LA 1,176(0,13)
LGR 15,6
@@gen_label1908 DS 0H
BALR 14,15
@@gen_label1909 DS 0H
STG 3,176(0,13)
LA 1,660(0,7)
STMG 1,2,184(13)
LGFR 15,15
STG 15,200(0,13)
MVGHI 208(13),8
LA 1,176(0,13)
LGR 15,8
@@gen_label1910 DS 0H
BALR 14,15
@@gen_label1911 DS 0H
* ***
* *** }
@ret_lab_1084 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_abort_transaction"
* (FUNCTION #1084)
*
@AUTO#rd_kafka_abort_transaction DSECT
DS XL168
rd_kafka_abort_transaction#abs_timeout#0 DS 8XL1 ; abs_timeout
ORG @AUTO#rd_kafka_abort_transaction+168
rd_kafka_abort_transaction#err#0 DS 1F ; err
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_coord_timer_cb
@LNAME2032 DS 0H
DC X'0000001B'
DC C'rd_kafka_txn_coord_timer_cb'
DC X'00'
rd_kafka_txn_coord_timer_cb DCCPRLG CINDEX=2032,BASER=12,FRAME=192,ENTR*
Y=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2032
* ******* End of Prologue
* *
* *** rd_kafka_t *rk = arg;
LG 2,8(0,1) ; arg
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2032_1388 ; rwlock_wrlock
@@gen_label1912 DS 0H
BALR 14,15
@@gen_label1913 DS 0H
* *** rd_kafka_txn_coord_query(rk, "Coordinator query timer"\
* );
STG 2,176(0,13)
LG 15,@lit_2032_1389
LA 15,684(0,15)
STG 15,184(0,13)
LA 1,176(0,13)
LG 15,@lit_2032_1390 ; rd_kafka_txn_coord_query
@@gen_label1914 DS 0H
BALR 14,15
@@gen_label1915 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,2)
STG 15,176(0,13)
LA 1,176(0,13)
LG 15,@lit_2032_1391 ; rwlock_wrunlock
@@gen_label1916 DS 0H
BALR 14,15
@@gen_label1917 DS 0H
* *** }
@ret_lab_2032 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_2032 DC F'192'
@lit_2032_1388 DC AD(rwlock_wrlock)
@lit_2032_1390 DC AD(rd_kafka_txn_coord_query)
@lit_2032_1389 DC AD(@strings@+4096)
@lit_2032_1391 DC AD(rwlock_wrunlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_coord_timer_cb"
* (FUNCTION #2032)
*
@AUTO#rd_kafka_txn_coord_timer_cb DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_coord_timer_restart
@LNAME1997 DS 0H
DC X'00000020'
DC C'rd_kafka_txn_coord_timer_restart'
DC X'00'
rd_kafka_txn_coord_timer_restart DCCPRLG CINDEX=1997,BASER=12,FRAME=224*
,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME1997
LGR 3,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** ((((rk)->rk_conf.eos.transactional_id != ((void *)0)))\
* ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdka\
* fka_txnmgr.c", 2924, "((rk)->rk_conf.eos.transactional_id != ((void \
* *)0))"));
LG 2,0(0,3) ; rk
LTG 15,2024(0,2) ; offset of transactional_id in 0000105
BNE @L1661
@L1660 DS 0H
LG 15,@lit_1997_1393
LA 15,962(0,15)
STG 15,168(0,13)
LG 15,@lit_1997_1394
LA 15,434(0,15)
STG 15,176(0,13)
MVGHI 184(13),2924
LG 15,@lit_1997_1395
LA 15,708(0,15)
STG 15,192(0,13)
LA 1,168(0,13)
LG 15,@lit_1997_1396 ; __assert
@@gen_label1919 DS 0H
BALR 14,15
@@gen_label1920 DS 0H
@L1661 DS 0H
* *** rd_kafka_timer_start0(&rk->rk_timers,&rk->rk_eos.txn_c\
* oord_tmr,1000 * timeout_ms,1,1,rd_kafka_txn_coord_timer_cb,rk);
LGHI 15,4112 ; 4112
LA 15,0(15,2)
STG 15,168(0,13)
LA 15,3824(0,2)
STG 15,176(0,13)
L 15,12(0,3) ; timeout_ms
MHI 15,1000
LGFR 15,15
STG 15,184(0,13)
MVGHI 192(13),1
MVGHI 200(13),1
LG 15,@lit_1997_1398 ; rd_kafka_txn_coord_timer_cb
STG 15,208(0,13)
STG 2,216(0,13)
LA 1,168(0,13)
LG 15,@lit_1997_1399 ; rd_kafka_timer_start0
@@gen_label1921 DS 0H
BALR 14,15
@@gen_label1922 DS 0H
* ***
* ***
* ***
* *** }
@ret_lab_1997 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1997 DC F'224'
@lit_1997_1396 DC AD(__assert)
@lit_1997_1395 DC AD(@strings@+4096)
@lit_1997_1394 DC AD(@strings@)
@lit_1997_1393 DC AD(@DATA)
@lit_1997_1399 DC AD(rd_kafka_timer_start0)
@lit_1997_1398 DC AD(rd_kafka_txn_coord_timer_cb)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_coord_timer_restart"
* (FUNCTION #1997)
*
@AUTO#rd_kafka_txn_coord_timer_restart DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_handle_FindCoordinator
@LNAME2033 DS 0H
DC X'00000023'
DC C'rd_kafka_txn_handle_FindCoordina'
DC C'tor'
DC X'00'
rd_kafka_txn_handle_$Find$Coordinator DCCPRLG CINDEX=2033,BASER=12,FRAM*
E=1440,ENTRY=NO,ARCH=ZARCH,LNAMEADDR=@LNAME2033
LGR 4,1 ; ptr to parm area
* ******* End of Prologue
* *
* *** const int log_decode_errors = 3;
LG 5,0(0,4) ; rk
LG 2,8(0,4) ; rkb
L 3,20(0,4) ; err
LG 6,24(0,4) ; rkbuf
LHI 7,3 ; 3
* *** int16_t ErrorCode;
* *** rd_kafkap_str_t Host;
* *** int32_t NodeId, Port;
* *** char errstr[512];
* ***
* *** *errstr = '\0';
MVI 232(13),0
* ***
* *** rk->rk_eos.txn_wait_coord = 0;
MVI 3820(5),0 ; offset of txn_wait_coord in 0000146
* ***
* *** if (err)
LTR 3,3
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2033_1_4
DROP 12
USING @REGION_2033_4,12
B @L1941
DROP 12
USING @REGION_2033_1,12
* *** goto err;
@L1662 DS 0H
* ***
* *** if (request->rkbuf_reqhdr.ApiVersion >= 1)
LG 15,32(0,4) ; request
LH 15,186(0,15)
CHI 15,1
BL @L1695
* *** do { int32_t _throttle_time_ms; do { int32_t _\
* v; do { size_t __len2 = (size_t)(sizeof(_v)); if (!rd_slice_read(&(r\
* kbuf)->rkbuf_reader, &_v, __len2)) do { size_t __len0 = (size_t)(__l\
* en2); if (((__len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_o\
* ffset(&(rkbuf)->rkbuf_reader))))) { do { if (log_decode_errors > 0) \
* { do { if (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\li\
* brdkafka\\src\\rdkafka_txnmgr.c",2959, __FUNCTION__, (((void *)0)), \
* "assert: " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snp\
* rintf(__tmpstr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2\
* ) __tmpstr[0] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkb\
* uf_rkb)->rkb_logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->r\
* kb_logname, sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_l\
* ogname_lock); rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (r\
* kbuf->rkbuf_rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUF\
* LOW", "Protocol read buffer underflow " "for %s v%hd " "at %" "zu" "\
* /%" "zu" " (%s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remai\
* ning bytes (%s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey)\
* , rkbuf->rkbuf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_read\
* er), ((&rkbuf->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), \
* __FUNCTION__, 2959, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_\
* abs_offset(&rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? r\
* kbuf->rkbuf_uflow_mitigation : "incorrect broker.version.fallback?",\
* __tmpstr); } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__U\
* NDERFLOW; goto err_parse; } while (0); } } while (0); } while (0); *\
* (&_throttle_time_ms) = (_v); } while (0); rd_kafka_op_throttle_time(\
* (rkbuf)->rkbuf_rkb, (rkbuf)->rkbuf_rkb->rkb_rk->rk_rep, _throttle_ti\
* me_ms); } while (0);
@L1664 DS 0H
@L1667 DS 0H
@L1670 DS 0H
LGHI 3,4 ; 4
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,172(0,13)
STG 15,1312(0,13)
STG 3,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1403 ; rd_slice_read
@@gen_label1925 DS 0H
BALR 14,15
@@gen_label1926 DS 0H
LTGR 15,15
BNZ @L1673
@L1674 DS 0H
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1404 ; rd_slice_abs_offset
@@gen_label1928 DS 0H
BALR 14,15
@@gen_label1929 DS 0H
SLGR 8,15
CLGR 3,8
BNH @L1677
@L1678 DS 0H
LTR 7,7
BNH @L1681
@L1682 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1685
LG 15,@lit_2033_1405
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2959
LG 1,@lit_2033_1406
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1407 ; rd_kafka_crash
@@gen_label1933 DS 0H
BALR 14,15
@@gen_label1934 DS 0H
@L1685 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1405
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1409 ; snprintf
@@gen_label1935 DS 0H
BALR 14,15
@@gen_label1936 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1937 DS 0H
SRST 0,15
BC 1,@@gen_label1937
SLGR 0,1
CGHI 0,2
BNE @L1687
MVI 770(13),0
@L1686 DS 0H
@L1687 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 4,5688 ; 5688
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1411 ; mtx_lock
@@gen_label1939 DS 0H
BALR 14,15
@@gen_label1940 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1413 ; rd_strlcpy
@@gen_label1941 DS 0H
BALR 14,15
@@gen_label1942 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1415 ; mtx_unlock
@@gen_label1943 DS 0H
BALR 14,15
@@gen_label1944 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1416 ; rd_kafka_ApiKey2str
@@gen_label1945 DS 0H
BALR 14,15
@@gen_label1946 DS 0H
LGR 4,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1417 ; rd_slice_offset
@@gen_label1947 DS 0H
BALR 14,15
@@gen_label1948 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1404 ; rd_slice_abs_offset
@@gen_label1949 DS 0H
BALR 14,15
@@gen_label1950 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1690
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1691
DS 0D
@FRAMESIZE_2033 DC F'1440'
@lit_region_diff_2033_1_4 DC A(@REGION_2033_4-@REGION_2033_1)
@lit_2033_1403 DC AD(rd_slice_read)
@lit_2033_1404 DC AD(rd_slice_abs_offset)
@lit_2033_1407 DC AD(rd_kafka_crash)
@lit_2033_1406 DC AD(@DATA)
@lit_2033_1405 DC AD(@strings@)
@lit_2033_1409 DC AD(snprintf)
@lit_2033_1411 DC AD(mtx_lock)
@lit_2033_1413 DC AD(rd_strlcpy)
@lit_2033_1415 DC AD(mtx_unlock)
@lit_2033_1416 DC AD(rd_kafka_$Api$Key2str)
@lit_2033_1417 DC AD(rd_slice_offset)
@lit_2033_1422 DC AD(rd_kafka_log0)
@lit_2033_1423 DC AD(rd_kafka_op_throttle_time)
@lit_region_diff_2033_1_2 DC A(@REGION_2033_2-@REGION_2033_1)
@lit_2033_1445 DC AD(rd_slice_read_uvarint)
@L1690 DS 0H
LG 15,@lit_2033_1405
LA 15,1440(0,15)
@L1691 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1405
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 4,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1406
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2959
STG 3,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1422 ; rd_kafka_log0
@@gen_label1952 DS 0H
BALR 14,15
@@gen_label1953 DS 0H
@L1681 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_1_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_1,12
@L1677 DS 0H
@L1673 DS 0H
L 15,172(0,13) ; _v
ST 15,168(0,13)
LG 15,256(0,6)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 15,4048(0,15) ; offset of rkb_rk in rd_kafka_broker_s
LG 15,0(0,15)
STG 15,1312(0,13)
LGF 15,168(0,13) ; _throttle_time_ms
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1423 ; rd_kafka_op_throttle_time
@@gen_label1954 DS 0H
BALR 14,15
@@gen_label1955 DS 0H
* ***
* *** do { int16_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2961, _\
* _FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while \
* (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": ");\
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname\
* [256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_\
* logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unloc\
* k(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkb\
* uf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_\
* decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " \
* "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" \
* " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(\
* rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_sli\
* ce_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rk\
* buf->rkbuf_reader)->start), __FUNCTION__, 2961, __len0, ((&rkbuf->rk\
* buf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf\
* ->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrec\
* t broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbu\
* f_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); }\
* } while (0); } while (0); *(&ErrorCode) = (int16_t)(_v); } while (0\
* );
@L1663 DS 0H
@L1692 DS 0H
@L1695 DS 0H
LGHI 3,2 ; 2
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,176(0,13)
STG 15,1312(0,13)
STG 3,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1403 ; rd_slice_read
@@gen_label1956 DS 0H
BALR 14,15
@@gen_label1957 DS 0H
LTGR 15,15
BNZ @L1698
@L1699 DS 0H
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1404 ; rd_slice_abs_offset
@@gen_label1959 DS 0H
BALR 14,15
@@gen_label1960 DS 0H
SLGR 8,15
CLGR 3,8
BNH @L1702
@L1703 DS 0H
LTR 7,7
BNH @L1706
@L1707 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1710
LG 15,@lit_2033_1405
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2961
LG 1,@lit_2033_1406
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1407 ; rd_kafka_crash
@@gen_label1964 DS 0H
BALR 14,15
@@gen_label1965 DS 0H
@L1710 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1405
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1409 ; snprintf
@@gen_label1966 DS 0H
BALR 14,15
@@gen_label1967 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1968 DS 0H
SRST 0,15
BC 1,@@gen_label1968
SLGR 0,1
CGHI 0,2
BNE @L1712
MVI 770(13),0
@L1711 DS 0H
@L1712 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 4,5688 ; 5688
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1411 ; mtx_lock
@@gen_label1970 DS 0H
BALR 14,15
@@gen_label1971 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1413 ; rd_strlcpy
@@gen_label1972 DS 0H
BALR 14,15
@@gen_label1973 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1415 ; mtx_unlock
@@gen_label1974 DS 0H
BALR 14,15
@@gen_label1975 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1416 ; rd_kafka_ApiKey2str
@@gen_label1976 DS 0H
BALR 14,15
@@gen_label1977 DS 0H
LGR 4,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1417 ; rd_slice_offset
@@gen_label1978 DS 0H
BALR 14,15
@@gen_label1979 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1404 ; rd_slice_abs_offset
@@gen_label1980 DS 0H
BALR 14,15
@@gen_label1981 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1715
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1716
@L1715 DS 0H
LG 15,@lit_2033_1405
LA 15,1440(0,15)
@L1716 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1405
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 4,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1406
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2961
STG 3,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1422 ; rd_kafka_log0
@@gen_label1983 DS 0H
BALR 14,15
@@gen_label1984 DS 0H
@L1706 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_1_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_1,12
@L1702 DS 0H
@L1698 DS 0H
MVC 768(2,13),176(13)
* ***
* *** if (request->rkbuf_reqhdr.ApiVersion >= 1) {
LG 15,32(0,4) ; request
LH 15,186(0,15)
CHI 15,1
BNL *+14 Around region break
ALGF 12,@lit_region_diff_2033_1_2
DROP 12
USING @REGION_2033_2,12
B @L1717
DROP 12
USING @REGION_2033_1,12
* *** rd_kafkap_str_t ErrorMsg;
* *** do { int _klen; if ((rkbuf)->rkbuf_flags & 0x4\
* 0) { uint64_t _uva; do { uint64_t _v; size_t _r = rd_slice_read_uvar\
* int(&(rkbuf)->rkbuf_reader, &_v); if ((((_r == 0)))) do { if (log_de\
* code_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash(\
* "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2965, __FUNCTION__\
* , (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while (0); char _\
* _tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": " "uvarint par\
* sing failed"); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do {\
* char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock)\
* ; rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_lognam\
* e)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log\
* 0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, \
* _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffe\
* r underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "exp\
* ected %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kaf\
* ka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiV\
* ersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reade\
* r)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 2965, (size_\
* t)0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbu\
* f_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitig\
* ation : "incorrect broker.version.fallback?", __tmpstr); } while (0)\
* ; } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_pars\
* e; } while (0); *(&_uva) = _v; } while (0); (&ErrorMsg)->len = ((int\
* 32_t)_uva) - 1; _klen = (&ErrorMsg)->len; } else { do { int16_t _v; \
* do { size_t __len2 = (size_t)(2); if (!rd_slice_read(&(rkbuf)->rkbuf\
* _reader, &_v, __len2)) do { size_t __len0 = (size_t)(__len2); if (((\
* __len0 > ((&(rkbuf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbu\
* f)->rkbuf_reader))))) { do { if (log_decode_errors > 0) { do { if ((\
* (!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\sr\
* c\\rdkafka_txnmgr.c",2965, __FUNCTION__, (((void *)0)), "assert: " "\
* rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[256]; snprintf(__tmps\
* tr, sizeof(__tmpstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0\
* ] = '\0'; do { char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb\
* _logname_lock); rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, \
* sizeof(_logname)); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock)\
* ; rd_kafka_log0(&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_\
* rkb)->rkb_rk, _logname, log_decode_errors, 0x0, "PROTOUFLOW", "Proto\
* col read buffer underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (\
* %s:%i): " "expected %" "zu" " bytes > " "%" "zu" " remaining bytes (\
* %s)%s", rd_kafka_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkb\
* uf_reqhdr.ApiVersion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbu\
* f->rkbuf_reader)->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__\
* , 2965, __len0, ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&\
* rkbuf->rkbuf_reader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_\
* uflow_mitigation : "incorrect broker.version.fallback?", __tmpstr); \
* } while (0); } (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; go\
* to err_parse; } while (0); } } while (0); } while (0); (&ErrorMsg)->\
* len = (int16_t)(_v); } while (0); _klen = (((&ErrorMsg)->len) == -1 \
* ? 0 : ((&ErrorMsg)->len)); } if (((&ErrorMsg)->len == -1)) (&ErrorMs\
* g)->str = ((void *)0); else if ((((&ErrorMsg)->len) == -1 ? 0 : ((&E\
* rrorMsg)->len)) == 0) (&ErrorMsg)->str = ""; else if (!((&ErrorMsg)-\
* >str = rd_slice_ensure_contig(&rkbuf->rkbuf_reader, _klen))) do { si\
* ze_t __len0 = (size_t)(_klen); if (((__len0 > ((&(rkbuf)->rkbuf_read\
* er)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do { if\
* (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_kafk\
* a_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2965, __FU\
* NCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while (0)\
* ; char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": "); if\
* (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname[25\
* 6]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_log\
* name, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unlock(&\
* (rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkbuf_\
* rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_dec\
* ode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " "fo\
* r %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" " b\
* ytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(rkb\
* uf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_slice_\
* offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rkbuf\
* ->rkbuf_reader)->start), __FUNCTION__, 2965, __len0, ((&rkbuf->rkbuf\
* _reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf->r\
* kbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrect b\
* roker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbuf_e\
* rr = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); } } \
* while (0); if((&ErrorMsg)->len > 0) { char *tbuf = calloc(1,(&ErrorM\
* sg)->len); __memcpy(tbuf,(&ErrorMsg)->str,(&ErrorMsg)->len); size_t \
* ulen=(size_t)(&ErrorMsg)->len; size_t alen=ulen; utf8_2_ebcdic((&Err\
* orMsg)->str, &alen, tbuf, &ulen); free(tbuf); } } while (0);
@L1718 DS 0H
TM 35(6),64
BNZ *+14 Around region break
ALGF 12,@lit_region_diff_2033_1_2
DROP 12
USING @REGION_2033_2,12
B @L1744
DROP 12
USING @REGION_2033_1,12
@L1722 DS 0H
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,192(0,13)
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1445 ; rd_slice_read_uvarint
@@gen_label1987 DS 0H
BALR 14,15
@@gen_label1988 DS 0H
LTGR 15,15
BE *+14 Around region break
ALGF 12,@lit_region_diff_2033_1_2
DROP 12
USING @REGION_2033_2,12
B @L1725
DROP 12
USING @REGION_2033_1,12
@L1726 DS 0H
LTR 7,7
BH *+14 Around region break
ALGF 12,@lit_region_diff_2033_1_2
DROP 12
USING @REGION_2033_2,12
B @L1729
DROP 12
USING @REGION_2033_1,12
@L1730 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1733
LG 15,@lit_2033_1405
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2965
LG 1,@lit_2033_1406
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1407 ; rd_kafka_crash
@@gen_label1992 DS 0H
BALR 14,15
@@gen_label1993 DS 0H
@L1733 DS 0H
LA 15,792(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1405
LA 15,1600(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1409 ; snprintf
@@gen_label1994 DS 0H
BALR 14,15
@@gen_label1995 DS 0H
LA 15,792(0,13)
LGR 1,15
LGHI 0,0
@@gen_label1996 DS 0H
SRST 0,15
BC 1,@@gen_label1996
SLGR 0,1
CGHI 0,2
BNE @L1735
MVI 792(13),0
@L1734 DS 0H
@L1735 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1411 ; mtx_lock
@@gen_label1998 DS 0H
BALR 14,15
@@gen_label1999 DS 0H
LA 15,1048(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1413 ; rd_strlcpy
@@gen_label2000 DS 0H
BALR 14,15
@@gen_label2001 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1415 ; mtx_unlock
@@gen_label2002 DS 0H
BALR 14,15
@@gen_label2003 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1416 ; rd_kafka_ApiKey2str
@@gen_label2004 DS 0H
BALR 14,15
@@gen_label2005 DS 0H
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1417 ; rd_slice_offset
@@gen_label2006 DS 0H
BALR 14,15
@@gen_label2007 DS 0H
LGR 4,15
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1404 ; rd_slice_abs_offset
@@gen_label2008 DS 0H
BALR 14,15
@@gen_label2009 DS 0H
SLGR 8,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1738
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
ALGF 12,@lit_region_diff_2033_1_2
DROP 12
USING @REGION_2033_2,12
B @L1739
DROP 12
USING @REGION_2033_1,12
@L1738 DS 0H
LG 15,@lit_2033_1405
LA 15,1440(0,15)
ALGF 12,@lit_region_diff_2033_1_2
@REGION_2033_2 DS 0H
DROP 12
USING @REGION_2033_2,12
@L1739 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1048(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1461
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 4,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2965
XC 1408(8,13),1408(13)
STG 8,1416(0,13)
STG 15,1424(0,13)
LA 15,792(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1463 ; rd_kafka_log0
@@gen_label2011 DS 0H
BALR 14,15
@@gen_label2012 DS 0H
@L1729 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_2_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_2,12
DS 0D
@lit_2033_1463 DC AD(rd_kafka_log0)
@lit_2033_1462 DC AD(@DATA)
@lit_2033_1461 DC AD(@strings@)
@lit_region_diff_2033_2_4 DC A(@REGION_2033_4-@REGION_2033_2)
@lit_2033_1465 DC AD(rd_slice_read)
@lit_2033_1466 DC AD(rd_slice_abs_offset)
@lit_2033_1469 DC AD(rd_kafka_crash)
@lit_2033_1471 DC AD(snprintf)
@lit_2033_1473 DC AD(mtx_lock)
@lit_2033_1475 DC AD(rd_strlcpy)
@lit_2033_1477 DC AD(mtx_unlock)
@lit_2033_1478 DC AD(rd_kafka_$Api$Key2str)
@lit_2033_1479 DC AD(rd_slice_offset)
@lit_2033_1489 DC AD(rd_slice_ensure_contig)
@lit_2033_1509 DC AD(calloc)
@lit_2033_1510 MVC 0(1,8),0(4)
@lit_2033_1511 DC AD(utf8_2_ebcdic)
@lit_2033_1512 DC AD(free)
@lit_2033_1514 DC AD(@strings@+4096)
@lit_region_diff_2033_2_3 DC A(@REGION_2033_3-@REGION_2033_2)
@L1725 DS 0H
LG 15,192(0,13) ; _v
STG 15,184(0,13)
AHI 15,-1
ST 15,776(0,13)
LR 3,15
B @L1740
@L1744 DS 0H
LGHI 3,2 ; 2
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,200(0,13)
STG 15,1312(0,13)
STG 3,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1465 ; rd_slice_read
@@gen_label2013 DS 0H
BALR 14,15
@@gen_label2014 DS 0H
LTGR 15,15
BNZ @L1747
@L1748 DS 0H
LG 4,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1466 ; rd_slice_abs_offset
@@gen_label2016 DS 0H
BALR 14,15
@@gen_label2017 DS 0H
SLGR 4,15
CLGR 3,4
BNH @L1751
@L1752 DS 0H
LTR 7,7
BNH @L1755
@L1756 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1759
LG 15,@lit_2033_1461
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2965
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1469 ; rd_kafka_crash
@@gen_label2021 DS 0H
BALR 14,15
@@gen_label2022 DS 0H
@L1759 DS 0H
LA 15,792(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1461
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1471 ; snprintf
@@gen_label2023 DS 0H
BALR 14,15
@@gen_label2024 DS 0H
LA 15,792(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2025 DS 0H
SRST 0,15
BC 1,@@gen_label2025
SLGR 0,1
CGHI 0,2
BNE @L1761
MVI 792(13),0
@L1760 DS 0H
@L1761 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 4,5688 ; 5688
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1473 ; mtx_lock
@@gen_label2027 DS 0H
BALR 14,15
@@gen_label2028 DS 0H
LA 15,1048(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1475 ; rd_strlcpy
@@gen_label2029 DS 0H
BALR 14,15
@@gen_label2030 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1477 ; mtx_unlock
@@gen_label2031 DS 0H
BALR 14,15
@@gen_label2032 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1478 ; rd_kafka_ApiKey2str
@@gen_label2033 DS 0H
BALR 14,15
@@gen_label2034 DS 0H
LGR 4,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1479 ; rd_slice_offset
@@gen_label2035 DS 0H
BALR 14,15
@@gen_label2036 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1466 ; rd_slice_abs_offset
@@gen_label2037 DS 0H
BALR 14,15
@@gen_label2038 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1764
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1765
@L1764 DS 0H
LG 15,@lit_2033_1461
LA 15,1440(0,15)
@L1765 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1048(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1461
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 4,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2965
STG 3,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,792(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1463 ; rd_kafka_log0
@@gen_label2040 DS 0H
BALR 14,15
@@gen_label2041 DS 0H
@L1755 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_2_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_2,12
@L1751 DS 0H
@L1747 DS 0H
LH 15,200(0,13) ; _v
ST 15,776(0,13)
CHSI 776(13),-1
BNE @L1766
LHI 3,0 ; 0
B @L1767
@L1766 DS 0H
L 3,776(0,13)
@L1767 DS 0H
@L1740 DS 0H
CHSI 776(13),-1
BNE @L1768
LGHI 15,0 ; 0
STG 15,784(0,13) ; offset of str in rd_kafkap_str_s
B @L1769
@L1768 DS 0H
CHSI 776(13),-1
BNE @L1770
LHI 15,0 ; 0
B @L1771
@L1770 DS 0H
L 15,776(0,13)
@L1771 DS 0H
LTR 15,15
BNE @L1772
LG 15,@lit_2033_1461
LA 15,964(0,15)
STG 15,784(0,13) ; offset of str in rd_kafkap_str_s
B @L1769
@L1772 DS 0H
LA 15,120(0,6)
STG 15,1304(0,13)
LGFR 15,3
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1489 ; rd_slice_ensure_contig
@@gen_label2046 DS 0H
BALR 14,15
@@gen_label2047 DS 0H
STG 15,784(0,13)
LTGR 15,15
BNZ @L1769
@L1775 DS 0H
LGFR 3,3
LG 4,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1466 ; rd_slice_abs_offset
@@gen_label2049 DS 0H
BALR 14,15
@@gen_label2050 DS 0H
SLGR 4,15
CLGR 3,4
BNH @L1778
@L1779 DS 0H
LTR 7,7
BNH @L1782
@L1783 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1786
LG 15,@lit_2033_1461
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2965
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1469 ; rd_kafka_crash
@@gen_label2054 DS 0H
BALR 14,15
@@gen_label2055 DS 0H
@L1786 DS 0H
LA 15,792(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1461
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1471 ; snprintf
@@gen_label2056 DS 0H
BALR 14,15
@@gen_label2057 DS 0H
LA 15,792(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2058 DS 0H
SRST 0,15
BC 1,@@gen_label2058
SLGR 0,1
CGHI 0,2
BNE @L1788
MVI 792(13),0
@L1787 DS 0H
@L1788 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 4,5688 ; 5688
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1473 ; mtx_lock
@@gen_label2060 DS 0H
BALR 14,15
@@gen_label2061 DS 0H
LA 15,1048(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1475 ; rd_strlcpy
@@gen_label2062 DS 0H
BALR 14,15
@@gen_label2063 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(4,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1477 ; mtx_unlock
@@gen_label2064 DS 0H
BALR 14,15
@@gen_label2065 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1478 ; rd_kafka_ApiKey2str
@@gen_label2066 DS 0H
BALR 14,15
@@gen_label2067 DS 0H
LGR 4,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1479 ; rd_slice_offset
@@gen_label2068 DS 0H
BALR 14,15
@@gen_label2069 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1466 ; rd_slice_abs_offset
@@gen_label2070 DS 0H
BALR 14,15
@@gen_label2071 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1791
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1792
@L1791 DS 0H
LG 15,@lit_2033_1461
LA 15,1440(0,15)
@L1792 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1048(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1461
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 4,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2965
STG 3,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,792(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1463 ; rd_kafka_log0
@@gen_label2073 DS 0H
BALR 14,15
@@gen_label2074 DS 0H
@L1782 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_2_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_2,12
@L1778 DS 0H
@L1774 DS 0H
@L1773 DS 0H
@L1769 DS 0H
CHSI 776(13),0
BNH @L1793
MVGHI 1304(13),1
LGF 15,776(0,13)
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1509 ; calloc
@@gen_label2076 DS 0H
BALR 14,15
@@gen_label2077 DS 0H
LGR 3,15
LGF 1,776(0,13)
LG 4,784(0,13)
LGR 8,3
LTGR 15,1
BZ @@gen_label2080
AGHI 15,-1
SRAG 1,15,8(0)
LTGR 1,1
BZ @@gen_label2079
@@gen_label2078 DS 0H
MVC 0(256,8),0(4)
LA 8,256(0,8)
LA 4,256(0,4)
BCTG 1,@@gen_label2078
@@gen_label2079 DS 0H
EX 15,@lit_2033_1510
@@gen_label2080 DS 0H
LGF 15,776(0,13)
STG 15,800(0,13) ; ulen
STG 15,792(0,13) ; alen
LG 15,784(0,13)
STG 15,1304(0,13)
LA 15,792(0,13)
STG 15,1312(0,13)
STG 3,1320(0,13)
LA 15,800(0,13)
STG 15,1328(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1511 ; utf8_2_ebcdic
@@gen_label2081 DS 0H
BALR 14,15
@@gen_label2082 DS 0H
STG 3,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1512 ; free
@@gen_label2083 DS 0H
BALR 14,15
@@gen_label2084 DS 0H
@L1793 DS 0H
* *** if (ErrorCode)
LH 15,768(0,13) ; ErrorCode
LTR 15,15
BZ @L1794
* *** snprintf(errstr, sizeof(errstr), "%.*s\
* ", (int)((&ErrorMsg)->len == -1 ? 0 : (&ErrorMsg)->len), (&ErrorMsg)\
* ->str);
CHSI 776(13),-1
BNE @L1795
LHI 15,0 ; 0
B @L1796
@L1795 DS 0H
L 15,776(0,13)
@L1796 DS 0H
LA 1,232(0,13)
STG 1,1304(0,13)
MVGHI 1312(13),512
LG 1,@lit_2033_1514
LA 1,760(0,1)
STG 1,1320(0,13)
LGFR 15,15
STG 15,1328(0,13)
LG 15,784(0,13)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1471 ; snprintf
@@gen_label2087 DS 0H
BALR 14,15
@@gen_label2088 DS 0H
@L1794 DS 0H
* ***
* *** }
@L1717 DS 0H
* ***
* *** if ((err = ErrorCode))
LH 3,768(0,13) ; ErrorCode
LTR 3,3
BZ @L1801
* *** goto err;
ALGF 12,@lit_region_diff_2033_2_4
DROP 12
USING @REGION_2033_4,12
B @L1941
DROP 12
USING @REGION_2033_2,12
* ***
* *** do { int32_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2974, _\
* _FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while \
* (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": ");\
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname\
* [256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_\
* logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unloc\
* k(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkb\
* uf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_\
* decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " \
* "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" \
* " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(\
* rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_sli\
* ce_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rk\
* buf->rkbuf_reader)->start), __FUNCTION__, 2974, __len0, ((&rkbuf->rk\
* buf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf\
* ->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrec\
* t broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbu\
* f_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); }\
* } while (0); } while (0); *(&NodeId) = (_v); } while (0);
@L1801 DS 0H
LGHI 4,4 ; 4
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,204(0,13)
STG 15,1312(0,13)
STG 4,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1465 ; rd_slice_read
@@gen_label2090 DS 0H
BALR 14,15
@@gen_label2091 DS 0H
LTGR 15,15
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2033_2_3
DROP 12
USING @REGION_2033_3,12
B @L1804
DROP 12
USING @REGION_2033_2,12
@L1805 DS 0H
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1466 ; rd_slice_abs_offset
@@gen_label2093 DS 0H
BALR 14,15
@@gen_label2094 DS 0H
SLGR 8,15
CLGR 4,8
BH *+14 Around region break
ALGF 12,@lit_region_diff_2033_2_3
DROP 12
USING @REGION_2033_3,12
B @L1808
DROP 12
USING @REGION_2033_2,12
@L1809 DS 0H
LTR 7,7
BH *+14 Around region break
ALGF 12,@lit_region_diff_2033_2_3
DROP 12
USING @REGION_2033_3,12
B @L1812
DROP 12
USING @REGION_2033_2,12
@L1813 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1816
LG 15,@lit_2033_1461
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2974
LG 1,@lit_2033_1462
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1469 ; rd_kafka_crash
@@gen_label2098 DS 0H
BALR 14,15
@@gen_label2099 DS 0H
@L1816 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1461
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1471 ; snprintf
@@gen_label2100 DS 0H
BALR 14,15
@@gen_label2101 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2102 DS 0H
SRST 0,15
BC 1,@@gen_label2102
SLGR 0,1
CGHI 0,2
BE *+14 Around region break
ALGF 12,@lit_region_diff_2033_2_3
DROP 12
USING @REGION_2033_3,12
B @L1818
DROP 12
USING @REGION_2033_2,12
MVI 770(13),0
@L1817 DS 0H
ALGF 12,@lit_region_diff_2033_2_3
@REGION_2033_3 DS 0H
DROP 12
USING @REGION_2033_3,12
@L1818 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1525 ; mtx_lock
@@gen_label2104 DS 0H
BALR 14,15
@@gen_label2105 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1527 ; rd_strlcpy
@@gen_label2106 DS 0H
BALR 14,15
@@gen_label2107 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1529 ; mtx_unlock
@@gen_label2108 DS 0H
BALR 14,15
@@gen_label2109 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1530 ; rd_kafka_ApiKey2str
@@gen_label2110 DS 0H
BALR 14,15
@@gen_label2111 DS 0H
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1531 ; rd_slice_offset
@@gen_label2112 DS 0H
BALR 14,15
@@gen_label2113 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1532 ; rd_slice_abs_offset
@@gen_label2114 DS 0H
BALR 14,15
@@gen_label2115 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1821
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1822
DS 0D
@lit_2033_1525 DC AD(mtx_lock)
@lit_2033_1527 DC AD(rd_strlcpy)
@lit_2033_1529 DC AD(mtx_unlock)
@lit_2033_1530 DC AD(rd_kafka_$Api$Key2str)
@lit_2033_1531 DC AD(rd_slice_offset)
@lit_2033_1532 DC AD(rd_slice_abs_offset)
@lit_2033_1533 DC AD(@strings@)
@lit_2033_1536 DC AD(rd_kafka_log0)
@lit_2033_1535 DC AD(@DATA)
@lit_region_diff_2033_3_4 DC A(@REGION_2033_4-@REGION_2033_3)
@lit_2033_1537 DC AD(rd_slice_read_uvarint)
@lit_2033_1540 DC AD(rd_kafka_crash)
@lit_2033_1542 DC AD(snprintf)
@lit_2033_1557 DC AD(rd_slice_read)
@lit_2033_1581 DC AD(rd_slice_ensure_contig)
@L1821 DS 0H
LG 15,@lit_2033_1533
LA 15,1440(0,15)
@L1822 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1533
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2974
STG 4,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1536 ; rd_kafka_log0
@@gen_label2117 DS 0H
BALR 14,15
@@gen_label2118 DS 0H
@L1812 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_3,12
@L1808 DS 0H
@L1804 DS 0H
L 15,204(0,13) ; _v
ST 15,748(0,13)
* *** do { int _klen; if ((rkbuf)->rkbuf_flags & 0x40) { uin\
* t64_t _uva; do { uint64_t _v; size_t _r = rd_slice_read_uvarint(&(rk\
* buf)->rkbuf_reader, &_v); if ((((_r == 0)))) do { if (log_decode_err\
* ors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_kafka_crash("C:\\asg\
* kafka\\librdkafka\\src\\rdkafka_txnmgr.c",2975, __FUNCTION__, (((voi\
* d *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while (0); char __tmpstr[\
* 256]; snprintf(__tmpstr, sizeof(__tmpstr), ": " "uvarint parsing fai\
* led"); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _l\
* ogname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_str\
* lcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx\
* _unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbu\
* f->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname\
* , log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underf\
* low " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %"\
* "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKe\
* y2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, \
* rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end \
* - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 2975, (size_t)0, ((&\
* rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader\
* )), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : \
* "incorrect broker.version.fallback?", __tmpstr); } while (0); } (rkb\
* uf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } whi\
* le (0); *(&_uva) = _v; } while (0); (&Host)->len = ((int32_t)_uva) -\
* 1; _klen = (&Host)->len; } else { do { int16_t _v; do { size_t __le\
* n2 = (size_t)(2); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __\
* len2)) do { size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkb\
* uf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader\
* ))))) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_\
* rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmg\
* r.c",2975, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb\
* "); } while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmp\
* str), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { c\
* har _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); \
* rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)\
* ); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(\
* &(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _l\
* ogname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer \
* underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expec\
* ted %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka\
* _ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVer\
* sion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)\
* ->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 2975, __len0, \
* ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_rea\
* der)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation\
* : "incorrect broker.version.fallback?", __tmpstr); } while (0); } (\
* rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } \
* while (0); } } while (0); } while (0); (&Host)->len = (int16_t)(_v);\
* } while (0); _klen = (((&Host)->len) == -1 ? 0 : ((&Host)->len)); }\
* if (((&Host)->len == -1)) (&Host)->str = ((void *)0); else if ((((&\
* Host)->len) == -1 ? 0 : ((&Host)->len)) == 0) (&Host)->str = ""; els\
* e if (!((&Host)->str = rd_slice_ensure_contig(&rkbuf->rkbuf_reader, \
* _klen))) do { size_t __len0 = (size_t)(_klen); if (((__len0 > ((&(rk\
* buf)->rkbuf_reader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reade\
* r))))) { do { if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf\
* _rkb)))) rd_kafka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnm\
* gr.c",2975, __FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rk\
* b"); } while (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tm\
* pstr), ": "); if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { \
* char _logname[256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock);\
* rd_strlcpy(_logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname\
* )); mtx_unlock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0\
* (&(rkbuf->rkbuf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _\
* logname, log_decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer\
* underflow " "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expe\
* cted %" "zu" " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafk\
* a_ApiKey2str(rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVe\
* rsion, rd_slice_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader\
* )->end - (&rkbuf->rkbuf_reader)->start), __FUNCTION__, 2975, __len0,\
* ((&rkbuf->rkbuf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_re\
* ader)), rkbuf->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigatio\
* n : "incorrect broker.version.fallback?", __tmpstr); } while (0); } \
* (rkbuf)->rkbuf_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; }\
* while (0); } } while (0); if((&Host)->len > 0) { char *tbuf = callo\
* c(1,(&Host)->len); __memcpy(tbuf,(&Host)->str,(&Host)->len); size_t \
* ulen=(size_t)(&Host)->len; size_t alen=ulen; utf8_2_ebcdic((&Host)->\
* str, &alen, tbuf, &ulen); free(tbuf); } } while (0);
@L1823 DS 0H
TM 35(6),64
BZ @L1849
@L1827 DS 0H
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,216(0,13)
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1537 ; rd_slice_read_uvarint
@@gen_label2120 DS 0H
BALR 14,15
@@gen_label2121 DS 0H
LTGR 15,15
BNE @L1830
@L1831 DS 0H
LTR 7,7
BNH @L1834
@L1835 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1838
LG 15,@lit_2033_1533
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2975
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1540 ; rd_kafka_crash
@@gen_label2125 DS 0H
BALR 14,15
@@gen_label2126 DS 0H
@L1838 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1533
LA 15,1600(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1542 ; snprintf
@@gen_label2127 DS 0H
BALR 14,15
@@gen_label2128 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2129 DS 0H
SRST 0,15
BC 1,@@gen_label2129
SLGR 0,1
CGHI 0,2
BNE @L1840
MVI 770(13),0
@L1839 DS 0H
@L1840 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1525 ; mtx_lock
@@gen_label2131 DS 0H
BALR 14,15
@@gen_label2132 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1527 ; rd_strlcpy
@@gen_label2133 DS 0H
BALR 14,15
@@gen_label2134 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1529 ; mtx_unlock
@@gen_label2135 DS 0H
BALR 14,15
@@gen_label2136 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1530 ; rd_kafka_ApiKey2str
@@gen_label2137 DS 0H
BALR 14,15
@@gen_label2138 DS 0H
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1531 ; rd_slice_offset
@@gen_label2139 DS 0H
BALR 14,15
@@gen_label2140 DS 0H
LGR 4,15
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1532 ; rd_slice_abs_offset
@@gen_label2141 DS 0H
BALR 14,15
@@gen_label2142 DS 0H
SLGR 8,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1843
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1844
@L1843 DS 0H
LG 15,@lit_2033_1533
LA 15,1440(0,15)
@L1844 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1533
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 4,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2975
XC 1408(8,13),1408(13)
STG 8,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1536 ; rd_kafka_log0
@@gen_label2144 DS 0H
BALR 14,15
@@gen_label2145 DS 0H
@L1834 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_3,12
@L1830 DS 0H
LG 15,216(0,13) ; _v
STG 15,208(0,13)
AHI 15,-1
ST 15,752(0,13)
LR 4,15
B @L1845
@L1849 DS 0H
LGHI 4,2 ; 2
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,224(0,13)
STG 15,1312(0,13)
STG 4,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1557 ; rd_slice_read
@@gen_label2146 DS 0H
BALR 14,15
@@gen_label2147 DS 0H
LTGR 15,15
BNZ @L1852
@L1853 DS 0H
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1532 ; rd_slice_abs_offset
@@gen_label2149 DS 0H
BALR 14,15
@@gen_label2150 DS 0H
SLGR 8,15
CLGR 4,8
BNH @L1856
@L1857 DS 0H
LTR 7,7
BNH @L1860
@L1861 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1864
LG 15,@lit_2033_1533
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2975
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1540 ; rd_kafka_crash
@@gen_label2154 DS 0H
BALR 14,15
@@gen_label2155 DS 0H
@L1864 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1533
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1542 ; snprintf
@@gen_label2156 DS 0H
BALR 14,15
@@gen_label2157 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2158 DS 0H
SRST 0,15
BC 1,@@gen_label2158
SLGR 0,1
CGHI 0,2
BNE @L1866
MVI 770(13),0
@L1865 DS 0H
@L1866 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1525 ; mtx_lock
@@gen_label2160 DS 0H
BALR 14,15
@@gen_label2161 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1527 ; rd_strlcpy
@@gen_label2162 DS 0H
BALR 14,15
@@gen_label2163 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1529 ; mtx_unlock
@@gen_label2164 DS 0H
BALR 14,15
@@gen_label2165 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1530 ; rd_kafka_ApiKey2str
@@gen_label2166 DS 0H
BALR 14,15
@@gen_label2167 DS 0H
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1531 ; rd_slice_offset
@@gen_label2168 DS 0H
BALR 14,15
@@gen_label2169 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1532 ; rd_slice_abs_offset
@@gen_label2170 DS 0H
BALR 14,15
@@gen_label2171 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1869
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1870
@L1869 DS 0H
LG 15,@lit_2033_1533
LA 15,1440(0,15)
@L1870 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1533
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2975
STG 4,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1536 ; rd_kafka_log0
@@gen_label2173 DS 0H
BALR 14,15
@@gen_label2174 DS 0H
@L1860 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @_err_parse@2033@18
DROP 12
USING @REGION_2033_3,12
@L1856 DS 0H
@L1852 DS 0H
LH 15,224(0,13) ; _v
ST 15,752(0,13)
CHSI 752(13),-1
BNE @L1871
LHI 4,0 ; 0
B @L1872
@L1871 DS 0H
L 4,752(0,13)
@L1872 DS 0H
@L1845 DS 0H
CHSI 752(13),-1
BNE @L1873
LGHI 15,0 ; 0
STG 15,760(0,13) ; offset of str in rd_kafkap_str_s
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @L1874
DROP 12
USING @REGION_2033_3,12
@L1873 DS 0H
CHSI 752(13),-1
BNE @L1875
LHI 15,0 ; 0
B @L1876
@L1875 DS 0H
L 15,752(0,13)
@L1876 DS 0H
LTR 15,15
BNE @L1877
LG 15,@lit_2033_1533
LA 15,964(0,15)
STG 15,760(0,13) ; offset of str in rd_kafkap_str_s
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @L1874
DROP 12
USING @REGION_2033_3,12
@L1877 DS 0H
LA 15,120(0,6)
STG 15,1304(0,13)
LGFR 15,4
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1581 ; rd_slice_ensure_contig
@@gen_label2179 DS 0H
BALR 14,15
@@gen_label2180 DS 0H
STG 15,760(0,13)
LTGR 15,15
BZ *+14 Around region break
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @L1874
DROP 12
USING @REGION_2033_3,12
@L1880 DS 0H
LGFR 4,4
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1532 ; rd_slice_abs_offset
@@gen_label2182 DS 0H
BALR 14,15
@@gen_label2183 DS 0H
SLGR 8,15
CLGR 4,8
BH *+14 Around region break
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @L1883
DROP 12
USING @REGION_2033_3,12
@L1884 DS 0H
LTR 7,7
BH *+14 Around region break
ALGF 12,@lit_region_diff_2033_3_4
DROP 12
USING @REGION_2033_4,12
B @L1887
DROP 12
USING @REGION_2033_3,12
@L1888 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1891
LG 15,@lit_2033_1533
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2975
LG 1,@lit_2033_1535
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1540 ; rd_kafka_crash
@@gen_label2187 DS 0H
BALR 14,15
@@gen_label2188 DS 0H
@L1891 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1533
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1542 ; snprintf
@@gen_label2189 DS 0H
BALR 14,15
@@gen_label2190 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2191 DS 0H
SRST 0,15
BC 1,@@gen_label2191
SLGR 0,1
CGHI 0,2
BNE @L1893
MVI 770(13),0
@L1892 DS 0H
@L1893 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1525 ; mtx_lock
@@gen_label2193 DS 0H
BALR 14,15
@@gen_label2194 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1527 ; rd_strlcpy
@@gen_label2195 DS 0H
BALR 14,15
@@gen_label2196 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1529 ; mtx_unlock
@@gen_label2197 DS 0H
BALR 14,15
@@gen_label2198 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1530 ; rd_kafka_ApiKey2str
@@gen_label2199 DS 0H
BALR 14,15
@@gen_label2200 DS 0H
ALGF 12,@lit_region_diff_2033_3_4
@REGION_2033_4 DS 0H
DROP 12
USING @REGION_2033_4,12
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1595 ; rd_slice_offset
@@gen_label2201 DS 0H
BALR 14,15
@@gen_label2202 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1596 ; rd_slice_abs_offset
@@gen_label2203 DS 0H
BALR 14,15
@@gen_label2204 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1896
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1897
DS 0D
@lit_2033_1595 DC AD(rd_slice_offset)
@lit_2033_1596 DC AD(rd_slice_abs_offset)
@lit_2033_1597 DC AD(@strings@)
@lit_2033_1600 DC AD(rd_kafka_log0)
@lit_2033_1599 DC AD(@DATA)
@lit_2033_1601 DC AD(calloc)
@lit_2033_1602 MVC 0(1,9),0(8)
@lit_2033_1603 DC AD(utf8_2_ebcdic)
@lit_2033_1604 DC AD(free)
@lit_2033_1606 DC AD(rd_slice_read)
@lit_2033_1610 DC AD(rd_kafka_crash)
@lit_2033_1612 DC AD(snprintf)
@lit_2033_1614 DC AD(mtx_lock)
@lit_2033_1616 DC AD(rd_strlcpy)
@lit_2033_1618 DC AD(mtx_unlock)
@lit_2033_1619 DC AD(rd_kafka_$Api$Key2str)
@lit_2033_1634 DC AD(@strings@+4096)
@lit_2033_1636 DC AD(rwlock_rdlock)
@lit_2033_1639 DC AD(rd_kafka_broker_find_by_nodeid0_fl)
@lit_2033_1643 DC AD(rwlock_rdunlock)
@lit_2033_1644 DC AD(rwlock_wrlock)
@lit_2033_1646 DC AD(rd_kafka_txn_coord_set)
@lit_2033_1647 DC AD(rwlock_wrunlock)
@lit_2033_1648 DC AD(rd_refcnt_sub0)
@lit_region_diff_2033_4_5 DC A(@REGION_2033_5-@REGION_2033_4)
@lit_2033_1649 DC AD(rd_kafka_broker_destroy_final)
@lit_2033_1651 DC AD(rd_kafka_broker_name)
@lit_2033_1652 DC AD(rd_kafka_err2str)
@lit_2033_1656 DC AD(rd_kafka_txn_set_fatal_error)
@lit_2033_1657 DC AD(rd_kafka_idemp_set_state)
@lit_2033_1659 DC AD(rd_kafka_metadata_refresh_brokers)
@lit_2033_1661 DC AD(rd_kafka_err2name)
@L1896 DS 0H
LG 15,@lit_2033_1597
LA 15,1440(0,15)
@L1897 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1597
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1599
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2975
STG 4,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1600 ; rd_kafka_log0
@@gen_label2206 DS 0H
BALR 14,15
@@gen_label2207 DS 0H
@L1887 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2033@18
@L1883 DS 0H
@L1879 DS 0H
@L1878 DS 0H
@L1874 DS 0H
CHSI 752(13),0
BNH @L1898
MVGHI 1304(13),1
LGF 15,752(0,13)
STG 15,1312(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1601 ; calloc
@@gen_label2209 DS 0H
BALR 14,15
@@gen_label2210 DS 0H
LGR 4,15
LGF 1,752(0,13)
LG 8,760(0,13)
LGR 9,4
LTGR 15,1
BZ @@gen_label2213
AGHI 15,-1
SRAG 1,15,8(0)
LTGR 1,1
BZ @@gen_label2212
@@gen_label2211 DS 0H
MVC 0(256,9),0(8)
LA 9,256(0,9)
LA 8,256(0,8)
BCTG 1,@@gen_label2211
@@gen_label2212 DS 0H
EX 15,@lit_2033_1602
@@gen_label2213 DS 0H
LGF 15,752(0,13)
STG 15,784(0,13) ; ulen
STG 15,776(0,13) ; alen
LG 15,760(0,13)
STG 15,1304(0,13)
LA 15,776(0,13)
STG 15,1312(0,13)
STG 4,1320(0,13)
LA 15,784(0,13)
STG 15,1328(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1603 ; utf8_2_ebcdic
@@gen_label2214 DS 0H
BALR 14,15
@@gen_label2215 DS 0H
STG 4,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1604 ; free
@@gen_label2216 DS 0H
BALR 14,15
@@gen_label2217 DS 0H
@L1898 DS 0H
* *** do { int32_t _v; do { size_t __len2 = (size_t)(sizeof(\
* _v)); if (!rd_slice_read(&(rkbuf)->rkbuf_reader, &_v, __len2)) do { \
* size_t __len0 = (size_t)(__len2); if (((__len0 > ((&(rkbuf)->rkbuf_r\
* eader)->end - rd_slice_abs_offset(&(rkbuf)->rkbuf_reader))))) { do {\
* if (log_decode_errors > 0) { do { if (((!(rkbuf->rkbuf_rkb)))) rd_k\
* afka_crash("C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c",2976, _\
* _FUNCTION__, (((void *)0)), "assert: " "rkbuf->rkbuf_rkb"); } while \
* (0); char __tmpstr[256]; snprintf(__tmpstr, sizeof(__tmpstr), ": ");\
* if (__strlen(__tmpstr) == 2) __tmpstr[0] = '\0'; do { char _logname\
* [256]; mtx_lock(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_strlcpy(_\
* logname, rkbuf->rkbuf_rkb->rkb_logname, sizeof(_logname)); mtx_unloc\
* k(&(rkbuf->rkbuf_rkb)->rkb_logname_lock); rd_kafka_log0(&(rkbuf->rkb\
* uf_rkb)->rkb_rk->rk_conf, (rkbuf->rkbuf_rkb)->rkb_rk, _logname, log_\
* decode_errors, 0x0, "PROTOUFLOW", "Protocol read buffer underflow " \
* "for %s v%hd " "at %" "zu" "/%" "zu" " (%s:%i): " "expected %" "zu" \
* " bytes > " "%" "zu" " remaining bytes (%s)%s", rd_kafka_ApiKey2str(\
* rkbuf->rkbuf_reqhdr. ApiKey), rkbuf->rkbuf_reqhdr.ApiVersion, rd_sli\
* ce_offset(&rkbuf->rkbuf_reader), ((&rkbuf->rkbuf_reader)->end - (&rk\
* buf->rkbuf_reader)->start), __FUNCTION__, 2976, __len0, ((&rkbuf->rk\
* buf_reader)->end - rd_slice_abs_offset(&rkbuf->rkbuf_reader)), rkbuf\
* ->rkbuf_uflow_mitigation ? rkbuf->rkbuf_uflow_mitigation : "incorrec\
* t broker.version.fallback?", __tmpstr); } while (0); } (rkbuf)->rkbu\
* f_err = RD_KAFKA_RESP_ERR__UNDERFLOW; goto err_parse; } while (0); }\
* } while (0); } while (0); *(&Port) = (_v); } while (0);
@L1899 DS 0H
@L1902 DS 0H
LGHI 4,4 ; 4
LA 15,120(0,6)
STG 15,1304(0,13)
LA 15,228(0,13)
STG 15,1312(0,13)
STG 4,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1606 ; rd_slice_read
@@gen_label2218 DS 0H
BALR 14,15
@@gen_label2219 DS 0H
LTGR 15,15
BNZ @L1905
@L1906 DS 0H
LG 8,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1596 ; rd_slice_abs_offset
@@gen_label2221 DS 0H
BALR 14,15
@@gen_label2222 DS 0H
SLGR 8,15
CLGR 4,8
BNH @L1909
@L1910 DS 0H
LTR 7,7
BNH @L1913
@L1914 DS 0H
LTG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
BNZ @L1917
LG 15,@lit_2033_1597
LA 1,434(0,15)
STG 1,1304(0,13)
MVGHI 1312(13),2976
LG 1,@lit_2033_1599
LA 1,996(0,1)
STG 1,1320(0,13)
XC 1328(8,13),1328(13)
LA 15,1410(0,15)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1610 ; rd_kafka_crash
@@gen_label2226 DS 0H
BALR 14,15
@@gen_label2227 DS 0H
@L1917 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),256
LG 15,@lit_2033_1597
LA 15,1436(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1612 ; snprintf
@@gen_label2228 DS 0H
BALR 14,15
@@gen_label2229 DS 0H
LA 15,770(0,13)
LGR 1,15
LGHI 0,0
@@gen_label2230 DS 0H
SRST 0,15
BC 1,@@gen_label2230
SLGR 0,1
CGHI 0,2
BNE @L1919
MVI 770(13),0
@L1918 DS 0H
@L1919 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 3,5688 ; 5688
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1614 ; mtx_lock
@@gen_label2232 DS 0H
BALR 14,15
@@gen_label2233 DS 0H
LA 15,1026(0,13)
STG 15,1304(0,13)
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LGHI 1,5680 ; 5680
LG 15,0(1,15)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1616 ; rd_strlcpy
@@gen_label2234 DS 0H
BALR 14,15
@@gen_label2235 DS 0H
LG 15,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LA 15,0(3,15)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1618 ; mtx_unlock
@@gen_label2236 DS 0H
BALR 14,15
@@gen_label2237 DS 0H
LGH 15,184(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1619 ; rd_kafka_ApiKey2str
@@gen_label2238 DS 0H
BALR 14,15
@@gen_label2239 DS 0H
LGR 3,15
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1595 ; rd_slice_offset
@@gen_label2240 DS 0H
BALR 14,15
@@gen_label2241 DS 0H
LGR 8,15
LG 9,152(0,6) ; offset of end in rd_slice_s
LA 15,120(0,6)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1596 ; rd_slice_abs_offset
@@gen_label2242 DS 0H
BALR 14,15
@@gen_label2243 DS 0H
SLGR 9,15
LTG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
BZ @L1922
LG 15,488(0,6) ; offset of rkbuf_uflow_mitigation in rd_kaf*
ka_buf_s
B @L1923
@L1922 DS 0H
LG 15,@lit_2033_1597
LA 15,1440(0,15)
@L1923 DS 0H
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,256(0,6) ; offset of rkbuf_rkb in rd_kafka_buf_s
LG 1,4048(0,1)
STG 1,1312(0,13)
LA 1,1026(0,13)
STG 1,1320(0,13)
LGFR 1,7
STG 1,1328(0,13)
XC 1336(8,13),1336(13)
LG 1,@lit_2033_1597
LA 7,1476(0,1)
STG 7,1344(0,13)
LA 1,1488(0,1)
STG 1,1352(0,13)
STG 3,1360(0,13)
LH 1,186(0,6)
LGFR 1,1
STG 1,1368(0,13)
STG 8,1376(0,13)
LG 1,152(0,6) ; offset of end in rd_slice_s
SLG 1,144(0,6)
STG 1,1384(0,13)
LG 1,@lit_2033_1599
LA 1,996(0,1)
STG 1,1392(0,13)
MVGHI 1400(13),2976
STG 4,1408(0,13)
STG 9,1416(0,13)
STG 15,1424(0,13)
LA 15,770(0,13)
STG 15,1432(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1600 ; rd_kafka_log0
@@gen_label2245 DS 0H
BALR 14,15
@@gen_label2246 DS 0H
@L1913 DS 0H
MVHI 392(6),-155 ; offset of rkbuf_err in rd_kafka_buf_s
B @_err_parse@2033@18
@L1909 DS 0H
@L1905 DS 0H
L 15,228(0,13) ; _v
ST 15,744(0,13)
* ***
* *** do { if ((((rkb)->rkb_rk->rk_conf.debug & (0x8000)))) \
* { do { char _logname[256]; mtx_lock(&(rkb)->rkb_logname_lock); rd_st\
* rlcpy(_logname, rkb->rkb_logname, sizeof(_logname)); mtx_unlock(&(rk\
* b)->rkb_logname_lock); rd_kafka_log0(&(rkb)->rkb_rk->rk_conf, (rkb)-\
* >rkb_rk, _logname, 7, (0x8000), "TXNCOORD", "FindCoordinator respons\
* e: " "Transaction coordinator is broker %" "d" " (%.*s:%d)", NodeId,\
* (int)((&Host)->len == -1 ? 0 : (&Host)->len), (&Host)->str, (int)Po\
* rt); } while (0); } } while (0);
@L1924 DS 0H
LG 15,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L1927
@L1928 DS 0H
LGHI 4,5688 ; 5688
LA 15,0(4,2)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1614 ; mtx_lock
@@gen_label2248 DS 0H
BALR 14,15
@@gen_label2249 DS 0H
LA 15,770(0,13)
STG 15,1304(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,2)
STG 15,1312(0,13)
MVGHI 1320(13),256
LA 1,1304(0,13)
LG 15,@lit_2033_1616 ; rd_strlcpy
@@gen_label2250 DS 0H
BALR 14,15
@@gen_label2251 DS 0H
LA 15,0(4,2)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1618 ; mtx_unlock
@@gen_label2252 DS 0H
BALR 14,15
@@gen_label2253 DS 0H
CHSI 752(13),-1
BNE @L1931
LHI 15,0 ; 0
B @L1932
@L1931 DS 0H
L 15,752(0,13)
@L1932 DS 0H
LG 1,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,1304(0,13)
LG 1,4048(0,2)
STG 1,1312(0,13)
LA 1,770(0,13)
STG 1,1320(0,13)
MVGHI 1328(13),7
LLILF 1,X'00008000' ; 32768
STG 1,1336(0,13)
LG 1,@lit_2033_1634
LA 4,766(0,1)
STG 4,1344(0,13)
LA 1,776(0,1)
STG 1,1352(0,13)
LGF 1,748(0,13) ; NodeId
STG 1,1360(0,13)
LGFR 15,15
STG 15,1368(0,13)
LG 15,760(0,13)
STG 15,1376(0,13)
LGF 15,744(0,13) ; Port
STG 15,1384(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1600 ; rd_kafka_log0
@@gen_label2255 DS 0H
BALR 14,15
@@gen_label2256 DS 0H
@L1927 DS 0H
* ***
* ***
* ***
* ***
* *** rwlock_rdlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1636 ; rwlock_rdlock
@@gen_label2257 DS 0H
BALR 14,15
@@gen_label2258 DS 0H
* *** if (NodeId == -1)
CHSI 748(13),-1
BNE @L1933
* *** err = RD_KAFKA_RESP_ERR_COORDINATOR_NOT_AVAILA\
* BLE;
LHI 3,15 ; 15
B @L1934
* *** else if (!(rkb = rd_kafka_broker_find_by_nodeid0_fl(__\
* FUNCTION__,2986, rk,NodeId,-1,0))) {
@L1933 DS 0H
LG 15,@lit_2033_1599
LA 15,996(0,15)
STG 15,1304(0,13)
MVGHI 1312(13),2986
STG 5,1320(0,13)
LGF 15,748(0,13) ; NodeId
STG 15,1328(0,13)
MVGHI 1336(13),-1
XC 1344(8,13),1344(13)
LA 1,1304(0,13)
LG 15,@lit_2033_1639 ; rd_kafka_broker_find_by_nodeid0_fl
@@gen_label2260 DS 0H
BALR 14,15
@@gen_label2261 DS 0H
LTGR 2,15 ; rkb
BNZ @L1934
* *** snprintf(errstr, sizeof(errstr), "Transaction \
* coordinator %" "d" " is unknown", NodeId);
LA 15,232(0,13)
STG 15,1304(0,13)
MVGHI 1312(13),512
LG 15,@lit_2033_1634
LA 15,850(0,15)
STG 15,1320(0,13)
LGF 15,748(0,13) ; NodeId
STG 15,1328(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1612 ; snprintf
@@gen_label2263 DS 0H
BALR 14,15
@@gen_label2264 DS 0H
* ***
* ***
* *** err = RD_KAFKA_RESP_ERR__UNKNOWN_BROKER;
LHI 3,-146 ; -146
* *** }
@L1935 DS 0H
* *** rwlock_rdunlock(&(rk)->rk_lock);
@L1934 DS 0H
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1643 ; rwlock_rdunlock
@@gen_label2265 DS 0H
BALR 14,15
@@gen_label2266 DS 0H
* ***
* *** if (err)
LTR 3,3
BNZ @L1941
* *** goto err;
@L1936 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1644 ; rwlock_wrlock
@@gen_label2268 DS 0H
BALR 14,15
@@gen_label2269 DS 0H
* *** rd_kafka_txn_coord_set(rk, rkb, "FindCoordinator respo\
* nse");
STG 5,1304(0,13)
STG 2,1312(0,13)
LG 15,@lit_2033_1634
LA 15,888(0,15)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1646 ; rd_kafka_txn_coord_set
@@gen_label2270 DS 0H
BALR 14,15
@@gen_label2271 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1647 ; rwlock_wrunlock
@@gen_label2272 DS 0H
BALR 14,15
@@gen_label2273 DS 0H
* ***
* *** do { if (rd_refcnt_sub0(&(rkb)->rkb_refcnt) > 0) break\
* ; rd_kafka_broker_destroy_final(rkb); } while (0);
@L1937 DS 0H
LA 15,4000(0,2)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1648 ; rd_refcnt_sub0
@@gen_label2274 DS 0H
BALR 14,15
@@gen_label2275 DS 0H
LTR 15,15
BNH *+14 Around region break
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @ret_lab_2033
DROP 12
USING @REGION_2033_4,12
@L1940 DS 0H
STG 2,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1649 ; rd_kafka_broker_destroy_final
@@gen_label2277 DS 0H
BALR 14,15
@@gen_label2278 DS 0H
@L1938 DS 0H
* ***
* *** return;
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @ret_lab_2033
DROP 12
USING @REGION_2033_4,12
* ***
* *** err_parse:
* *** err = rkbuf->rkbuf_err;
@_err_parse@2033@18 DS 0H
L 3,392(0,6) ; offset of rkbuf_err in rd_kafka_buf_s
* *** err:
* ***
* *** switch (err)
@_err@2033@17 DS 0H
B @L1941
* *** {
* *** case RD_KAFKA_RESP_ERR__DESTROY:
@L1943 DS 0H
* *** return;
* ***
* *** case RD_KAFKA_RESP_ERR_TRANSACTIONAL_ID_AUTHORIZATION_\
* FAILED:
* *** case RD_KAFKA_RESP_ERR_CLUSTER_AUTHORIZATION_FAILED:
@L1945 DS 0H
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1644 ; rwlock_wrlock
@@gen_label2279 DS 0H
BALR 14,15
@@gen_label2280 DS 0H
* *** rd_kafka_txn_set_fatal_error(
* *** rkb->rkb_rk, RD_DONT_LOCK, err,
* *** "Failed to find transaction coordinato\
* r: %s: %s%s%s",
* *** rd_kafka_broker_name(rkb),
* *** rd_kafka_err2str(err),
* *** *errstr ? ": " : "", errstr);
STG 2,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1651 ; rd_kafka_broker_name
@@gen_label2281 DS 0H
BALR 14,15
@@gen_label2282 DS 0H
LGR 4,15
LGFR 15,3
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1652 ; rd_kafka_err2str
@@gen_label2283 DS 0H
BALR 14,15
@@gen_label2284 DS 0H
CLI 232(13),0
BE @L1946
LG 1,@lit_2033_1597
LA 1,1436(0,1)
B @L1947
@L1946 DS 0H
LG 1,@lit_2033_1597
LA 1,964(0,1)
@L1947 DS 0H
LG 2,4048(0,2)
STG 2,1304(0,13)
XC 1312(8,13),1312(13)
LGFR 2,3
STG 2,1320(0,13)
LG 2,@lit_2033_1634
LA 2,914(0,2)
STG 2,1328(0,13)
STG 4,1336(0,13)
STG 15,1344(0,13)
STG 1,1352(0,13)
LA 15,232(0,13)
STG 15,1360(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1656 ; rd_kafka_txn_set_fatal_error
@@gen_label2286 DS 0H
BALR 14,15
@@gen_label2287 DS 0H
* ***
* *** rd_kafka_idemp_set_state(rk, RD_KAFKA_IDEMP_ST\
* ATE_FATAL_ERROR);
STG 5,1304(0,13)
MVGHI 1312(13),2
LA 1,1304(0,13)
LG 15,@lit_2033_1657 ; rd_kafka_idemp_set_state
@@gen_label2288 DS 0H
BALR 14,15
@@gen_label2289 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1647 ; rwlock_wrunlock
@@gen_label2290 DS 0H
BALR 14,15
@@gen_label2291 DS 0H
* *** return;
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @ret_lab_2033
DROP 12
USING @REGION_2033_4,12
* ***
* *** case RD_KAFKA_RESP_ERR__UNKNOWN_BROKER:
@L1948 DS 0H
* *** rd_kafka_metadata_refresh_brokers(rk, ((void *\
* )0), errstr);
STG 5,1304(0,13)
XC 1312(8,13),1312(13)
LA 15,232(0,13)
STG 15,1320(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1659 ; rd_kafka_metadata_refresh_brokers
@@gen_label2292 DS 0H
BALR 14,15
@@gen_label2293 DS 0H
* *** break;
B @L1942
* ***
* *** default:
* *** break;
* *** }
@L1941 DS 0H
CHI 3,-146
BNL @@gen_label2294
CHI 3,-197
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @ret_lab_2033
DROP 12
USING @REGION_2033_4,12
B @L1942
@@gen_label2294 DS 0H
CHI 3,-146
BE @L1948
CHI 3,31
BE @L1945
CHI 3,53
BE @L1945
@L1942 DS 0H
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1644 ; rwlock_wrlock
@@gen_label2295 DS 0H
BALR 14,15
@@gen_label2296 DS 0H
* *** rd_kafka_txn_coord_set(rk, ((void *)0),
* *** "Failed to find transaction coo\
* rdinator: %s: %s",
* *** rd_kafka_err2name(err),
* *** *errstr ? errstr : rd_kafka_err\
* 2str(err));
LGFR 15,3
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1661 ; rd_kafka_err2name
@@gen_label2297 DS 0H
BALR 14,15
@@gen_label2298 DS 0H
LGR 2,15
CLI 232(13),0
BNE *+14 Around region break
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @L1950
DROP 12
USING @REGION_2033_4,12
LA 15,232(0,13)
ALGF 12,@lit_region_diff_2033_4_5
DROP 12
USING @REGION_2033_5,12
B @L1951
DROP 12
USING @REGION_2033_4,12
@REGION_2033_5 DS 0H
DROP 12
USING @REGION_2033_5,12
@L1950 DS 0H
LGFR 15,3
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1662 ; rd_kafka_err2str
@@gen_label2300 DS 0H
BALR 14,15
@@gen_label2301 DS 0H
@L1951 DS 0H
STG 5,1304(0,13)
XC 1312(8,13),1312(13)
LG 1,@lit_2033_1663
LA 1,966(0,1)
STMG 1,2,1320(13)
STG 15,1336(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1664 ; rd_kafka_txn_coord_set
@@gen_label2302 DS 0H
BALR 14,15
@@gen_label2303 DS 0H
* *** rwlock_wrunlock(&(rk)->rk_lock);
LA 15,2464(0,5)
STG 15,1304(0,13)
LA 1,1304(0,13)
LG 15,@lit_2033_1665 ; rwlock_wrunlock
@@gen_label2304 DS 0H
BALR 14,15
@@gen_label2305 DS 0H
* *** }
@ret_lab_2033 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@lit_2033_1662 DC AD(rd_kafka_err2str)
@lit_2033_1664 DC AD(rd_kafka_txn_coord_set)
@lit_2033_1663 DC AD(@strings@+4096)
@lit_2033_1665 DC AD(rwlock_wrunlock)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_handle_FindCoordina
* tor"
* (FUNCTION #2033)
*
@AUTO#rd_kafka_txn_handle_$Find$Coordinator DSECT
DS XL168
rd_kafka_txn_handle_$Find$Coordinator#__len0#75 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#74 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#66 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#60 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#59 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#_r#52 DS 8XL1 ; _r
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#_klen#50 DS 1F ; _klen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#44 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#43 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#35 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#29 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#28 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#_r#21 DS 8XL1 ; _r
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#_klen#19 DS 1F ; _klen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#12 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#11 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len0#4 DS 8XL1 ; __len0
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#__len2#3 DS 8XL1 ; __len2
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#_throttle_time_ms#1 DS 1F ; _thro*
ttle_time_ms
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+168
rd_kafka_txn_handle_$Find$Coordinator#log_decode_errors#0 DS 1F ; log_d*
ecode_errors
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+172
rd_kafka_txn_handle_$Find$Coordinator#_v#2 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+176
rd_kafka_txn_handle_$Find$Coordinator#_v#10 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+184
rd_kafka_txn_handle_$Find$Coordinator#_uva#20 DS 8XL1 ; _uva
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+192
rd_kafka_txn_handle_$Find$Coordinator#_v#21 DS 8XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+200
rd_kafka_txn_handle_$Find$Coordinator#_v#27 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+204
rd_kafka_txn_handle_$Find$Coordinator#_v#42 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+208
rd_kafka_txn_handle_$Find$Coordinator#_uva#51 DS 8XL1 ; _uva
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+216
rd_kafka_txn_handle_$Find$Coordinator#_v#52 DS 8XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+224
rd_kafka_txn_handle_$Find$Coordinator#_v#58 DS 2XL1 ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+228
rd_kafka_txn_handle_$Find$Coordinator#_v#73 DS 1F ; _v
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+232
rd_kafka_txn_handle_$Find$Coordinator#errstr#0 DS 512XL1 ; errstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+744
rd_kafka_txn_handle_$Find$Coordinator#$Port#0 DS 1F ; Port
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+748
rd_kafka_txn_handle_$Find$Coordinator#$Node$Id#0 DS 1F ; NodeId
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+752
rd_kafka_txn_handle_$Find$Coordinator#$Host#0 DS 16XL1 ; Host
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+768
rd_kafka_txn_handle_$Find$Coordinator#$Error$Code#0 DS 2XL1 ; ErrorCode
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#_logname#83 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#79 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#70 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#64 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#55 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#48 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#16 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+770
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#8 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+776
rd_kafka_txn_handle_$Find$Coordinator#alen#72 DS 8XL1 ; alen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+776
rd_kafka_txn_handle_$Find$Coordinator#$Error$Msg#18 DS 16XL1 ; ErrorMsg
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+784
rd_kafka_txn_handle_$Find$Coordinator#ulen#72 DS 8XL1 ; ulen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+792
rd_kafka_txn_handle_$Find$Coordinator#alen#41 DS 8XL1 ; alen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+792
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#39 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+792
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#33 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+792
rd_kafka_txn_handle_$Find$Coordinator#__tmpstr#24 DS 256XL1 ; __tmpstr
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+800
rd_kafka_txn_handle_$Find$Coordinator#ulen#41 DS 8XL1 ; ulen
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#80 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#71 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#65 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#56 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#49 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#17 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1026
rd_kafka_txn_handle_$Find$Coordinator#_logname#9 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1048
rd_kafka_txn_handle_$Find$Coordinator#_logname#40 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1048
rd_kafka_txn_handle_$Find$Coordinator#_logname#34 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_handle_$Find$Coordinator+1048
rd_kafka_txn_handle_$Find$Coordinator#_logname#25 DS 256XL1 ; _logname
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_coord_query
rd_kafka_txn_coord_query ALIAS X'99846D92818692816DA3A7956D83969699846D*
98A48599A8'
@LNAME1925 DS 0H
DC X'00000018'
DC C'rd_kafka_txn_coord_query'
DC X'00'
rd_kafka_txn_coord_query DCCPRLG CINDEX=1925,BASER=12,FRAME=776,ENTRY=Y*
ES,ARCH=ZARCH,LNAMEADDR=@LNAME1925
* ******* End of Prologue
* *
LMG 2,3,0(1) ; rk
* *** rd_kafka_resp_err_t err;
* *** char errstr[512];
* *** rd_kafka_broker_t *rkb;
* ***
* *** ((((rk)->rk_conf.eos.transactional_id != ((void *)0)))\
* ? (void)0 : __assert(__func__, "C:\\asgkafka\\librdkafka\\src\\rdka\
* fka_txnmgr.c", 3060, "((rk)->rk_conf.eos.transactional_id != ((void \
* *)0))"));
LTG 15,2024(0,2) ; offset of transactional_id in 0000105
BNE @L1953
@L1952 DS 0H
LG 15,@lit_1925_1702
LA 15,1032(0,15)
STG 15,704(0,13)
LG 15,@lit_1925_1703
LA 15,434(0,15)
STG 15,712(0,13)
MVGHI 720(13),3060
LG 15,@lit_1925_1704
LA 15,708(0,15)
STG 15,728(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1705 ; __assert
@@gen_label2307 DS 0H
BALR 14,15
@@gen_label2308 DS 0H
@L1953 DS 0H
* ***
* *** if (rk->rk_eos.txn_wait_coord) {
CLI 3820(2),0
BE @L1954
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOORD","No\
* t sending coordinator query (%s): " "waiting for previous query to f\
* inish", reason); } while (0);
@L1955 DS 0H
TM 802(2),128
BZ @L1958
LA 15,528(0,2)
STG 15,704(0,13)
STG 2,712(0,13)
XC 720(8,13),720(13)
MVGHI 728(13),7
LLILF 15,X'00008000' ; 32768
STG 15,736(0,13)
LG 15,@lit_1925_1704
LA 1,766(0,15)
STG 1,744(0,13)
LA 15,1014(0,15)
STG 15,752(0,13)
STG 3,760(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1708 ; rd_kafka_log0
@@gen_label2311 DS 0H
BALR 14,15
@@gen_label2312 DS 0H
@L1958 DS 0H
* ***
* ***
* ***
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1925
DS 0D
@FRAMESIZE_1925 DC F'776'
@lit_1925_1705 DC AD(__assert)
@lit_1925_1704 DC AD(@strings@+4096)
@lit_1925_1703 DC AD(@strings@)
@lit_1925_1702 DC AD(@DATA)
@lit_1925_1708 DC AD(rd_kafka_log0)
@lit_1925_1710 DC AD(rd_kafka_idemp_broker_any)
@lit_1925_1714 DC AD(rd_kafka_idemp_check_error)
@lit_1925_1716 DC AD(rd_kafka_txn_coord_timer_restart)
@lit_1925_1722 DC AD(rd_kafka_replyq_make)
@lit_1925_1724 DC AD(rd_kafka_$Find$Coordinator$Request)
@lit_1925_1723 DC AD(rd_kafka_txn_handle_$Find$Coordinator)
@lit_1925_1725 DC AD(rd_kafka_broker_name)
@lit_1925_1726 DC AD(rd_kafka_err2str)
@lit_1925_1728 DC AD(snprintf)
@lit_1925_1729 DC AD(rd_refcnt_sub0)
@lit_1925_1730 DC AD(rd_kafka_broker_destroy_final)
* *** }
@L1954 DS 0H
* ***
* ***
* *** rkb = rd_kafka_idemp_broker_any(rk, &err,
* *** errstr, sizeof(errstr)\
* );
STG 2,704(0,13)
LA 15,168(0,13)
STG 15,712(0,13)
LA 15,172(0,13)
STG 15,720(0,13)
MVGHI 728(13),512
LA 1,704(0,13)
LG 15,@lit_1925_1710 ; rd_kafka_idemp_broker_any
@@gen_label2313 DS 0H
BALR 14,15
@@gen_label2314 DS 0H
LGR 4,15
* *** if (!rkb) {
LTGR 15,4
BNZ @L1965
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) r\
* d_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOORD","Un\
* able to query for transaction coordinator: " "%s: %s", reason, errst\
* r); } while (0);
@L1960 DS 0H
TM 802(2),128
BZ @L1963
LA 15,528(0,2)
STG 15,704(0,13)
STG 2,712(0,13)
XC 720(8,13),720(13)
MVGHI 728(13),7
LLILF 15,X'00008000' ; 32768
STG 15,736(0,13)
LG 15,@lit_1925_1704
LA 1,766(0,15)
STG 1,744(0,13)
LA 15,1088(0,15)
STG 15,752(0,13)
STG 3,760(0,13)
LA 15,172(0,13)
STG 15,768(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1708 ; rd_kafka_log0
@@gen_label2317 DS 0H
BALR 14,15
@@gen_label2318 DS 0H
@L1963 DS 0H
* ***
* ***
* ***
* ***
* *** if (rd_kafka_idemp_check_error(rk, err, errstr\
* , 0))
STG 2,704(0,13)
LGF 15,168(0,13) ; err
STG 15,712(0,13)
LA 15,172(0,13)
STG 15,720(0,13)
XC 728(8,13),728(13)
LA 1,704(0,13)
LG 15,@lit_1925_1714 ; rd_kafka_idemp_check_error
@@gen_label2319 DS 0H
BALR 14,15
@@gen_label2320 DS 0H
NILF 15,X'000000FF'
LTR 15,15
BZ @L1964
* *** return 1;
LGHI 15,1 ; 1
B @ret_lab_1925
@L1964 DS 0H
* ***
* *** rd_kafka_txn_coord_timer_restart(rk, 500);
STG 2,704(0,13)
MVGHI 712(13),500
LA 1,704(0,13)
LG 15,@lit_1925_1716 ; rd_kafka_txn_coord_timer_restart
@@gen_label2322 DS 0H
BALR 14,15
@@gen_label2323 DS 0H
* ***
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1925
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOORD","Querying f\
* or transaction coordinator: %s", reason); } while (0);
@L1965 DS 0H
TM 802(2),128
BZ @L1968
LA 15,528(0,2)
STG 15,704(0,13)
STG 2,712(0,13)
XC 720(8,13),720(13)
MVGHI 728(13),7
LLILF 15,X'00008000' ; 32768
STG 15,736(0,13)
LG 15,@lit_1925_1704
LA 1,766(0,15)
STG 1,744(0,13)
LA 15,1140(0,15)
STG 15,752(0,13)
STG 3,760(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1708 ; rd_kafka_log0
@@gen_label2325 DS 0H
BALR 14,15
@@gen_label2326 DS 0H
@L1968 DS 0H
* ***
* ***
* ***
* *** err = rd_kafka_FindCoordinatorRequest(
* *** rkb, RD_KAFKA_COORD_TXN,
* *** rk->rk_conf.eos.transactional_id,
* *** rd_kafka_replyq_make(rk->rk_ops,0,__FUNCTION__\
* ),
* *** rd_kafka_txn_handle_FindCoordinator, ((void *)\
* 0));
LA 15,688(0,13)
STG 15,704(0,13)
LG 15,8(0,2)
STG 15,712(0,13)
XC 720(8,13),720(13)
LG 15,@lit_1925_1702
LA 15,1032(0,15)
STG 15,728(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1722 ; rd_kafka_replyq_make
@@gen_label2327 DS 0H
BALR 14,15
@@gen_label2328 DS 0H
STG 4,704(0,13)
MVGHI 712(13),1
LG 15,2024(0,2)
STG 15,720(0,13)
MVC 728(16,13),688(13)
LG 15,@lit_1925_1723 ; rd_kafka_txn_handle_FindCoordinator
STG 15,744(0,13)
XC 752(8,13),752(13)
LA 1,704(0,13)
LG 15,@lit_1925_1724 ; rd_kafka_FindCoordinatorRequest
@@gen_label2329 DS 0H
BALR 14,15
@@gen_label2330 DS 0H
ST 15,168(0,13) ; err
* ***
* *** if (err) {
LTR 15,15
BZ @L1975
* *** snprintf(errstr, sizeof(errstr), "Failed to se\
* nd coordinator query to %s: " "%s", rd_kafka_broker_name(rkb), rd_ka\
* fka_err2str(err));
STG 4,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1725 ; rd_kafka_broker_name
@@gen_label2332 DS 0H
BALR 14,15
@@gen_label2333 DS 0H
LGR 3,15
LGF 15,168(0,13) ; err
STG 15,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1726 ; rd_kafka_err2str
@@gen_label2334 DS 0H
BALR 14,15
@@gen_label2335 DS 0H
LA 1,172(0,13)
STG 1,704(0,13)
MVGHI 712(13),512
LG 1,@lit_1925_1704
LA 1,1182(0,1)
STG 1,720(0,13)
STG 3,728(0,13)
STG 15,736(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1728 ; snprintf
@@gen_label2336 DS 0H
BALR 14,15
@@gen_label2337 DS 0H
* ***
* ***
* ***
* ***
* ***
* *** do { if (rd_refcnt_sub0(&(rkb)->rkb_refcnt) > \
* 0) break; rd_kafka_broker_destroy_final(rkb); } while (0);
@L1970 DS 0H
LA 15,4000(0,4)
STG 15,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1729 ; rd_refcnt_sub0
@@gen_label2338 DS 0H
BALR 14,15
@@gen_label2339 DS 0H
LTR 15,15
BH @L1971
@L1973 DS 0H
STG 4,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1730 ; rd_kafka_broker_destroy_final
@@gen_label2341 DS 0H
BALR 14,15
@@gen_label2342 DS 0H
@L1971 DS 0H
* ***
* *** if (rd_kafka_idemp_check_error(rk, err, errstr\
* , 0))
STG 2,704(0,13)
LGF 15,168(0,13) ; err
STG 15,712(0,13)
LA 15,172(0,13)
STG 15,720(0,13)
XC 728(8,13),728(13)
LA 1,704(0,13)
LG 15,@lit_1925_1714 ; rd_kafka_idemp_check_error
@@gen_label2343 DS 0H
BALR 14,15
@@gen_label2344 DS 0H
NILF 15,X'000000FF'
LTR 15,15
BZ @L1974
* *** return 1;
LGHI 15,1 ; 1
B @ret_lab_1925
@L1974 DS 0H
* ***
* *** rd_kafka_txn_coord_timer_restart(rk, 500);
STG 2,704(0,13)
MVGHI 712(13),500
LA 1,704(0,13)
LG 15,@lit_1925_1716 ; rd_kafka_txn_coord_timer_restart
@@gen_label2346 DS 0H
BALR 14,15
@@gen_label2347 DS 0H
* ***
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1925
* *** }
* ***
* *** do { if (rd_refcnt_sub0(&(rkb)->rkb_refcnt) > 0) break\
* ; rd_kafka_broker_destroy_final(rkb); } while (0);
@L1975 DS 0H
LA 15,4000(0,4)
STG 15,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1729 ; rd_refcnt_sub0
@@gen_label2348 DS 0H
BALR 14,15
@@gen_label2349 DS 0H
LTR 15,15
BH @L1976
@L1978 DS 0H
STG 4,704(0,13)
LA 1,704(0,13)
LG 15,@lit_1925_1730 ; rd_kafka_broker_destroy_final
@@gen_label2351 DS 0H
BALR 14,15
@@gen_label2352 DS 0H
@L1976 DS 0H
* ***
* *** rk->rk_eos.txn_wait_coord = 1;
MVI 3820(2),1 ; offset of txn_wait_coord in 0000146
* ***
* *** return 0;
LGHI 15,0 ; 0
* *** }
@ret_lab_1925 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_coord_query"
* (FUNCTION #1925)
*
@AUTO#rd_kafka_txn_coord_query DSECT
DS XL168
rd_kafka_txn_coord_query#err#0 DS 1F ; err
rd_kafka_txn_coord_query#errstr#0 DS 512XL1 ; errstr
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_coord_set
rd_kafka_txn_coord_set ALIAS X'99846D92818692816DA3A7956D83969699846DA2*
85A3'
@LNAME1926 DS 0H
DC X'00000016'
DC C'rd_kafka_txn_coord_set'
DC X'00'
rd_kafka_txn_coord_set DCCPRLG CINDEX=1926,BASER=12,FRAME=504,ENTRY=YES*
,ARCH=ZARCH,LNAMEADDR=@LNAME1926
* ******* End of Prologue
* *
* *** char buf[256];
LMG 2,3,0(1) ; rk
* *** va_list ap;
* ***
* *** ((ap) = (va_list)&(fmt) + ((__builtin_classify_type(fm\
* t) == 1 || __builtin_classify_type(fmt) == 2 || __builtin_classify_t\
* ype(fmt) == 4) ? sizeof(fmt) : (((sizeof(fmt) + sizeof(long) - 1) & \
* ~(sizeof(long) -1)))));
LA 15,24(0,1)
* *** vsnprintf(buf, sizeof(buf), fmt, ap);
LA 4,168(0,13)
STG 4,424(0,13)
MVGHI 432(13),256
LG 1,16(0,1) ; fmt
STG 1,440(0,13)
STG 15,448(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1739 ; vsnprintf
@@gen_label2353 DS 0H
BALR 14,15
@@gen_label2354 DS 0H
* *** ;
* ***
* ***
* *** if (rk->rk_eos.txn_curr_coord == rkb) {
LG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
CGR 15,3
BNE @L1985
* *** if (!rkb) {
LTGR 15,3
BNZ @L1980
* *** do { if ((((rk)->rk_conf.debug & (0x80\
* 00)))) rd_kafka_log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCO\
* ORD","%s", buf); } while (0);
@L1981 DS 0H
TM 802(2),128
BZ @L1984
LA 15,528(0,2)
STG 15,424(0,13)
STG 2,432(0,13)
XC 440(8,13),440(13)
MVGHI 448(13),7
LLILF 15,X'00008000' ; 32768
STG 15,456(0,13)
LG 15,@lit_1926_1741
LA 15,766(0,15)
STG 15,464(0,13)
LG 15,@lit_1926_1742
LA 15,290(0,15)
STG 15,472(0,13)
LA 15,168(0,13)
STG 15,480(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1743 ; rd_kafka_log0
@@gen_label2358 DS 0H
BALR 14,15
@@gen_label2359 DS 0H
@L1984 DS 0H
* ***
* *** rd_kafka_txn_coord_timer_restart(rk, 5\
* 00);
STG 2,424(0,13)
MVGHI 432(13),500
LA 1,424(0,13)
LG 15,@lit_1926_1744 ; rd_kafka_txn_coord_timer_restart
@@gen_label2360 DS 0H
BALR 14,15
@@gen_label2361 DS 0H
* *** }
@L1980 DS 0H
* *** return 0;
LGHI 15,0 ; 0
B @ret_lab_1926
DS 0D
@FRAMESIZE_1926 DC F'504'
@lit_1926_1739 DC AD(vsnprintf)
@lit_1926_1743 DC AD(rd_kafka_log0)
@lit_1926_1742 DC AD(@strings@)
@lit_1926_1741 DC AD(@strings@+4096)
@lit_1926_1744 DC AD(rd_kafka_txn_coord_timer_restart)
@lit_1926_1746 DC AD(rd_kafka_broker_name)
@lit_1926_1753 DC AD(rd_refcnt_sub0)
@lit_1926_1754 DC AD(rd_kafka_broker_destroy_final)
@lit_1926_1755 DC AD(rd_atomic32_add)
@lit_1926_1756 DC AD(rd_kafka_broker_set_nodename)
@lit_1926_1758 DC AD(rd_kafka_idemp_pid_fsm)
* *** }
* ***
* *** do { if ((((rk)->rk_conf.debug & (0x8000)))) rd_kafka_\
* log0(&rk->rk_conf,rk,((void *)0), 7,(0x8000), "TXNCOORD","Transactio\
* n coordinator changed from %s -> %s: %s", rk->rk_eos.txn_curr_coord \
* ? rd_kafka_broker_name(rk->rk_eos.txn_curr_coord) : "(none)", rkb ? \
* rd_kafka_broker_name(rkb) : "(none)", buf); } while (0);
@L1985 DS 0H
TM 802(2),128
BZ @L1988
LTG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
BZ @L1989
LG 15,3408(0,2)
STG 15,424(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1746 ; rd_kafka_broker_name
@@gen_label2364 DS 0H
BALR 14,15
@@gen_label2365 DS 0H
LGR 4,15
B @L1990
@L1989 DS 0H
LG 15,@lit_1926_1742
LA 4,2702(0,15)
@L1990 DS 0H
LTGR 15,3
BZ @L1991
STG 3,424(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1746 ; rd_kafka_broker_name
@@gen_label2367 DS 0H
BALR 14,15
@@gen_label2368 DS 0H
B @L1992
@L1991 DS 0H
LG 15,@lit_1926_1742
LA 15,2702(0,15)
@L1992 DS 0H
LA 1,528(0,2)
STMG 1,2,424(13)
XC 440(8,13),440(13)
MVGHI 448(13),7
LLILF 1,X'00008000' ; 32768
STG 1,456(0,13)
LG 1,@lit_1926_1741
LA 5,766(0,1)
STG 5,464(0,13)
LA 1,1226(0,1)
STG 1,472(0,13)
STG 4,480(0,13)
STG 15,488(0,13)
LA 15,168(0,13)
STG 15,496(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1743 ; rd_kafka_log0
@@gen_label2369 DS 0H
BALR 14,15
@@gen_label2370 DS 0H
@L1988 DS 0H
* ***
* *** # 3156 "C:\asgkafka\librdkafka\src\rdkafka_txnmgr.c"
* *** if (rk->rk_eos.txn_curr_coord)
LTG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
BZ @L1993
* *** do { if (rd_refcnt_sub0(&(rk->rk_eos.txn_curr_\
* coord)->rkb_refcnt) > 0) break; rd_kafka_broker_destroy_final(rk->rk\
* _eos.txn_curr_coord); } while (0);
@L1994 DS 0H
LG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
LA 15,4000(0,15)
STG 15,424(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1753 ; rd_refcnt_sub0
@@gen_label2372 DS 0H
BALR 14,15
@@gen_label2373 DS 0H
LTR 15,15
BH @L1993
@L1997 DS 0H
LG 15,3408(0,2)
STG 15,424(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1754 ; rd_kafka_broker_destroy_final
@@gen_label2375 DS 0H
BALR 14,15
@@gen_label2376 DS 0H
@L1995 DS 0H
* ***
* *** rk->rk_eos.txn_curr_coord = rkb;
@L1993 DS 0H
STG 3,3408(0,2) ; offset of txn_curr_coord in 0000146
* *** if (rkb)
LTGR 15,3
BZ @L1998
* *** rd_atomic32_add(&(rkb)->rkb_refcnt, 1);
LA 15,4000(0,3)
STG 15,424(0,13)
MVGHI 432(13),1
LA 1,424(0,13)
LG 15,@lit_1926_1755 ; rd_atomic32_add
@@gen_label2378 DS 0H
BALR 14,15
@@gen_label2379 DS 0H
@L1998 DS 0H
* ***
* *** rd_kafka_broker_set_nodename(rk->rk_eos.txn_coord,
* *** rk->rk_eos.txn_curr_coord\
* );
LG 15,3400(0,2)
STG 15,424(0,13)
LG 15,3408(0,2)
STG 15,432(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1756 ; rd_kafka_broker_set_nodename
@@gen_label2380 DS 0H
BALR 14,15
@@gen_label2381 DS 0H
* ***
* *** if (!rkb) {
LTGR 15,3
BNZ @L1999
* ***
* *** rd_kafka_txn_coord_timer_restart(rk, 500);
STG 2,424(0,13)
MVGHI 432(13),500
LA 1,424(0,13)
LG 15,@lit_1926_1744 ; rd_kafka_txn_coord_timer_restart
@@gen_label2383 DS 0H
BALR 14,15
@@gen_label2384 DS 0H
* *** } else {
B @L2000
@L1999 DS 0H
* ***
* *** rd_kafka_idemp_pid_fsm(rk);
STG 2,424(0,13)
LA 1,424(0,13)
LG 15,@lit_1926_1758 ; rd_kafka_idemp_pid_fsm
@@gen_label2385 DS 0H
BALR 14,15
@@gen_label2386 DS 0H
* *** }
@L2000 DS 0H
* ***
* *** return 1;
LGHI 15,1 ; 1
* *** }
@ret_lab_1926 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_coord_set"
* (FUNCTION #1926)
*
@AUTO#rd_kafka_txn_coord_set DSECT
DS XL168
rd_kafka_txn_coord_set#buf#0 DS 256XL1 ; buf
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txn_coord_monitor_cb
rd_kafka_txn_coord_monitor_cb ALIAS X'99846D92818692816DA3A7956D8396969*
9846D94969589A396996D8382'
@LNAME2034 DS 0H
DC X'0000001D'
DC C'rd_kafka_txn_coord_monitor_cb'
DC X'00'
rd_kafka_txn_coord_monitor_cb DCCPRLG CINDEX=2034,BASER=12,FRAME=496,EN*
TRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME2034
* ******* End of Prologue
* *
* *** rd_kafka_t *rk = rkb->rkb_rk;
LG 2,0(0,1) ; rkb
LG 3,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
* *** rd_kafka_broker_state_t state = rd_kafka_broker_get_st\
* ate(rkb);
STG 2,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1761 ; rd_kafka_broker_get_state
@@gen_label2387 DS 0H
BALR 14,15
@@gen_label2388 DS 0H
LR 4,15
* *** rd_bool_t is_up;
* ***
* *** ((rk->rk_eos.txn_coord == rkb) ? (void)0 : __assert(__\
* func__, "C:\\asgkafka\\librdkafka\\src\\rdkafka_txnmgr.c", 3189, "rk\
* ->rk_eos.txn_coord == rkb"));
LG 15,3400(0,3) ; offset of txn_coord in 0000146
CGR 15,2
BE @L2002
@L2001 DS 0H
LG 15,@lit_2034_1762
LA 15,1058(0,15)
STG 15,432(0,13)
LG 15,@lit_2034_1763
LA 15,434(0,15)
STG 15,440(0,13)
MVGHI 448(13),3189
LG 15,@lit_2034_1764
LA 15,1276(0,15)
STG 15,456(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1765 ; __assert
@@gen_label2390 DS 0H
BALR 14,15
@@gen_label2391 DS 0H
@L2002 DS 0H
* ***
* *** is_up = ((state) == RD_KAFKA_BROKER_STATE_UP || (state\
* ) == RD_KAFKA_BROKER_STATE_UPDATE);
CHI 4,6
BE @L2003
CHI 4,7
BNE @L2005
@L2003 DS 0H
LHI 15,1 ; 1
B @L2004
DS 0D
@FRAMESIZE_2034 DC F'496'
@lit_2034_1761 DC AD(rd_kafka_broker_get_state)
@lit_2034_1765 DC AD(__assert)
@lit_2034_1764 DC AD(@strings@+4096)
@lit_2034_1763 DC AD(@strings@)
@lit_2034_1762 DC AD(@DATA)
@lit_2034_1769 DC AD(mtx_lock)
@lit_2034_1771 DC AD(rd_strlcpy)
@lit_2034_1773 DC AD(mtx_unlock)
@lit_2034_1778 DC AD(rd_kafka_log0)
@lit_2034_1779 DC AD(rd_kafka_txn_coord_timer_restart)
@lit_2034_1780 DC AD(rwlock_wrlock)
@lit_2034_1781 DC AD(rd_kafka_idemp_pid_fsm)
@lit_2034_1782 DC AD(rd_kafka_txn_schedule_register_partitions)
@lit_2034_1783 DC AD(rwlock_wrunlock)
@L2005 DS 0H
LHI 15,0 ; 0
@L2004 DS 0H
STC 15,424(0,13) ; is_up
* *** do { if ((((rkb)->rkb_rk->rk_conf.debug & (0x8000)))) \
* { do { char _logname[256]; mtx_lock(&(rkb)->rkb_logname_lock); rd_st\
* rlcpy(_logname, rkb->rkb_logname, sizeof(_logname)); mtx_unlock(&(rk\
* b)->rkb_logname_lock); rd_kafka_log0(&(rkb)->rkb_rk->rk_conf, (rkb)-\
* >rkb_rk, _logname, 7, (0x8000), "COORD", "Transaction coordinator is\
* now %s", is_up ? "up" : "down"); } while (0); } } while (0);
@L2006 DS 0H
LG 15,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
TM 802(15),128
BZ @L2009
@L2010 DS 0H
LGHI 4,5688 ; 5688
LA 15,0(4,2)
STG 15,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1769 ; mtx_lock
@@gen_label2395 DS 0H
BALR 14,15
@@gen_label2396 DS 0H
LA 15,168(0,13)
STG 15,432(0,13)
LGHI 15,5680 ; 5680
LG 15,0(15,2)
STG 15,440(0,13)
MVGHI 448(13),256
LA 1,432(0,13)
LG 15,@lit_2034_1771 ; rd_strlcpy
@@gen_label2397 DS 0H
BALR 14,15
@@gen_label2398 DS 0H
LA 15,0(4,2)
STG 15,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1773 ; mtx_unlock
@@gen_label2399 DS 0H
BALR 14,15
@@gen_label2400 DS 0H
CLI 424(13),0
BE @L2013
LG 15,@lit_2034_1764
LA 15,1304(0,15)
B @L2014
@L2013 DS 0H
LG 15,@lit_2034_1764
LA 15,1308(0,15)
@L2014 DS 0H
LG 1,4048(0,2) ; offset of rkb_rk in rd_kafka_broker_s
LA 1,528(0,1)
STG 1,432(0,13)
LG 1,4048(0,2)
STG 1,440(0,13)
LA 1,168(0,13)
STG 1,448(0,13)
MVGHI 456(13),7
LLILF 1,X'00008000' ; 32768
STG 1,464(0,13)
LG 1,@lit_2034_1764
LA 2,1314(0,1)
STG 2,472(0,13)
LA 1,1320(0,1)
STG 1,480(0,13)
STG 15,488(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1778 ; rd_kafka_log0
@@gen_label2402 DS 0H
BALR 14,15
@@gen_label2403 DS 0H
@L2009 DS 0H
* ***
* ***
* ***
* *** if (!is_up) {
CLI 424(13),0
BNE @L2015
* ***
* ***
* ***
* *** rd_kafka_txn_coord_timer_restart(rk, 500);
STG 3,432(0,13)
MVGHI 440(13),500
LA 1,432(0,13)
LG 15,@lit_2034_1779 ; rd_kafka_txn_coord_timer_restart
@@gen_label2405 DS 0H
BALR 14,15
@@gen_label2406 DS 0H
* ***
* *** } else {
B @L2016
@L2015 DS 0H
* ***
* ***
* *** rwlock_wrlock(&(rk)->rk_lock);
LA 15,2464(0,3)
STG 15,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1780 ; rwlock_wrlock
@@gen_label2407 DS 0H
BALR 14,15
@@gen_label2408 DS 0H
* *** if (rk->rk_eos.idemp_state < RD_KAFKA_IDEMP_ST\
* ATE_ASSIGNED) {
CHSI 3184(3),6
BNL @L2017
* ***
* *** rd_kafka_idemp_pid_fsm(rk);
STG 3,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1781 ; rd_kafka_idemp_pid_fsm
@@gen_label2410 DS 0H
BALR 14,15
@@gen_label2411 DS 0H
* ***
* *** } else if (rk->rk_eos.idemp_state ==
B @L2018
@L2017 DS 0H
* *** RD_KAFKA_IDEMP_STATE_ASSIGNED) {
CHSI 3184(3),6
BNE @L2018
* ***
* ***
* *** rd_kafka_txn_schedule_register_partiti\
* ons(rk,
* *** \
* 1);
STG 3,432(0,13)
MVGHI 440(13),1
LA 1,432(0,13)
LG 15,@lit_2034_1782 ; rd_kafka_txn_schedule_register_parti*
tions
@@gen_label2413 DS 0H
BALR 14,15
@@gen_label2414 DS 0H
* *** }
@L2019 DS 0H
* ***
* *** rwlock_wrunlock(&(rk)->rk_lock);
@L2018 DS 0H
LA 15,2464(0,3)
STG 15,432(0,13)
LA 1,432(0,13)
LG 15,@lit_2034_1783 ; rwlock_wrunlock
@@gen_label2415 DS 0H
BALR 14,15
@@gen_label2416 DS 0H
* *** }
@L2016 DS 0H
* *** }
@ret_lab_2034 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txn_coord_monitor_cb"
* (FUNCTION #2034)
*
@AUTO#rd_kafka_txn_coord_monitor_cb DSECT
DS XL168
rd_kafka_txn_coord_monitor_cb#_logname#3 DS 256XL1 ; _logname
ORG @AUTO#rd_kafka_txn_coord_monitor_cb+168
rd_kafka_txn_coord_monitor_cb#state#0 DS 1F ; state
ORG @AUTO#rd_kafka_txn_coord_monitor_cb+424
rd_kafka_txn_coord_monitor_cb#is_up#0 DS 1CL1 ; is_up
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txns_term
rd_kafka_txns_term ALIAS X'99846D92818692816DA3A795A26DA3859994'
@LNAME1927 DS 0H
DC X'00000012'
DC C'rd_kafka_txns_term'
DC X'00'
rd_kafka_txns_term DCCPRLG CINDEX=1927,BASER=12,FRAME=192,ENTRY=YES,ARC*
H=ZARCH,LNAMEADDR=@LNAME1927
* ******* End of Prologue
* *
* *** do { if ((rk->rk_eos.txn_init_rkq)) rd_kafka_q_destroy\
* 0(rk->rk_eos.txn_init_rkq, 0 ); } while (0);
LG 2,0(0,1) ; rk
@L2020 DS 0H
LTG 15,3592(0,2) ; offset of txn_init_rkq in 0000146
BZ @L2023
LG 15,3592(0,2)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_1927_1785 ; rd_kafka_q_destroy0
@@gen_label2418 DS 0H
BALR 14,15
@@gen_label2419 DS 0H
@L2023 DS 0H
* ***
* *** do { if ((rk->rk_eos.txn_errstr)) rd_free(rk->rk_eos.t\
* xn_errstr); } while (0);
@L2024 DS 0H
LTG 15,3808(0,2) ; offset of txn_errstr in 0000146
BZ @L2027
LG 15,3808(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1786 ; rd_free
@@gen_label2421 DS 0H
BALR 14,15
@@gen_label2422 DS 0H
@L2027 DS 0H
* ***
* *** rd_kafka_timer_stop(&rk->rk_timers,
* *** &rk->rk_eos.txn_coord_tmr, 1);
LGHI 3,4112 ; 4112
LA 15,0(3,2)
STG 15,168(0,13)
LA 15,3824(0,2)
STG 15,176(0,13)
MVGHI 184(13),1
LA 1,168(0,13)
LG 4,@lit_1927_1788 ; rd_kafka_timer_stop
LGR 15,4
@@gen_label2423 DS 0H
BALR 14,15
@@gen_label2424 DS 0H
* *** rd_kafka_timer_stop(&rk->rk_timers,
* *** &rk->rk_eos.txn_register_parts_tmr\
* , 1);
LA 15,0(3,2)
STG 15,168(0,13)
LA 15,3608(0,2)
STG 15,176(0,13)
MVGHI 184(13),1
LA 1,168(0,13)
LGR 15,4
@@gen_label2425 DS 0H
BALR 14,15
@@gen_label2426 DS 0H
* ***
* *** if (rk->rk_eos.txn_curr_coord)
LTG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
BZ @L2028
* *** do { if (rd_refcnt_sub0(&(rk->rk_eos.txn_curr_\
* coord)->rkb_refcnt) > 0) break; rd_kafka_broker_destroy_final(rk->rk\
* _eos.txn_curr_coord); } while (0);
@L2029 DS 0H
LG 15,3408(0,2) ; offset of txn_curr_coord in 0000146
LA 15,4000(0,15)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1791 ; rd_refcnt_sub0
@@gen_label2428 DS 0H
BALR 14,15
@@gen_label2429 DS 0H
LTR 15,15
BH @L2028
@L2032 DS 0H
LG 15,3408(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1792 ; rd_kafka_broker_destroy_final
@@gen_label2431 DS 0H
BALR 14,15
@@gen_label2432 DS 0H
@L2030 DS 0H
* ***
* ***
* *** rd_kafka_broker_persistent_connection_del(
@L2028 DS 0H
* *** rk->rk_eos.txn_coord,
* *** &rk->rk_eos.txn_coord->rkb_persistconn.coord);
LG 15,3400(0,2)
STG 15,168(0,13)
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LGHI 1,5752 ; 5752
LA 15,8(1,15)
STG 15,176(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1794 ; rd_kafka_broker_persistent_connectio*
n_del
@@gen_label2433 DS 0H
BALR 14,15
@@gen_label2434 DS 0H
* *** rd_kafka_broker_monitor_del(&rk->rk_eos.txn_coord_mon)\
* ;
LA 15,3416(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1795 ; rd_kafka_broker_monitor_del
@@gen_label2435 DS 0H
BALR 14,15
@@gen_label2436 DS 0H
* *** do { if (rd_refcnt_sub0(&(rk->rk_eos.txn_coord)->rkb_r\
* efcnt) > 0) break; rd_kafka_broker_destroy_final(rk->rk_eos.txn_coor\
* d); } while (0);
@L2033 DS 0H
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LA 15,4000(0,15)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1791 ; rd_refcnt_sub0
@@gen_label2437 DS 0H
BALR 14,15
@@gen_label2438 DS 0H
LTR 15,15
BH @L2034
@L2036 DS 0H
LG 15,3400(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1792 ; rd_kafka_broker_destroy_final
@@gen_label2440 DS 0H
BALR 14,15
@@gen_label2441 DS 0H
@L2034 DS 0H
* *** rk->rk_eos.txn_coord = ((void *)0);
LGHI 15,0 ; 0
STG 15,3400(0,2) ; offset of txn_coord in 0000146
* ***
* *** mtx_lock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1799 ; mtx_lock
@@gen_label2442 DS 0H
BALR 14,15
@@gen_label2443 DS 0H
* *** rd_kafka_txn_clear_pending_partitions(rk);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1800 ; rd_kafka_txn_clear_pending_partition*
s
@@gen_label2444 DS 0H
BALR 14,15
@@gen_label2445 DS 0H
* *** mtx_unlock(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1801 ; mtx_unlock
@@gen_label2446 DS 0H
BALR 14,15
@@gen_label2447 DS 0H
* *** mtx_destroy(&rk->rk_eos.txn_pending_lock);
LA 15,3664(0,2)
STG 15,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1802 ; mtx_destroy
@@gen_label2448 DS 0H
BALR 14,15
@@gen_label2449 DS 0H
* ***
* *** rd_kafka_txn_clear_partitions(rk);
STG 2,168(0,13)
LA 1,168(0,13)
LG 15,@lit_1927_1803 ; rd_kafka_txn_clear_partitions
@@gen_label2450 DS 0H
BALR 14,15
@@gen_label2451 DS 0H
* *** }
@ret_lab_1927 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1927 DC F'192'
@lit_1927_1785 DC AD(rd_kafka_q_destroy0)
@lit_1927_1786 DC AD(rd_free)
@lit_1927_1788 DC AD(rd_kafka_timer_stop)
@lit_1927_1791 DC AD(rd_refcnt_sub0)
@lit_1927_1792 DC AD(rd_kafka_broker_destroy_final)
@lit_1927_1794 DC AD(rd_kafka_broker_persistent_connection_del)
@lit_1927_1795 DC AD(rd_kafka_broker_monitor_del)
@lit_1927_1799 DC AD(mtx_lock)
@lit_1927_1800 DC AD(rd_kafka_txn_clear_pending_partitions)
@lit_1927_1801 DC AD(mtx_unlock)
@lit_1927_1802 DC AD(mtx_destroy)
@lit_1927_1803 DC AD(rd_kafka_txn_clear_partitions)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txns_term"
* (FUNCTION #1927)
*
@AUTO#rd_kafka_txns_term DSECT
DS XL168
*
@CODE CSECT
*
*
*
* ....... start of rd_kafka_txns_init
rd_kafka_txns_init ALIAS X'99846D92818692816DA3A795A26D899589A3'
@LNAME1928 DS 0H
DC X'00000012'
DC C'rd_kafka_txns_init'
DC X'00'
rd_kafka_txns_init DCCPRLG CINDEX=1928,BASER=12,FRAME=200,ENTRY=YES,ARC*
H=ZARCH,LNAMEADDR=@LNAME1928
* ******* End of Prologue
* *
* *** rd_atomic32_init(&rk->rk_eos.txn_may_enq, 0);
LG 2,0(0,1) ; rk
LA 15,3328(0,2)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_1928_1805 ; rd_atomic32_init
@@gen_label2452 DS 0H
BALR 14,15
@@gen_label2453 DS 0H
* *** mtx_init(&rk->rk_eos.txn_pending_lock, 0);
LA 15,3664(0,2)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_1928_1806 ; mtx_init
@@gen_label2454 DS 0H
BALR 14,15
@@gen_label2455 DS 0H
* *** do { (&rk->rk_eos.txn_pending_rktps)->tqh_first = (((v\
* oid *)0)); (&rk->rk_eos.txn_pending_rktps)->tqh_last = &(&rk->rk_eos\
* .txn_pending_rktps)->tqh_first; } while ( 0);
@L2037 DS 0H
LGHI 15,0 ; 0
STG 15,3704(0,2) ; offset of txn_pending_rktps in 0000146
LA 15,3704(0,2)
STG 15,3712(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
* *** do { (&rk->rk_eos.txn_waitresp_rktps)->tqh_first = (((\
* void *)0)); (&rk->rk_eos.txn_waitresp_rktps)->tqh_last = &(&rk->rk_e\
* os.txn_waitresp_rktps)->tqh_first; } while ( 0);
@L2040 DS 0H
LGHI 15,0 ; 0
STG 15,3720(0,2) ; offset of txn_waitresp_rktps in 0000146
LA 15,3720(0,2)
STG 15,3728(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
* *** do { (&rk->rk_eos.txn_rktps)->tqh_first = (((void *)0)\
* ); (&rk->rk_eos.txn_rktps)->tqh_last = &(&rk->rk_eos.txn_rktps)->tqh\
* _first; } while ( 0);
@L2043 DS 0H
LGHI 15,0 ; 0
STG 15,3736(0,2) ; offset of txn_rktps in 0000146
LA 15,3736(0,2)
STG 15,3744(0,2) ; offset of tqh_last in rd_kafka_toppar_tqh*
ead_s
* ***
* ***
* *** rk->rk_eos.txn_coord =
* *** rd_kafka_broker_add_logical(rk, "TxnCoordinato\
* r");
STG 2,168(0,13)
LG 15,@lit_1928_1810
LA 15,1354(0,15)
STG 15,176(0,13)
LA 1,168(0,13)
LG 15,@lit_1928_1811 ; rd_kafka_broker_add_logical
@@gen_label2456 DS 0H
BALR 14,15
@@gen_label2457 DS 0H
STG 15,3400(0,2)
* ***
* *** rd_kafka_broker_monitor_add(&rk->rk_eos.txn_coord_mon,
* *** rk->rk_eos.txn_coord,
* *** rk->rk_ops,
* *** rd_kafka_txn_coord_monitor\
* _cb);
LA 15,3416(0,2)
STG 15,168(0,13)
LG 15,3400(0,2)
STG 15,176(0,13)
LG 15,8(0,2)
STG 15,184(0,13)
LG 15,@lit_1928_1812 ; rd_kafka_txn_coord_monitor_cb
STG 15,192(0,13)
LA 1,168(0,13)
LG 15,@lit_1928_1813 ; rd_kafka_broker_monitor_add
@@gen_label2458 DS 0H
BALR 14,15
@@gen_label2459 DS 0H
* ***
* *** rd_kafka_broker_persistent_connection_add(
* *** rk->rk_eos.txn_coord,
* *** &rk->rk_eos.txn_coord->rkb_persistconn.coord);
LG 15,3400(0,2)
STG 15,168(0,13)
LG 15,3400(0,2) ; offset of txn_coord in 0000146
LGHI 1,5752 ; 5752
LA 15,8(1,15)
STG 15,176(0,13)
LA 1,168(0,13)
LG 15,@lit_1928_1815 ; rd_kafka_broker_persistent_connectio*
n_add
@@gen_label2460 DS 0H
BALR 14,15
@@gen_label2461 DS 0H
* ***
* *** rd_atomic64_init(&rk->rk_eos.txn_dr_fails, 0);
LA 15,3752(0,2)
STG 15,168(0,13)
XC 176(8,13),176(13)
LA 1,168(0,13)
LG 15,@lit_1928_1816 ; rd_atomic64_init
@@gen_label2462 DS 0H
BALR 14,15
@@gen_label2463 DS 0H
* *** }
@ret_lab_1928 DS 0H
* * **** Start of Epilogue
DCCEPIL
* * **** End of Epilogue
DS 0D
@FRAMESIZE_1928 DC F'200'
@lit_1928_1805 DC AD(rd_atomic32_init)
@lit_1928_1806 DC AD(mtx_init)
@lit_1928_1811 DC AD(rd_kafka_broker_add_logical)
@lit_1928_1810 DC AD(@strings@+4096)
@lit_1928_1813 DC AD(rd_kafka_broker_monitor_add)
@lit_1928_1812 DC AD(rd_kafka_txn_coord_monitor_cb)
@lit_1928_1815 DC AD(rd_kafka_broker_persistent_connection_add)
@lit_1928_1816 DC AD(rd_atomic64_init)
DROP 12
*
* DSECT for automatic variables in "rd_kafka_txns_init"
* (FUNCTION #1928)
*
@AUTO#rd_kafka_txns_init DSECT
DS XL168
*
@CODE CSECT
@@STATIC ALIAS X'7C998492818692816DA3A79594879950'
@@STATIC DXD 219D
*
* Non-Re-Entrant Data Section
*
@DATA CSECT
@DATA RMODE ANY
@DATA AMODE ANY
@@T349 DC X'99846D838193939683' rd.calloc
DC 1X'00'
@@T34D DC X'99846D948193939683' rd.malloc
DC 1X'00'
@@T352 DC X'99846D99858193939683' rd.realloc
DC 2X'00'
@@T358 DC X'99846DA2A39984A497' rd.strdup
DC 1X'00'
@@T35D DC X'99846DA2A3999584A497' rd.strndup
DC 2X'00'
@@T365 DC X'99846D9985868395A36DA2A482F0' rd.refcnt.sub0
DC 4X'00'
@@T65A DC 4X'00'
DC X'0000001A000000000000002200000000' ................
DC X'00000024' ....
@@T67D DC X'99846D92818692816D94A287986D8485' rd.kafka.msgq.de
DC X'98' q
DC 1X'00'
@@T704 DC X'99846D92818692816D986D8485A2A399' rd.kafka.q.destr
DC X'96A8F0' oy0
DC 1X'00'
@@T785 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856D8485A2A39996A8F0' e.destroy0
DC 2X'00'
@@T78D DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856D8485936DA296A4998385' e.del.source
DC 2X'00'
@@T794 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856D8485936DA296A49983856D9985A3' e.del.source.ret
DC X'A49995' urn
DC 1X'00'
@@T79C DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856DA3998987878599' e.trigger
DC 1X'00'
@@T7A0 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856D8485A2A39996A8' e.destroy
DC 1X'00'
@@T7A5 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc
DC X'856D8489A281829385' e.disable
DC 1X'00'
@@T7C5 DC X'99846DA394978182A4866D8193939683' rd.tmpabuf.alloc
DC X'F0' 0
DC 1X'00'
@@T7F9 DC X'99846D92818692816D82A4866DA49784' rd.kafka.buf.upd
DC X'81A385' ate
DC 1X'00'
@@T81A DC X'99846D92818692816D82A4866D868995' rd.kafka.buf.fin
DC X'819389A9856D81999981A88395A3' alize.arraycnt
DC 2X'00'
@@T857 DC X'99846D92818692816D82A4866D839983' rd.kafka.buf.crc
DC X'6D899589A3' .init
DC 1X'00'
@@TA27 DC X'99846D92818692816D83A499996D94A2' rd.kafka.curr.ms
DC X'87A26DA2A482' gs.sub
DC 2X'00'
@@TA61 DC X'99846D92818692816DA3A7956D818484' rd.kafka.txn.add
DC X'6D978199A389A3899695' .partition
DC 2X'00'
@@TAC7 DC X'99846D92818692816DA3A7956DA2A381' rd.kafka.txn.sta
DC X'A3856DA3998195A289A38996956D89A2' te.transition.is
DC X'6DA581938984' .valid
DC 2X'00'
@@TACC DC X'99846D92818692816DA3A7956DA285A3' rd.kafka.txn.set
DC X'6DA2A381A385' .state
DC 2X'00'
@@TAEE DC X'99846D92818692816DA3A7956D978199' rd.kafka.txn.par
DC X'A389A38996956D99858789A2A3859985' tition.registere
DC X'84' d
DC 1X'00'
@@TAFB DC X'99846D92818692816DA3A7956D888195' rd.kafka.txn.han
DC X'8493856DC18484D78199A389A3899695' dle.AddPartition
DC X'A2E396E3A795' sToTxn
DC 2X'00'
@@TB4E DC X'99846D92818692816DA3A7956D998587' rd.kafka.txn.reg
DC X'89A2A385996D978199A389A3899695A2' ister.partitions
DC 2X'00'
@@TB83 DC X'99846D92818692816DA3A7956D83A499' rd.kafka.txn.cur
DC X'996D8197896D998598' r.api.req
DC 1X'00'
@@TB96 DC X'99846D92818692816D899589A36DA399' rd.kafka.init.tr
DC X'8195A28183A3899695A2' ansactions
DC 2X'00'
@@TB9E DC X'99846D92818692816DA3A7956D96976D' rd.kafka.txn.op.
DC X'82858789956DA3998195A28183A38996' begin.transactio
DC X'95' n
DC 1X'00'
@@TBB3 DC X'99846D92818692816DA3A7956D888195' rd.kafka.txn.han
DC X'8493856DE3A795D68686A285A3C39694' dle.TxnOffsetCom
DC X'9489A3' mit
DC 1X'00'
@@TBD7 DC X'99846D92818692816DA3A7956D888195' rd.kafka.txn.han
DC X'8493856DC18484D68686A285A3A2E396' dle.AddOffsetsTo
DC X'E3A795' Txn
DC 1X'00'
@@TBF1 DC X'99846D92818692816DA3A7956D96976D' rd.kafka.txn.op.
DC X'A28595846D968686A285A3A26DA3966D' send.offsets.to.
DC X'A3998195A28183A3899695' transaction
DC 1X'00'
@@TBF9 DC X'99846D92818692816DA28595846D9686' rd.kafka.send.of
DC X'86A285A3A26DA3966DA3998195A28183' fsets.to.transac
DC X'A3899695' tion
DC 2X'00'
@@TC0F DC X'99846D92818692816DA3A7956D888195' rd.kafka.txn.han
DC X'8493856DC59584E3A795' dle.EndTxn
DC 2X'00'
@@TC27 DC X'99846D92818692816DA3A7956D96976D' rd.kafka.txn.op.
DC X'8396949489A36DA3998195A28183A389' commit.transacti
DC X'9695' on
DC 2X'00'
@@TC4C DC X'99846D92818692816DA3A7956D96976D' rd.kafka.txn.op.
DC X'81829699A36DA3998195A28183A38996' abort.transactio
DC X'95' n
DC 1X'00'
@@TC5F DC X'99846D92818692816DA3A7956D839696' rd.kafka.txn.coo
DC X'99846DA3899485996D9985A2A38199A3' rd.timer.restart
DC 2X'00'
@@TC71 DC X'99846D92818692816DA3A7956D888195' rd.kafka.txn.han
DC X'8493856DC6899584C396969984899581' dle.FindCoordina
DC X'A39699' tor
DC 1X'00'
@@TCBE DC X'99846D92818692816DA3A7956D839696' rd.kafka.txn.coo
DC X'99846D98A48599A8' rd.query
DC 2X'00'
@@TCCC DC X'99846D92818692816DA3A7956D839696' rd.kafka.txn.coo
DC X'99846D94969589A396996D8382' rd.monitor.cb
DC 1X'00'
@strings@ DS 0H
DC X'C37AE081A2879281869281E093898299' C..asgkafka.libr
DC X'849281869281E0A29983E099844B8800' dkafka.src.rd.h.
DC X'95009985868395A340A2A48260A98599' n.refcnt.sub.zer
DC X'96005A5C7F9985868395A340A2A48260' o....refcnt.sub.
DC X'A98599967F00E495929596A695606C88' zero..Unknown..h
DC X'846F0000C37AE081A2879281869281E0' d...C..asgkafka.
DC X'93898299849281869281E0A29983E099' librdkafka.src.r
DC X'8492818692816D98A485A4854B880000' dkafka.queue.h..
DC X'81A2A28599A37A40999298606E999298' assert..rkq..rkq
DC X'6D9985868395A3406E40F000D3D9D2E3' .refcnt...0.LRKT
DC X'0000E3888540E3998195A28183A38996' ..The.Transactio
DC X'95819340C1D7C94083819540969593A8' nal.API.can.only
DC X'40828540A4A285844096954097999684' .be.used.on.prod
DC X'A4838599408995A2A381958385A20000' ucer.instances..
DC X'E3888540E3998195A28183A389969581' The.Transactiona
DC X'9340C1D7C940998598A4899985A240A3' l.API.requires.t
DC X'998195A28183A389969581934B898440' ransactional.id.
DC X'A39640828540839695868987A4998584' to.be.configured
DC X'00006CA20000D697859981A389969540' ...s..Operation.
DC X'9596A340A58193898440899540A2A381' not.valid.in.sta
DC X'A385406CA200C9D5E3C5D9D5C1D340C5' te..s.INTERNAL.E
DC X'D9D9D6D97A4093898299849281869281' RROR..librdkafka
DC X'406CA27A6C847A400000C995A5819389' ..s..d....Invali
DC X'8440A3A79540A2A381A38540A3998195' d.txn.state.tran
DC X'A289A38996957A406CA240606E406CA2' sition...s.....s
DC X'00001500C9D5E3C5D9D5C1D340C5D9D9' ....INTERNAL.ERR
DC X'D6D940C9D540D3C9C2D9C4D2C1C6D2C1' OR.IN.LIBRDKAFKA
DC X'0000C37AE081A2879281869281E09389' ..C..asgkafka.li
DC X'8299849281869281E0A29983E0998492' brdkafka.src.rdk
DC X'818692816DA3A7959487994B83005A5C' afka.txnmgr.c...
DC X'7FC9D5E3C5D9D5C1D340C5D9D9D6D940' .INTERNAL.ERROR.
DC X'C9D540D3C9C2D9C4D2C1C6D2C17F0000' IN.LIBRDKAFKA...
DC X'E3E7D5E2E3C1E3C50000C2E4C77A40C9' TXNSTATE..BUG..I
DC X'95A58193898440A3998195A28183A389' nvalid.transacti
DC X'969540A2A381A38540A3998195A289A3' on.state.transit
DC X'8996954081A3A3859497A385847A406C' ion.attempted...
DC X'A240606E406CA200C2E4C77A40C995A5' s.....s.BUG..Inv
DC X'8193898440A3998195A28183A3899695' alid.transaction
DC X'40A2A381A38540A3998195A289A38996' .state.transitio
DC X'95005A5C7FC2E4C77A40C995A5819389' n....BUG..Invali
DC X'8440A3998195A28183A389969540A2A3' d.transaction.st
DC X'81A38540A3998195A289A38996957F00' ate.transition..
DC X'E3998195A28183A389969540A2A381A3' Transaction.stat
DC X'8540838881958785406CA240606E406C' e.change..s.....
DC X'A200E3E7D5C5D9D90000C681A3819340' s.TXNERR..Fatal.
DC X'A3998195A28183A38996954085999996' transaction.erro
DC X'997A406CA2404D6CA25D0000C6C1E3C1' r...s...s...FATA
DC X'D300D596A34097999697818781A38995' L.Not.propagatin
DC X'874081829699A38182938540A3998195' g.abortable.tran
DC X'A28183A3899695819340859999969940' sactional.error.
DC X'4D6CA25D40A28995838540979985A589' ..s..since.previ
DC X'96A4A2408681A3819340859999969940' ous.fatal.error.
DC X'819399858184A840998189A285840000' already.raised..
DC X'C98795969989958740A2A48260A28598' Ignoring.sub.seq
DC X'A48595A34081829699A38182938540A3' uent.abortable.t
DC X'998195A28183A3899695408599999699' ransaction.error
DC X'7A406CA2404D6CA25D7A40979985A589' ...s...s...previ
DC X'96A4A2408599999699404D6CA25D4081' ous.error...s..a
DC X'9399858184A840998189A28584006B40' lready.raised...
DC X'998598A4899985A24085979683884082' requires.epoch.b
DC X'A49497000000C3A499998595A340A399' ump...Current.tr
DC X'8195A28183A389969540868189938584' ansaction.failed
DC X'40899540A2A381A385406CA27A406CA2' .in.state..s...s
DC X'404D6CA26CA25D00A2858540979985A5' ...s.s..see.prev
DC X'8996A4A240939687A200C681A3819340' ious.logs.Fatal.
DC X'859999969940998189A285844082A840' error.raised.by.
DC X'898485949796A38595A34097999684A4' idempotent.produ
DC X'83859940A688899385409985A3998985' cer.while.retrie
DC X'A589958740D7C9C47A406CA20000C1C4' ving.PID...s..AD
DC X'C4D7C1D9E3E200007F6C4B5CA27F40AD' DPARTS......s...
DC X'6C84BD4089A2409596A3408995409785' .d..is.not.in.pe
DC X'9584899587409389A2A34082A4A34099' nding.list.but.r
DC X'85A3A49995858440899540C18484D781' eturned.in.AddPa
DC X'99A389A3899695A2E396E3A795409985' rtitionsToTxn.re
DC X'A2979695A2857A408987959699899587' sponse..ignoring
DC X'00006C4B5CA240AD6C84BD4099858789' .....s...d..regi
DC X'A2A38599858440A689A38840A3998195' stered.with.tran
DC X'A28183A3899695004D9992A397606E99' saction..rktp..r
DC X'92A3976D86938187A24050404DF0A7F1' ktp.flags....0x1
DC X'F0F04F40F0A7F2F0F05D5D407E7E40F0' 00..0x200......0
DC X'A7F1F0F000009992606E99926D8596A2' x100..rk..rk.eos
DC X'4BA3A7956DA2A381A385405A7E40D9C4' .txn.state....RD
DC X'6DD2C1C6D2C16DE3E7D56DE2E3C1E3C5' .KAFKA.TXN.STATE
DC X'6DC3D6D4D4C9E3E3C9D5C76DE3D9C1D5' .COMMITTING.TRAN
DC X'E2C1C3E3C9D6D500C987959699899587' SACTION.Ignoring
DC X'4096A4A38481A3858440C18484D78199' .outdated.AddPar
DC X'A389A3899695A2E396E3A795409985A2' titionsToTxn.res
DC X'979695A28540899540A2A381A385406C' ponse.in.state..
DC X'A20081A2A28599A37A40999282A48660' s.assert..rkbuf.
DC X'6E999282A4866D99928200007A400000' .rkbuf.rkb......
DC X'8995839699998583A340829996928599' incorrect.broker
DC X'4BA58599A28996954B86819393828183' .version.fallbac
DC X'926F0000D7D9D6E3D6E4C6D3D6E60000' k...PROTOUFLOW..
DC X'D79996A39683969340998581844082A4' Protocol.read.bu
DC X'8686859940A495848599869396A64086' ffer.underflow.f
DC X'9699406CA240A56C88844081A3406CA9' or..s.v.hd.at..z
DC X'A4616CA9A4404D6CA27A6C895D7A4085' u..zu...s..i...e
DC X'A7978583A38584406CA9A44082A8A385' xpected..zu.byte
DC X'A2406E406CA9A4409985948189958995' s....zu.remainin
DC X'874082A8A385A2404D6CA25D6CA20000' g.bytes...s..s..
DC X'7A40A4A581998995A340978199A28995' ..uvarint.parsin
DC X'87408681899385840000E495929596A6' g.failed..Unknow
DC X'9540978199A389A3899695407F6C4B5C' n.partition.....
DC X'A27F40AD6C84BD40899540C18484D781' s....d..in.AddPa
DC X'99A389A3899695A2E396E3A795409985' rtitionsToTxn.re
DC X'A2979695A2857A408987959699899587' sponse..ignoring
DC X'0000C18484D78199A389A3899695A2E3' ..AddPartitionsT
DC X'96E3A795409985A2979695A2857A4097' oTxn.response..p
DC X'8199A389A3899695407F6C4B5CA27F7A' artition.....s..
DC X'40AD6C84BD7A406CA200C68189938584' ...d....s.Failed
DC X'40A3964081848440978199A389A38996' .to.add.partitio
DC X'95407F6C4B5CA27F40AD6C84BD40A396' n.....s....d..to
DC X'40A3998195A28183A38996957A406CA2' .transaction...s
DC X'00009992606E99926D8596A24BA3A795' ..rk..rk.eos.txn
DC X'6D9985986D8395A3406E40F00000C184' .req.cnt...0..Ad
DC X'84D78199A389A3899695A2E396E3A795' dPartitionsToTxn
DC X'408681899385847A406CA200C6818993' .failed...s.Fail
DC X'858440A3964081848440978199A389A3' ed.to.add.partit
DC X'899695A240A39640A3998195A28183A3' ions.to.transact
DC X'8996957A406CA200C6818993858440A3' ion...s.Failed.t
DC X'964081848440978199A389A38996954D' o.add.partition.
DC X'A25D40A39640A3998195A28183A38996' s..to.transactio
DC X'9540969540829996928599406CA27A40' n.on.broker..s..
DC X'6CA2404D8186A38599406C844094A25D' .s..after..d.ms.
DC X'0000D596A34099858789A2A385998995' ..Not.registerin
DC X'8740978199A389A3899695A27A406CA2' g.partitions...s
DC X'0000D596A34099858789A2A385998995' ..Not.registerin
DC X'8740978199A389A3899695A27A408396' g.partitions..co
DC X'969984899581A396994089A2409596A3' ordinator.is.not
DC X'4081A5818993818293850000D596A340' .available..Not.
DC X'99858789A2A3859989958740978199A3' registering.part
DC X'89A3899695A27A40A68189A389958740' itions..waiting.
DC X'86969940979985A58996A4A240C18484' for.previous.Add
DC X'D78199A389A3899695A2E396E3A79540' PartitionsToTxn.
DC X'998598A485A2A340A396408396949793' request.to.compl
DC X'85A38500D596A34099858789A2A38599' ete.Not.register
DC X'89958740978199A389A3899695A27A40' ing.partitions..
DC X'D59640D7C9C44081A581899381829385' No.PID.available
DC X'404D898485949796A38595838540A2A3' ..idempotence.st
DC X'81A385406CA25D00D9858789A2A38599' ate..s..Register
DC X'89958740978199A389A3899695A240A6' ing.partitions.w
DC X'89A38840A3998195A28183A389969500' ith.transaction.
DC X'E3998195A28183A3899695819340C1D7' Transactional.AP
DC X'C9409697859981A3899695404D6CA25D' I.operation...s.
DC X'40A3899485844096A4A30000E3998195' .timed.out..Tran
DC X'A28183A38996958193409697859981A3' sactional.operat
DC X'89969540A3899485844096A4A300C681' ion.timed.out.Fa
DC X'8993858440A39640899589A389819389' iled.to.initiali
DC X'A98540D7999684A483859940C9C47A40' ze.Producer.ID..
DC X'6CA2000099846D92818692816D00E3E7' .s..rd.kafka..TX
DC X'D5C1D7C90000E3998195A28183A38996' NAPI..Transactio
DC X'95819340C1D7C9408381939385847A40' nal.API.called..
DC X'6CA2404D899540A3A79540A2A381A385' .s..in.txn.state
DC X'406CA26B40898485949740A2A381A385' ..s..idemp.state
DC X'406CA25D0000C3969586938983A38995' ..s...Conflictin
DC X'87406CA2408381939340819399858184' g..s.call.alread
DC X'A840899540979996879985A2A2008696' y.in.progress.fo
DC X'996D9985A4A285407E7E409985A4A285' r.reuse....reuse
DC X'0000899589A36DA3998195A28183A389' ..init.transacti
DC X'9695A2004D4D4D509992606E99926D85' ons.....rk..rk.e
DC X'96A24BA3A7956D9992A397A25D606EA3' os.txn.rktps...t
DC X'98886D868999A2A35D407E7E404D4D4D' qh.first........
DC X'A5968984405C5DF05D5D5D009992606E' void...0....rk..
DC X'99926D8596A24BA3A7956D9985986D83' rk.eos.txn.req.c
DC X'95A3407E7E40F000C6818993858440A3' nt....0.Failed.t
DC X'96408396949489A340968686A285A3A2' o.commit.offsets
DC X'40A39640A3998195A28183A389969540' .to.transaction.
DC X'969540829996928599406CA27A406CA2' on.broker..s...s
DC X'404D8186A38599406C8494A25D004D95' ..after..dms...n
DC X'9695855D0000C6818993858440A39640' one...Failed.to.
DC X'8396949489A340968686A285A3A240A3' commit.offsets.t
DC X'9640A3998195A28183A3899695409695' o.transaction.on
DC X'40829996928599406CA27A406CA2404D' .broker..s...s..
DC X'8186A38599406C844094A25D0000C1C4' after..d.ms...AD
DC X'C4D6C6C6E2C5E3E20000C18484D68686' DOFFSETS..AddOff
DC X'A285A3A2E396E3A795409985A2979695' setsToTxn.respon
DC X'A2854086999694406CA27A406CA2404D' se.from..s...s..
DC X'8183A3899695A240F0A76CA75D00C681' actions.0x.x..Fa
DC X'8993858440A3964081848440968686A2' iled.to.add.offs
DC X'85A3A240A39640A3998195A28183A389' ets.to.transacti
DC X'96957A406CA20000C6818993858440A3' on...s..Failed.t
DC X'964081848440968686A285A3A240A396' o.add.offsets.to
DC X'40A3998195A28183A389969540969540' .transaction.on.
DC X'829996928599406CA27A406CA2404D81' broker..s...s..a
DC X'86A38599406C8494A25D7A4085999996' fter..dms...erro
DC X'994089A2409985A39989818293850000' r.is.retriable..
DC X'C6818993858440A39640818484409686' Failed.to.add.of
DC X'86A285A3A240A39640A3998195A28183' fsets.to.transac
DC X'A389969540969540829996928599406C' tion.on.broker..
DC X'A27A406CA200C6818993858440A39640' s...s.Failed.to.
DC X'81848440968686A285A3A240A39640A3' add.offsets.to.t
DC X'998195A28183A3899695409695408299' ransaction.on.br
DC X'96928599406CA27A406CA2404D8186A3' oker..s...s..aft
DC X'8599406C8494A25D0000D59640D7C9C4' er..dms...No.PID
DC X'4081A581899381829385404D89848594' .available..idem
DC X'9796A38595838540A2A381A385406CA2' potence.state..s
DC X'5D0083879485A3818481A38140819584' ..cgmetadata.and
DC X'40968686A285A3A24081998540998598' .offsets.are.req
DC X'A48999858440978199819485A38599A2' uired.parameters
DC X'00008396949489A3A385840081829699' ..committed.abor
DC X'A3858400E3E7D5C3D6D4D7D3C5E3C500' ted.TXNCOMPLETE.
DC X'E3998195A28183A389969540A2A48383' Transaction.succ
DC X'85A2A286A49393A8406CA200C59584E3' essfully..s.EndT
DC X'A7954086818993858440A689A388406C' xn.failed.with..
DC X'A24082A4A340A3998195A28183A38996' s.but.transactio
DC X'954088818440819399858184A8408681' n.had.already.fa
DC X'899385844084A48540A3967A406CA200' iled.due.to...s.
DC X'E3998195A28183A38996954083969494' Transaction.comm
DC X'89A340A2A48383858584858440969540' it.succeeded.on.
DC X'A38885408299969285994082A4A340A3' the.broker.but.t
DC X'888540A3998195A28183A38996954088' he.transaction.h
DC X'818440819399858184A8408681899385' ad.already.faile
DC X'8440939683819393A84084A48540A396' d.locally.due.to
DC X'7A406CA20000E3998195A28183A38996' ...s..Transactio
DC X'954081829699A340A2A4838385858485' n.abort.succeede
DC X'8440969540A388854082999692859940' d.on.the.broker.
DC X'82A4A340A3888540A3998195A28183A3' but.the.transact
DC X'89969588818440819399858184A84086' ionhad.already.f
DC X'818993858440939683819393A84084A4' ailed.locally.du
DC X'8540A3967A406CA20000A399A4850000' e.to...s..true..
DC X'868193A28500C5D5C4E3E7D50000C595' false.ENDTXN..En
DC X'84E3A795409985A3A499958584406CA2' dTxn.returned..s
DC X'40899540A2A381A385406CA2404D9481' .in.state..s..ma
DC X'A86D9985A399A87E6CA25D00C59584E3' y.retry..s..EndT
DC X'A795408681899385847A406CA200C681' xn.failed...s.Fa
DC X'8993858440A3964085958440A3998195' iled.to.end.tran
DC X'A28183A38996957A406CA20083969494' saction...s.comm
DC X'89A3000081829699A300C59584E3A795' it..abort.EndTxn
DC X'406CA2408681899385847A406CA20000' ..s.failed...s..
DC X'6C939384409485A2A28187854DA25D40' .lld.message.s..
DC X'8681899385844084859389A58599A840' failed.delivery.
DC X'4DA285854089958489A58984A4819340' .see.individual.
DC X'84859389A58599A8409985979699A3A2' delivery.reports
DC X'5D00E3E7D5C3D6D4D4C9E300D5964097' ..TXNCOMMIT.No.p
DC X'8199A389A3899695A24099858789A2A3' artitions.regist
DC X'859985847A409596A340A28595848995' ered..not.sendin
DC X'8740C59584E3A7950000C396949489A3' g.EndTxn..Commit
DC X'A3858440A3998195A28183A389969540' ted.transaction.
DC X'9596A64081839285844082A840819797' now.acked.by.app
DC X'93898381A389969500008396949489A3' lication..commit
DC X'6DA3998195A28183A3899695404D8285' .transaction..be
DC X'8789955D0000C693A4A288899587406C' gin...Flushing..
DC X'844096A4A3A2A3819584899587409485' d.outstanding.me
DC X'A2A28187854DA25D40979989969940A3' ssage.s..prior.t
DC X'96408396949489A30000C693A4A28840' o.commit..Flush.
DC X'868189938584404DA689A388406C8440' failed..with..d.
DC X'9485A2A2818785A24099859481899589' messages.remaini
DC X'95875D7A406CA2007A40A388854085A5' ng....s...the.ev
DC X'8595A34098A485A4854094A4A2A34082' ent.queue.must.b
DC X'85409796939385844086969940848593' e.polled.for.del
DC X'89A58599A8409985979699A34085A585' ivery.report.eve
DC X'95A3A2408995408140A28597819981A3' nts.in.a.separat
DC X'8540A388998581844096994097998996' e.thread.or.prio
DC X'9940A396408381939389958740839694' r.to.calling.com
DC X'9489A300C6818993858440A396408693' mit.Failed.to.fl
DC X'A4A288408193934096A4A3A2A3819584' ush.all.outstand
DC X'899587409485A2A2818785A240A689A3' ing.messages.wit
DC X'88899540A3888540A3998195A28183A3' hin.the.transact
DC X'89969540A389948596A4A37A406C8440' ion.timeout...d.
DC X'9485A2A28187854DA25D409985948189' message.s..remai
DC X'958995876CA20000C6818993858440A3' ning.s..Failed.t
DC X'96408693A4A2884096A4A3A2A3819584' o.flush.outstand
DC X'899587409485A2A2818785A27A406CA2' ing.messages...s
DC X'0000E3998195A28183A3899695408396' ..Transaction.co
DC X'949489A3409485A2A2818785408693A4' mmit.message.flu
DC X'A28840839694979385A3850083969494' sh.complete.comm
DC X'89A36DA3998195A28183A38996950000' it.transaction..
DC X'8396949489A36DA3998195A28183A389' commit.transacti
DC X'9695404D8183925D0000E3E7D5C1C2D6' on..ack...TXNABO
DC X'D9E30000D7C9C440819399858184A840' RT..PID.already.
DC X'82A4949785840000E68189A389958740' bumped..Waiting.
DC X'86969940A3998195A28183A389969540' for.transaction.
DC X'8396969984899581A3969940D7C9C440' coordinator.PID.
DC X'82A4949740A39640839694979385A385' bump.to.complete
DC X'408285869699854081829699A3899587' .before.aborting
DC X'40A3998195A28183A3899695404D8984' .transaction..id
DC X'85949796A38595A34097999684A48385' empotent.produce
DC X'9940A2A381A385406CA25D00C1829699' r.state..s..Abor
DC X'A3858440A3998195A28183A389969540' ted.transaction.
DC X'9596A64081839285844082A840819797' now.acked.by.app
DC X'93898381A3899695000081829699A36D' lication..abort.
DC X'A3998195A28183A3899695404D828587' transaction..beg
DC X'89955D00D7A499878995874081958440' in..Purging.and.
DC X'8693A4A288899587406C844096A4A3A2' flushing..d.outs
DC X'A3819584899587409485A2A28187854D' tanding.message.
DC X'A25D40979989969940A3964081829699' s..prior.to.abor
DC X'A3007A40A388854085A58595A34098A4' t...the.event.qu
DC X'85A4854094A4A2A34082854097969393' eue.must.be.poll
DC X'8584408696994084859389A58599A840' ed.for.delivery.
DC X'9985979699A34085A58595A3A2408995' report.events.in
DC X'408140A28597819981A38540A3889985' .a.separate.thre
DC X'818440969940979989969940A3964083' ad.or.prior.to.c
DC X'8193938995874081829699A30000E399' alling.abort..Tr
DC X'8195A28183A38996954081829699A340' ansaction.abort.
DC X'9485A2A28187854097A4998785408195' message.purge.an
DC X'84408693A4A28840839694979385A385' d.flush.complete
DC X'000081829699A36DA3998195A28183A3' ..abort.transact
DC X'8996950081829699A36DA3998195A281' ion.abort.transa
DC X'83A3899695404D8183925D00C3969699' ction..ack..Coor
DC X'84899581A396994098A48599A840A389' dinator.query.ti
DC X'948599004D4D99925D606E99926D8396' mer...rk...rk.co
DC X'95864B8596A24BA3998195A28183A389' nf.eos.transacti
DC X'969581936D8984405A7E404D4DA59689' onal.id......voi
DC X'84405C5DF05D5D006C4B5CA20000E3E7' d...0......s..TX
DC X'D5C3D6D6D9C40000C6899584C3969699' NCOORD..FindCoor
DC X'84899581A39699409985A2979695A285' dinator.response
DC X'7A40E3998195A28183A3899695408396' ..Transaction.co
DC X'969984899581A396994089A240829996' ordinator.is.bro
DC X'928599406C84404D6C4B5CA27A6C845D' ker..d.....s..d.
DC X'0000E3998195A28183A3899695408396' ..Transaction.co
DC X'969984899581A39699406C844089A240' ordinator..d.is.
DC X'A495929596A69500C6899584C3969699' unknown.FindCoor
DC X'84899581A39699409985A2979695A285' dinator.response
DC X'0000C6818993858440A3964086899584' ..Failed.to.find
DC X'40A3998195A28183A389969540839696' .transaction.coo
DC X'9984899581A396997A406CA27A406CA2' rdinator...s...s
DC X'6CA26CA20000C6818993858440A39640' .s.s..Failed.to.
DC X'8689958440A3998195A28183A3899695' find.transaction
DC X'408396969984899581A396997A406CA2' .coordinator...s
DC X'7A406CA20000D596A340A28595848995' ...s..Not.sendin
DC X'87408396969984899581A396994098A4' g.coordinator.qu
DC X'8599A8404D6CA25D7A40A68189A38995' ery...s...waitin
DC X'874086969940979985A58996A4A24098' g.for.previous.q
DC X'A48599A840A3964086899589A2880000' uery.to.finish..
DC X'E4958182938540A3964098A48599A840' Unable.to.query.
DC X'86969940A3998195A28183A389969540' for.transaction.
DC X'8396969984899581A396997A406CA27A' coordinator...s.
DC X'406CA200D8A48599A889958740869699' ..s.Querying.for
DC X'40A3998195A28183A389969540839696' .transaction.coo
DC X'9984899581A396997A406CA20000C681' rdinator...s..Fa
DC X'8993858440A39640A285958440839696' iled.to.send.coo
DC X'9984899581A396994098A48599A840A3' rdinator.query.t
DC X'96406CA27A406CA20000E3998195A281' o..s...s..Transa
DC X'83A3899695408396969984899581A396' ction.coordinato
DC X'9940838881958785844086999694406C' r.changed.from..
DC X'A240606E406CA27A406CA2009992606E' s.....s...s.rk..
DC X'99926D8596A24BA3A7956D8396969984' rk.eos.txn.coord
DC X'407E7E4099928200A49700008496A695' ....rkb.up..down
DC X'0000C3D6D6D9C400E3998195A28183A3' ..COORD.Transact
DC X'899695408396969984899581A3969940' ion.coordinator.
DC X'89A2409596A6406CA200E3A795C39696' is.now..s.TxnCoo
DC X'9984899581A396990000D7999684A483' rdinator..Produc
DC X'8500C685A3838800D68686A285A30000' e.Fetch.Offset..
DC X'D485A3818481A3810000D38581848599' Metadata..Leader
DC X'C19584C9A2990000E2A39697D9859793' AndIsr..StopRepl
DC X'89838100E4978481A385D485A3818481' ica.UpdateMetada
DC X'A3810000C39695A3999693938584E288' ta..ControlledSh
DC X'A4A38496A6950000D68686A285A3C396' utdown..OffsetCo
DC X'949489A30000D68686A285A3C685A383' mmit..OffsetFetc
DC X'8800C6899584C396969984899581A396' h.FindCoordinato
DC X'9900D1968995C79996A49700C8858199' r.JoinGroup.Hear
DC X'A3828581A300D38581A585C79996A497' tbeat.LeaveGroup
DC X'0000E2A89583C79996A49700C485A283' ..SyncGroup.Desc
DC X'99898285C79996A497A20000D389A2A3' ribeGroups..List
DC X'C79996A497A20000E281A293C8819584' Groups..SaslHand
DC X'A28881928500C19789E58599A2899695' shake.ApiVersion
DC X'0000C3998581A385E396978983A20000' ..CreateTopics..
DC X'C4859385A385E396978983A20000C485' DeleteTopics..De
DC X'9385A385D98583969984A200C99589A3' leteRecords.Init
DC X'D7999684A4838599C9840000D68686A2' ProducerId..Offs
DC X'85A3C69699D38581848599C597968388' etForLeaderEpoch
DC X'0000C18484D78199A389A3899695A2E3' ..AddPartitionsT
DC X'96E3A7950000C18484D68686A285A3A2' oTxn..AddOffsets
DC X'E396E3A79500C59584E3A7950000E699' ToTxn.EndTxn..Wr
DC X'89A385E3A795D48199928599A200E3A7' iteTxnMarkers.Tx
DC X'95D68686A285A3C396949489A300C485' nOffsetCommit.De
DC X'A28399898285C18393A20000C3998581' scribeAcls..Crea
DC X'A385C18393A20000C4859385A385C183' teAcls..DeleteAc
DC X'93A20000C485A28399898285C3969586' ls..DescribeConf
DC X'8987A200C193A38599C39695868987A2' igs.AlterConfigs
DC X'0000C193A38599D9859793898381D396' ..AlterReplicaLo
DC X'87C48999A200C485A28399898285D396' gDirs.DescribeLo
DC X'87C48999A200E281A293C1A4A3888595' gDirs.SaslAuthen
DC X'A3898381A3850000C3998581A385D781' ticate..CreatePa
DC X'99A389A3899695A20000C3998581A385' rtitions..Create
DC X'C48593858781A3899695E39692859500' DelegationToken.
DC X'D9859585A6C48593858781A3899695E3' RenewDelegationT
DC X'969285950000C5A797899985C4859385' oken..ExpireDele
DC X'8781A3899695E39692859500C485A283' gationToken.Desc
DC X'99898285C48593858781A3899695E396' ribeDelegationTo
DC X'92859500C4859385A385C79996A497A2' ken.DeleteGroups
DC X'0000C5938583A3D38581848599A2D985' ..ElectLeadersRe
DC X'98A485A2A300C995839985948595A381' quest.Incrementa
DC X'93C193A38599C39695868987A2D98598' lAlterConfigsReq
DC X'A485A2A30000C193A38599D78199A389' uest..AlterParti
DC X'A3899695D98581A2A2898795948595A3' tionReassignment
DC X'A2D98598A485A2A30000D389A2A3D781' sRequest..ListPa
DC X'99A389A3899695D98581A2A289879594' rtitionReassignm
DC X'8595A3A2D98598A485A2A300D68686A2' entsRequest.Offs
DC X'85A3C4859385A385D98598A485A2A300' etDeleteRequest.
DC X'C485A28399898285C393898595A3D8A4' DescribeClientQu
DC X'96A381A2D98598A485A2A300C193A385' otasRequest.Alte
DC X'99C393898595A3D8A496A381A2D98598' rClientQuotasReq
DC X'A485A2A30000C485A28399898285E4A2' uest..DescribeUs
DC X'8599E283998194C39985848595A38981' erScramCredentia
DC X'93A2D98598A485A2A300C193A38599E4' lsRequest.AlterU
DC X'A28599E283998194C39985848595A389' serScramCredenti
DC X'8193A2D98598A485A2A30000E596A385' alsRequest..Vote
DC X'D98598A485A2A300C285878995D8A496' Request.BeginQuo
DC X'99A494C597968388D98598A485A2A300' rumEpochRequest.
DC X'C59584D8A49699A494C597968388D985' EndQuorumEpochRe
DC X'98A485A2A300C485A28399898285D8A4' quest.DescribeQu
DC X'9699A494D98598A485A2A300C193A385' orumRequest.Alte
DC X'99C9A299D98598A485A2A300E4978481' rIsrRequest.Upda
DC X'A385C68581A3A49985A2D98598A485A2' teFeaturesReques
DC X'A300C595A58593969785D98598A485A2' t.EnvelopeReques
DC X'A30095969585000087A989970000A295' t.none..gzip..sn
DC X'819797A8000093A9F400A9A2A3840000' appy..lz4.zstd..
DC X'899588859989A300839695868987A499' inherit.configur
DC X'8584000093858199958584008995A385' ed..learned.inte
DC X'9995819300009396878983819300C995' rnal..logical.In
DC X'89A30000E3859994899581A38500C681' it..Terminate.Fa
DC X'A38193C5999996990000D98598A485A2' talError..Reques
DC X'A3D7C9C40000E68189A3E3998195A297' tPID..WaitTransp
DC X'9699A300E68189A3D7C9C400C1A2A289' ort.WaitPID.Assi
DC X'879585840000C499818995D985A285A3' gned..DrainReset
DC X'0000C499818995C2A4949700D9858184' ..DrainBump.Read
DC X'A8D596A3C18392858400D9858184A800' yNotAcked.Ready.
DC X'C995E3998195A28183A389969500C285' InTransaction.Be
DC X'878995C396949489A300C396949489A3' ginCommit.Commit
DC X'A3899587E3998195A28183A389969500' tingTransaction.
DC X'C396949489A3D596A3C1839285840000' CommitNotAcked..
DC X'C1829699A3899587E3998195A28183A3' AbortingTransact
DC X'89969500C1829699A38584D596A3C183' ion.AbortedNotAc
DC X'92858400C1829699A381829385C59999' ked.AbortableErr
DC X'96990000' or..
@E__stderrp ALIAS C'@@STDERP'
EXTRN @E__stderrp
@Ecrc_table ALIAS X'8399836DA381829385'
EXTRN @Ecrc_table
*
*
* Re-entrant Data Initialization Section
*
@@INIT@ ALIAS C'rdkafka_txnmgr:'
@@INIT@ CSECT
@@INIT@ AMODE ANY
@@INIT@ RMODE ANY
DC XL1'5'
DC AL3(0)
DC AL4(288)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000001'
DC X'00000000'
DC X'000000FF'
DC X'0102039C09867F978D8E0B0C0D0E0F10' .....f.p........
DC X'1112139D8508871819928F1C1D1E1F80' ....e.g..k......
DC X'818283840A171B88898A8B8C05060790' abcd...hi.......
DC X'9116939495960498999A9B14159E1A20' j.lmno.qr.......
DC X'A0E2E4E0E1E3E5E7F1A22E3C282B7C26' .SU..TVX1s......
DC X'E9EAEBE8EDEEEFECDF21242A293B5E2D' Z..Y............
DC X'2FC2C4C0C1C3C5C7D1A62C255F3E3FF8' .BD.ACEGJw.....8
DC X'C9CACBC8CDCECFCC603A2340273D22D8' I..H...........Q
DC X'616263646566676869ABBBF0FDFEB1B0' ...........0....
DC X'6A6B6C6D6E6F707172AABAE6B8C6A4B5' ...........W.Fu.
DC X'7E737475767778797AA1BFD05BDEAEAC' ................
DC X'A3A5B7A9A7B6BCBDBEDDA8AF5DB4D77B' tv.zx.....y...P.
DC X'414243444546474849ADF4F6F2F3F57D' ..........46235.
DC X'4A4B4C4D4E4F505152B9FBFCF9FAFF5C' ............9...
DC X'F7535455565758595AB2D4D6D2D3D530' 7.........MOKLN.
DC X'313233343536373839B3DBDCD9DA9F40' ............R...
*
DC XL1'5'
DC AL3(0)
DC AL4(480)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000101'
DC X'00000000'
DC X'000000A0'
DC X'010203372D2E2F1605150B0C0D0E0F10' ................
DC X'1112133C3D322618193F271C1D1E1F40' ................
DC X'5A7F7B5B6C507D4D5D5C4E6B604B61F0' ...............0
DC X'F1F2F3F4F5F6F7F8F97A5E4C7E6E6F7C' 123456789.......
DC X'C1C2C3C4C5C6C7C8C9D1D2D3D4D5D6D7' ABCDEFGHIJKLMNOP
DC X'D8D9E2E3E4E5E6E7E8E9ADE0BD5F6D79' QRSTUVWXYZ......
DC X'81828384858687888991929394959697' abcdefghijklmnop
DC X'9899A2A3A4A5A6A7A8A9C04FD0A10720' qrstuvwxyz......
DC X'2122232425061728292A2B2C090A1B30' ................
DC X'311A333435360838393A3B04143EFF80' ................
*
DC XL1'5'
DC AL3(0)
DC AL4(520)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000001C0'
DC X'00000000'
DC X'00000001'
DC X'8A40404040404040' ........
*
DC XL1'5'
DC AL3(0)
DC AL4(560)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000001E0'
DC X'00000000'
DC X'00000001'
DC X'8B40404040404040' ........
*
DC XL1'D'
DC AL3(0)
DC AL4(600)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000220'
DC ADL8(@DATA)
DC X'00000000'
DC X'0000199A'
*
DC XL1'D'
DC AL3(0)
DC AL4(640)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000228'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019A2'
*
DC XL1'D'
DC AL3(0)
DC AL4(680)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000230'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019A8'
*
DC XL1'D'
DC AL3(0)
DC AL4(720)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000238'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019B0'
*
DC XL1'D'
DC AL3(0)
DC AL4(760)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000240'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019BA'
*
DC XL1'D'
DC AL3(0)
DC AL4(800)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000248'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019C8'
*
DC XL1'D'
DC AL3(0)
DC AL4(840)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000250'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019D4'
*
DC XL1'D'
DC AL3(0)
DC AL4(880)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000258'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019E4'
*
DC XL1'D'
DC AL3(0)
DC AL4(920)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000260'
DC ADL8(@DATA)
DC X'00000000'
DC X'000019F8'
*
DC XL1'D'
DC AL3(0)
DC AL4(960)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000268'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A06'
*
DC XL1'D'
DC AL3(0)
DC AL4(1000)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000270'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A12'
*
DC XL1'D'
DC AL3(0)
DC AL4(1040)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000278'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A22'
*
DC XL1'D'
DC AL3(0)
DC AL4(1080)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000280'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A2C'
*
DC XL1'D'
DC AL3(0)
DC AL4(1120)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000288'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A36'
*
DC XL1'D'
DC AL3(0)
DC AL4(1160)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000290'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A42'
*
DC XL1'D'
DC AL3(0)
DC AL4(1200)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000298'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A4C'
*
DC XL1'D'
DC AL3(0)
DC AL4(1240)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002A0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A5C'
*
DC XL1'D'
DC AL3(0)
DC AL4(1280)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002A8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A68'
*
DC XL1'D'
DC AL3(0)
DC AL4(1320)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002B0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A76'
*
DC XL1'D'
DC AL3(0)
DC AL4(1360)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002B8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A82'
*
DC XL1'D'
DC AL3(0)
DC AL4(1400)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002C0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A90'
*
DC XL1'D'
DC AL3(0)
DC AL4(1440)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002C8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001A9E'
*
DC XL1'D'
DC AL3(0)
DC AL4(1480)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002D0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001AAC'
*
DC XL1'D'
DC AL3(0)
DC AL4(1520)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002D8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001ABC'
*
DC XL1'D'
DC AL3(0)
DC AL4(1560)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002E0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001AD2'
*
DC XL1'D'
DC AL3(0)
DC AL4(1600)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002E8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001AE6'
*
DC XL1'D'
DC AL3(0)
DC AL4(1640)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002F0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001AF6'
*
DC XL1'D'
DC AL3(0)
DC AL4(1680)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000002F8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001AFE'
*
DC XL1'D'
DC AL3(0)
DC AL4(1720)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000300'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B0E'
*
DC XL1'D'
DC AL3(0)
DC AL4(1760)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000308'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B1E'
*
DC XL1'D'
DC AL3(0)
DC AL4(1800)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000310'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B2C'
*
DC XL1'D'
DC AL3(0)
DC AL4(1840)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000318'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B38'
*
DC XL1'D'
DC AL3(0)
DC AL4(1880)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000320'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B44'
*
DC XL1'D'
DC AL3(0)
DC AL4(1920)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000328'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B54'
*
DC XL1'D'
DC AL3(0)
DC AL4(1960)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000330'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B62'
*
DC XL1'D'
DC AL3(0)
DC AL4(2000)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000338'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B76'
*
DC XL1'D'
DC AL3(0)
DC AL4(2040)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000340'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B86'
*
DC XL1'D'
DC AL3(0)
DC AL4(2080)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000348'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001B98'
*
DC XL1'D'
DC AL3(0)
DC AL4(2120)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000350'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001BAA'
*
DC XL1'D'
DC AL3(0)
DC AL4(2160)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000358'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001BC0'
*
DC XL1'D'
DC AL3(0)
DC AL4(2200)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000360'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001BD6'
*
DC XL1'D'
DC AL3(0)
DC AL4(2240)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000368'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001BEC'
*
DC XL1'D'
DC AL3(0)
DC AL4(2280)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000370'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C04'
*
DC XL1'D'
DC AL3(0)
DC AL4(2320)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000378'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C12'
*
DC XL1'D'
DC AL3(0)
DC AL4(2360)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000380'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C26'
*
DC XL1'D'
DC AL3(0)
DC AL4(2400)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000388'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C46'
*
DC XL1'D'
DC AL3(0)
DC AL4(2440)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000390'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C6A'
*
DC XL1'D'
DC AL3(0)
DC AL4(2480)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000398'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001C8C'
*
DC XL1'D'
DC AL3(0)
DC AL4(2520)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003A0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001CA0'
*
DC XL1'D'
DC AL3(0)
DC AL4(2560)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003A8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001CBC'
*
DC XL1'D'
DC AL3(0)
DC AL4(2600)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003B0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001CD6'
*
DC XL1'D'
DC AL3(0)
DC AL4(2640)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003B8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001CFA'
*
DC XL1'D'
DC AL3(0)
DC AL4(2680)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003C0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D1C'
*
DC XL1'D'
DC AL3(0)
DC AL4(2720)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003C8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D28'
*
DC XL1'D'
DC AL3(0)
DC AL4(2760)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003D0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D40'
*
DC XL1'D'
DC AL3(0)
DC AL4(2800)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003D8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D56'
*
DC XL1'D'
DC AL3(0)
DC AL4(2840)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003E0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D6C'
*
DC XL1'D'
DC AL3(0)
DC AL4(2880)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003E8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D7C'
*
DC XL1'D'
DC AL3(0)
DC AL4(2920)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000003F0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001D92'
*
DC XL1'D'
DC AL3(0)
DC AL4(2960)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004C0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DA2'
*
DC XL1'D'
DC AL3(0)
DC AL4(3000)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004C8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DA8'
*
DC XL1'D'
DC AL3(0)
DC AL4(3040)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004D0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DAE'
*
DC XL1'D'
DC AL3(0)
DC AL4(3080)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004D8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DB6'
*
DC XL1'D'
DC AL3(0)
DC AL4(3120)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004E0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DBA'
*
DC XL1'D'
DC AL3(0)
DC AL4(3160)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000004E8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DC0'
*
DC XL1'D'
DC AL3(0)
DC AL4(3200)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000510'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DC8'
*
DC XL1'D'
DC AL3(0)
DC AL4(3240)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000518'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DD4'
*
DC XL1'D'
DC AL3(0)
DC AL4(3280)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000520'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DDC'
*
DC XL1'D'
DC AL3(0)
DC AL4(3320)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000528'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DE6'
*
DC XL1'D'
DC AL3(0)
DC AL4(3360)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000630'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DEE'
*
DC XL1'D'
DC AL3(0)
DC AL4(3400)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000638'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DF4'
*
DC XL1'D'
DC AL3(0)
DC AL4(3440)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000640'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DFE'
*
DC XL1'D'
DC AL3(0)
DC AL4(3480)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000648'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E0A'
*
DC XL1'D'
DC AL3(0)
DC AL4(3520)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000650'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E16'
*
DC XL1'D'
DC AL3(0)
DC AL4(3560)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000658'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E24'
*
DC XL1'D'
DC AL3(0)
DC AL4(3600)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000660'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E2C'
*
DC XL1'D'
DC AL3(0)
DC AL4(3640)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000668'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E36'
*
DC XL1'D'
DC AL3(0)
DC AL4(3680)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000670'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E42'
*
DC XL1'D'
DC AL3(0)
DC AL4(3720)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000678'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DEE'
*
DC XL1'D'
DC AL3(0)
DC AL4(3760)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000680'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E24'
*
DC XL1'D'
DC AL3(0)
DC AL4(3800)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000688'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E4C'
*
DC XL1'D'
DC AL3(0)
DC AL4(3840)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000690'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E5A'
*
DC XL1'D'
DC AL3(0)
DC AL4(3880)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'00000698'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E60'
*
DC XL1'D'
DC AL3(0)
DC AL4(3920)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006A0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E6E'
*
DC XL1'D'
DC AL3(0)
DC AL4(3960)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006A8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E7A'
*
DC XL1'D'
DC AL3(0)
DC AL4(4000)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006B0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001E90'
*
DC XL1'D'
DC AL3(0)
DC AL4(4040)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006B8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001EA0'
*
DC XL1'D'
DC AL3(0)
DC AL4(4080)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006C0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001EB4'
*
DC XL1'D'
DC AL3(0)
DC AL4(4120)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006C8'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001EC4'
*
DC XL1'D'
DC AL3(0)
DC AL4(0)
DC 4X'00'
DC Q(@@STATIC)
DC X'00000000'
DC X'000006D0'
DC ADL8(@DATA)
DC X'00000000'
DC X'00001DFE'
*
END
|
passencrypt.ads | micahwelf/Password_Encode | 0 | 26029 | <filename>passencrypt.ads
with Ada.Strings,
Ada.Strings.UTF_Encoding,
Ada.Strings.UTF_Encoding.Wide_Strings,
Ada.Command_Line,
Ada.Directories,
Ada.Streams,
Ada.Streams.Stream_IO,
Ada.Sequential_IO,
Interfaces.C_Streams,
Password_Encode;
use Ada.Strings.UTF_Encoding;
package PassEncrypt is
package IO is new Ada.Sequential_IO(Password_Encode.Byte);
use IO;
type IO_Attachment is (Standard_IO, File_IO, Null_IO);
procedure Main;
end PassEncrypt;
|
programs/oeis/324/A324378.asm | neoneye/loda | 22 | 99252 | <filename>programs/oeis/324/A324378.asm
; A324378: a(n) = A000265(1+A005187(n)).
; 1,1,1,5,1,9,11,3,1,17,19,5,23,3,13,27,1,33,35,9,39,5,21,43,47,3,25,51,27,55,57,29,1,65,67,17,71,9,37,75,79,5,41,83,43,87,89,45,95,3,49,99,51,103,105,53,55,111,113,57,117,59,15,121,1,129,131,33,135,17,69,139,143,9,73,147,75,151,153,77,159,5,81,163,83,167,169,85,87,175,177,89,181,91,23,185,191,3,97,195
mov $1,1
lpb $0
add $1,$0
div $0,2
lpe
lpb $1
dif $1,2
lpe
mov $0,$1
|
programs/oeis/009/A009117.asm | neoneye/loda | 22 | 168472 | ; A009117: Expansion of e.g.f.: 1/2 + exp(-4*x)/2.
; 1,-2,8,-32,128,-512,2048,-8192,32768,-131072,524288,-2097152,8388608,-33554432,134217728,-536870912,2147483648,-8589934592,34359738368,-137438953472,549755813888,-2199023255552,8796093022208,-35184372088832,140737488355328,-562949953421312,2251799813685248,-9007199254740992,36028797018963968,-144115188075855872,576460752303423488,-2305843009213693952,9223372036854775808,-36893488147419103232,147573952589676412928,-590295810358705651712,2361183241434822606848,-9444732965739290427392,37778931862957161709568,-151115727451828646838272,604462909807314587353088,-2417851639229258349412352,9671406556917033397649408,-38685626227668133590597632,154742504910672534362390528,-618970019642690137449562112,2475880078570760549798248448,-9903520314283042199192993792,39614081257132168796771975168,-158456325028528675187087900672,633825300114114700748351602688,-2535301200456458802993406410752,10141204801825835211973625643008,-40564819207303340847894502572032,162259276829213363391578010288128,-649037107316853453566312041152512,2596148429267413814265248164610048,-10384593717069655257060992658440192,41538374868278621028243970633760768,-166153499473114484112975882535043072,664613997892457936451903530140172288
mov $1,-4
pow $1,$0
dif $1,2
mov $0,$1
|
pwnlib/shellcraft/templates/thumb/linux/wait4.asm | IMULMUL/python3-pwntools | 325 | 174966 | <%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="pid, stat_loc, options, usage"/>
<%docstring>
Invokes the syscall wait4. See 'man 2 wait4' for more information.
Arguments:
pid(pid_t): pid
stat_loc(WAIT_STATUS): stat_loc
options(int): options
usage(rusage): usage
</%docstring>
${syscall('SYS_wait4', pid, stat_loc, options, usage)}
|
src/tests/generated-fn/080635-09-11-20.asm | mguarnieri/revizor | 29 | 3946 | <filename>src/tests/generated-fn/080635-09-11-20.asm<gh_stars>10-100
.intel_syntax noprefix
.test_case_enter:
test_case_main:
.test_case_main.entry:
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV EAX, EDI
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV EBX, EDI
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV ECX, EDI
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV EDX, EDI
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV ESI, EDI
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
MOV R13D, EDI
ADD RSP, 8
IMUL EDI, EDI, 2891336453
ADD EDI, 12345
PUSHQ RDI
AND qword ptr [RSP], 2263
OR qword ptr [RSP], 2
POPFQ
LEA RSP, qword ptr [RSP - 8]
LFENCE
JMP .bb0
.bb0:
ADC CX, -30805
REX SETB R13B
AND RDX, 0b111111000000
ADD RDX, R14
CMOVLE DX, word ptr [RDX]
{load} AND RCX, RAX
INC CL
CMOVNZ ECX, ESI
OR CX, 31320
NOT CL
AND RCX, 0b111111000000
ADD RCX, R14
OR word ptr [RCX], 7069
CMOVNZ EAX, EAX
AND RBX, 0b111111000000
ADD RBX, R14
MOV RDX, 0
OR byte ptr [RBX], 0xef
AND RAX, 0xff
DIV byte ptr [RBX]
XCHG RSI, RAX
{load} SUB CL, BL
{store} ADC AX, DX
REX XOR DL, 55
{load} CMP R13W, AX
JS .bb1
JMP .bb2
.bb1:
{load} SUB SI, R13W
{load} MOV EAX, EAX
SBB RAX, -2091004732
SBB AX, 11050
{load} CMP ECX, EAX
CMOVO EDX, EDX
{store} SUB CL, BL
REX SETZ R13B
{store} MOV SI, CX
REX XOR AL, 62
REX NEG CL
TEST RCX, 451206169
ADD RAX, -380421594
{load} REX MOV BL, BL
AND RCX, 0b111111000000
ADD RCX, R14
LOCK SBB qword ptr [RCX], -1474235705
REX SETP R13B
JP .bb2
JMP .bb3
.bb2:
CMP EBX, -116
OR EDX, 97
AND SI, 25988
CMOVNP ECX, R13D
MOV RSI, 2564513283600421182
REX SETNO BL
MOVZX RSI, BX
{store} AND RAX, RDX
XCHG DX, SI
OR BL, 25
MOVZX RCX, BX
{store} ADC SI, DX
AND RSI, 0b111111000000
ADD RSI, R14
LOCK ADC dword ptr [RSI], -736273717
{load} SUB CX, SI
AND RBX, 0b111111000000
ADD RBX, R14
LOCK REX ADD byte ptr [RBX], BL
JMP .bb3
.bb3:
TEST BX, 2711
{load} MOV EBX, ECX
SUB EAX, -40
REX SETNB R13B
REX TEST AL, BL
AND RDX, 0b111111000000
ADD RDX, R14
LOCK XOR byte ptr [RDX], CL
MOV RDX, 0
OR RSI, 0x61
AND RAX, 0xff
DIV RSI
XOR BX, -110
CMOVLE RCX, R13
SBB DX, -50
INC EAX
STD
SETZ BL
OR DX, 95
{load} REX AND CL, R13B
REX SETNB DL
JMP .test_case_main.exit
.test_case_main.exit:
.test_case_exit:
MFENCE
|
Source Codes/Input and add 2 numbers.asm | kaazima/Emulator-8086 | 0 | 81905 | .MODEL small
.STACK
.DATA
num1 db ?
num2 db ?
num3 db ?
.CODE
.STARTUP
;Store value of num1
mov ah,01h
int 21h
sub al,30h
mov num1,al
;Store value of num2
int 21h
mov ah,00h
sub al,30h
mov num2,al
add al,num1
aaa
add al,30h
add ah,30h
mov dx,offset num3
mov num3,ah
mov num3+1,al
mov num3+2,'$'
mov ah,9h
int 21h
.EXIT
end |
macos/toggle-function-keys.scpt | kfinley/dotfiles | 0 | 3337 | <reponame>kfinley/dotfiles<filename>macos/toggle-function-keys.scpt<gh_stars>0
-- Apple Script (i.e. Use in Apple's Script Editor Application) to Toggle Function Keys / Media keys on/off
-- Tested on MacOS Big Sur (11.4) June 2021
-- Project Path: https://github.com/MrSimonC/Toggle-Mac-Function-Keys
on run argv
set touchBarShows to item 1 of argv
tell application "System Preferences"
set current pane to pane "com.apple.preference.keyboard"
end tell
tell application "System Events"
if UI elements enabled then
tell application process "System Preferences"
repeat until exists tab group 1 of window "Keyboard"
delay 0.5
end repeat
click radio button "Keyboard" of tab group 1 of window "Keyboard"
-- Make a selection from the popupbutton.
click pop up button 2 of tab group 1 of window "Keyboard"
-- F1, F2, etc. Keys
click menu item touchBarShows of menu 1 of pop up button 2 of tab group 1 of window "Keyboard"
try
click checkbox "Use F1, F2, etc. keys as standard function keys on external keyboards" of tab group 1 of window "Keyboard"
end try
try
click checkbox "Use F1, F2, etc. keys as standard function keys" of tab group 1 of window "Keyboard"
end try
end tell
tell application "System Preferences" to quit
else
-- GUI scripting not enabled. Display an alert
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.security"
display dialog "UI element scripting is not enabled. Please activate this app under Privacy -> Accessibility so it can access the settings it needs."
end tell
end if
end tell
end run
|
Scripts Pack Source Items/Scripts Pack/Dock/Pinning Position.applescript | Phorofor/ScriptsPack.macOS | 1 | 1611 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Changes the position where the dock is pinned instead of being in the middle
-- Dock Pinning Position
-- Versions compatible: Not 10.12
-- Preference Identifier: com.apple.dock
-- Preference Key: pinning
-- Preference location: ~/Library/Preferences/com.apple.dock.plist
-- Default value (string): middle
set defaultHD to (path to system folder) as string
set pIcon to defaultHD & "Library:CoreServices:Dock.app:Contents:Resources:Dock.icns"
display alert "Set Dock Pinning Position" message "This will make the Dock become middle in either the start, middle or at the end. Instead of being in the middle which is the default setting." buttons ["Cancel", "Set Dock Pinning"] cancel button 1
set tValue to "defaults write com.apple.dock pinning -string " as string
set pValue to (choose from list ["Start", "Middle", "End"] with prompt "Which point do you want to pin the Dock to?") as string
if pValue is equal to "false" then
display alert "Dock - Pinning" message "No changes were made to the Dock." buttons ["OK"] cancel button 1
end if
if pValue is equal to ["Start"] then
do shell script tValue & pValue
end if
if pValue is equal to ["Middle"] then
do shell script tValue & pValue
end if
if pValue is equal to ["End"] then
do shell script tValue & pValue
else
do shell script tValue & pValue
tell application "System Events"
display alert "Dock - Changes Applied!" message "You've set the Dock to be pinned at the: " & pValue & ". In order to see the changes you've made, you need to restart the Dock. Would you like to do that now?" buttons ["Don't Restart", "Restart Dock now"] cancel button 1 default button 2
do shell script "killall Dock"
end tell
end if |
oeis/081/A081438.asm | neoneye/loda-programs | 11 | 88312 | ; A081438: Diagonal in array of n-gonal numbers A081422.
; 1,11,36,82,155,261,406,596,837,1135,1496,1926,2431,3017,3690,4456,5321,6291,7372,8570,9891,11341,12926,14652,16525,18551,20736,23086,25607,28305,31186,34256,37521,40987,44660,48546,52651,56981,61542,66340,71381,76671,82216,88022,94095,100441,107066,113976,121177,128675,136476,144586,153011,161757,170830,180236,189981,200071,210512,221310,232471,244001,255906,268192,280865,293931,307396,321266,335547,350245,365366,380916,396901,413327,430200,447526,465311,483561,502282,521480,541161,561331
mov $1,$0
mul $1,2
add $1,5
bin $1,2
sub $1,1
mul $0,$1
div $0,2
add $0,1
|
gfx/pokemon/wigglytuff/anim_idle.asm | Dev727/ancientplatinum | 28 | 19154 | setrepeat 3
frame 0, 06
frame 3, 06
dorepeat 1
endanim
|
src/Categories/Enriched/NaturalTransformation.agda | MirceaS/agda-categories | 0 | 5192 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using () renaming (Category to Setoid-Category)
open import Categories.Category.Monoidal
module Categories.Enriched.NaturalTransformation
{o ℓ e} {V : Setoid-Category o ℓ e} (M : Monoidal V) where
open import Level
open import Categories.Category.Monoidal.Properties M using (module Kelly's)
open import Categories.Category.Monoidal.Reasoning M
open import Categories.Category.Monoidal.Utilities M
open import Categories.Enriched.Category M
open import Categories.Enriched.Functor M renaming (id to idF)
open import Categories.Morphism.Reasoning V
import Categories.Morphism.IsoEquiv V as IsoEquiv
open import Categories.NaturalTransformation using (ntHelper)
renaming (NaturalTransformation to Setoid-NT)
open Setoid-Category V renaming (Obj to ObjV; id to idV)
open Commutation
open Monoidal M
open Shorthands
module _ {c d} {C : Category c} {D : Category d} where
private
module C = Category C
module D = Category D
module U = Underlying D
record NaturalTransformation (F G : Functor C D) : Set (ℓ ⊔ e ⊔ c) where
eta-equality
private
module F = Functor F
module G = Functor G
field
comp : ∀ X → F.₀ X U.⇒ G.₀ X
commute : ∀ {X Y} →
[ C [ X , Y ] ⇒ D [ F.₀ X , G.₀ Y ] ]⟨
unitorˡ.to ⇒⟨ unit ⊗₀ C [ X , Y ] ⟩
comp Y ⊗₁ F.₁ ⇒⟨ D [ F.₀ Y , G.₀ Y ] ⊗₀ D [ F.₀ X , F.₀ Y ] ⟩
D.⊚
≈ unitorʳ.to ⇒⟨ C [ X , Y ] ⊗₀ unit ⟩
G.₁ ⊗₁ comp X ⇒⟨ D [ G.₀ X , G.₀ Y ] ⊗₀ D [ F.₀ X , G.₀ X ] ⟩
D.⊚
⟩
-- A shorthand for the components of a natural transformation:
--
-- α [ X ]
--
-- is the X-component of the family { αₓ } of "morphisms" that
-- forms the natural transformation α.
infixl 16 _[_]
_[_] = comp
open NaturalTransformation
open D hiding (id)
open IsoEquiv._≃_
id : ∀ {F : Functor C D} → NaturalTransformation F F
id {F} = record
{ comp = λ _ → D.id
; commute = λ {X} {Y} → begin
⊚ ∘ D.id ⊗₁ F.₁ ∘ λ⇐ ≈⟨ refl⟩∘⟨ pushˡ serialize₁₂ ⟩
⊚ ∘ D.id ⊗₁ idV ∘ idV ⊗₁ F.₁ ∘ λ⇐ ≈⟨ pullˡ unitˡ ⟩
unitorˡ.from ∘ idV ⊗₁ F.₁ ∘ λ⇐ ≈⟨ pullˡ unitorˡ-commute-from ⟩
(F.₁ ∘ unitorˡ.from) ∘ λ⇐ ≈⟨ cancelʳ unitorˡ.isoʳ ⟩
F.₁ ≈˘⟨ cancelʳ unitorʳ.isoʳ ⟩
(F.₁ ∘ unitorʳ.from) ∘ ρ⇐ ≈˘⟨ pullˡ unitorʳ-commute-from ⟩
unitorʳ.from ∘ F.₁ ⊗₁ idV ∘ ρ⇐ ≈˘⟨ pullˡ unitʳ ⟩
⊚ ∘ idV ⊗₁ D.id ∘ F.₁ ⊗₁ idV ∘ ρ⇐ ≈˘⟨ refl⟩∘⟨ pushˡ serialize₂₁ ⟩
⊚ ∘ F.₁ ⊗₁ D.id ∘ ρ⇐ ∎
}
where module F = Functor F
infixr 9 _∘ᵥ_
-- Vertical composition
_∘ᵥ_ : {F G H : Functor C D} →
NaturalTransformation G H → NaturalTransformation F G →
NaturalTransformation F H
_∘ᵥ_ {F} {G} {H} α β = record
{ comp = λ X → α [ X ] U.∘ β [ X ]
; commute = λ {X} {Y} →
begin
⊚ ∘ (⊚ ∘ α [ Y ] ⊗₁ β [ Y ] ∘ λ⇐) ⊗₁ F.₁ ∘ λ⇐
≈⟨ helper (α [ Y ]) (β [ Y ]) F.₁ λ⇐ ⟩
⊚ ∘ α [ Y ] ⊗₁ (⊚ ∘ β [ Y ] ⊗₁ F.₁ ∘ λ⇐) ∘ λ⇐
≈⟨ refl⟩∘⟨ refl⟩⊗⟨ commute β ⟩∘⟨refl ⟩
⊚ ∘ α [ Y ] ⊗₁ (⊚ ∘ G.₁ ⊗₁ β [ X ] ∘ ρ⇐) ∘ λ⇐
≈˘⟨ helper (α [ Y ]) G.₁ (β [ X ]) ρ⇐ ⟩
⊚ ∘ (⊚ ∘ α [ Y ] ⊗₁ G.₁ ∘ λ⇐) ⊗₁ β [ X ] ∘ ρ⇐
≈⟨ refl⟩∘⟨ commute α ⟩⊗⟨refl ⟩∘⟨refl ⟩
⊚ ∘ (⊚ ∘ H.₁ ⊗₁ α [ X ] ∘ ρ⇐) ⊗₁ β [ X ] ∘ ρ⇐
≈˘⟨ refl⟩∘⟨ assoc ⟩⊗⟨refl ⟩∘⟨refl ⟩
⊚ ∘ ((⊚ ∘ H.₁ ⊗₁ α [ X ]) ∘ ρ⇐) ⊗₁ β [ X ] ∘ ρ⇐
≈⟨ refl⟩∘⟨ split₁ʳ ⟩∘⟨refl ⟩
⊚ ∘ ((⊚ ∘ H.₁ ⊗₁ α [ X ]) ⊗₁ β [ X ] ∘ ρ⇐ ⊗₁ idV) ∘ ρ⇐
≈⟨ pullˡ (pullˡ ⊚-assoc-var) ⟩
((⊚ ∘ H.₁ ⊗₁ (⊚ ∘ α [ X ] ⊗₁ β [ X ]) ∘ α⇒) ∘ ρ⇐ ⊗₁ idV) ∘ ρ⇐
≈˘⟨ pushʳ (pushʳ (switch-tofromˡ associator (to-≈ triangle-iso))) ⟩∘⟨refl ⟩
(⊚ ∘ H.₁ ⊗₁ (⊚ ∘ α [ X ] ⊗₁ β [ X ]) ∘ idV ⊗₁ λ⇐) ∘ ρ⇐
≈˘⟨ pushʳ (split₂ʳ ⟩∘⟨refl) ⟩
⊚ ∘ H.₁ ⊗₁ ((⊚ ∘ α [ X ] ⊗₁ β [ X ]) ∘ λ⇐) ∘ ρ⇐
≈⟨ refl⟩∘⟨ refl⟩⊗⟨ assoc ⟩∘⟨refl ⟩
⊚ ∘ H.₁ ⊗₁ (⊚ ∘ α [ X ] ⊗₁ β [ X ] ∘ λ⇐) ∘ ρ⇐
∎
}
where
module F = Functor F
module G = Functor G
module H = Functor H
helper : ∀ {X₁ X₂ X₃ X₄ Y₁ Y₂ Z} (f : X₃ U.⇒ X₄) (g : Y₁ ⇒ D [ X₂ , X₃ ])
(h : Y₂ ⇒ D [ X₁ , X₂ ]) (i : Z ⇒ Y₁ ⊗₀ Y₂) →
⊚ ∘ (⊚ ∘ f ⊗₁ g ∘ λ⇐) ⊗₁ h ∘ i ≈
⊚ ∘ f ⊗₁ (⊚ ∘ g ⊗₁ h ∘ i) ∘ λ⇐
helper f g h i = begin
⊚ ∘ (⊚ ∘ f ⊗₁ g ∘ λ⇐) ⊗₁ h ∘ i
≈˘⟨ refl⟩∘⟨ assoc ⟩⊗⟨refl ⟩∘⟨refl ⟩
⊚ ∘ ((⊚ ∘ f ⊗₁ g) ∘ λ⇐) ⊗₁ h ∘ i
≈⟨ refl⟩∘⟨ split₁ʳ ⟩∘⟨refl ⟩
⊚ ∘ ((⊚ ∘ f ⊗₁ g) ⊗₁ h ∘ λ⇐ ⊗₁ idV) ∘ i
≈⟨ pullˡ (pullˡ ⊚-assoc-var) ⟩
((⊚ ∘ f ⊗₁ (⊚ ∘ g ⊗₁ h) ∘ α⇒) ∘ λ⇐ ⊗₁ idV) ∘ i
≈˘⟨ pushʳ (pushʳ (switch-tofromˡ associator (to-≈ Kelly's.coherence-iso₁))) ⟩∘⟨refl ⟩
(⊚ ∘ f ⊗₁ (⊚ ∘ g ⊗₁ h) ∘ λ⇐) ∘ i
≈⟨ pullʳ (pullʳ unitorˡ-commute-to) ⟩
⊚ ∘ f ⊗₁ (⊚ ∘ g ⊗₁ h) ∘ idV ⊗₁ i ∘ λ⇐
≈˘⟨ refl⟩∘⟨ pushˡ split₂ʳ ⟩
⊚ ∘ f ⊗₁ ((⊚ ∘ g ⊗₁ h) ∘ i) ∘ λ⇐
≈⟨ refl⟩∘⟨ refl⟩⊗⟨ assoc ⟩∘⟨refl ⟩
⊚ ∘ f ⊗₁ (⊚ ∘ g ⊗₁ h ∘ i) ∘ λ⇐
∎
-- A V-enriched natural transformation induces an ordinary natural
-- transformation on the underlying functors.
UnderlyingNT : {F G : Functor C D} → NaturalTransformation F G →
Setoid-NT (UnderlyingFunctor F) (UnderlyingFunctor G)
UnderlyingNT {F} {G} α = ntHelper (record
{ η = comp α
; commute = λ {X Y} f →
begin
⊚ ∘ α [ Y ] ⊗₁ (F.₁ ∘ f) ∘ λ⇐ ≈⟨ refl⟩∘⟨ split₂ʳ ⟩∘⟨refl ⟩
⊚ ∘ (α [ Y ] ⊗₁ F.₁ ∘ idV ⊗₁ f) ∘ λ⇐ ≈˘⟨ refl⟩∘⟨ extendˡ unitorˡ-commute-to ⟩
⊚ ∘ (α [ Y ] ⊗₁ F.₁ ∘ λ⇐) ∘ f ≈⟨ extendʳ (commute α) ⟩
⊚ ∘ (G.₁ ⊗₁ α [ X ] ∘ ρ⇐) ∘ f ≈⟨ refl⟩∘⟨ extendˡ unitorʳ-commute-to ⟩
⊚ ∘ (G.₁ ⊗₁ α [ X ] ∘ f ⊗₁ idV) ∘ ρ⇐ ≈˘⟨ refl⟩∘⟨ split₁ʳ ⟩∘⟨refl ⟩
⊚ ∘ (G.₁ ∘ f) ⊗₁ α [ X ] ∘ ρ⇐ ≈˘⟨ refl⟩∘⟨ refl⟩∘⟨ to-≈ Kelly's.coherence-iso₃ ⟩
⊚ ∘ (G.₁ ∘ f) ⊗₁ α [ X ] ∘ λ⇐ ∎
})
where
module F = Functor F
module G = Functor G
module UnderlyingNT {F} {G} α = Setoid-NT (UnderlyingNT {F} {G} α)
module _ {c d e} {C : Category c} {D : Category d} {E : Category e} where
private
module C = Category C
module D = Category D
module E = Category E
module U = Underlying E
open NaturalTransformation
infixr 9 _∘ₕ_ _∘ˡ_ _∘ʳ_
-- Left- and right-hand composition with a functor
_∘ˡ_ : {G H : Functor C D} (F : Functor D E) →
NaturalTransformation G H → NaturalTransformation (F ∘F G) (F ∘F H)
_∘ˡ_ {G} {H} F α = record
{ comp = λ X → F.₁ ∘ α [ X ]
; commute = λ {X Y} →
begin
E.⊚ ∘ (F.₁ ∘ α [ Y ]) ⊗₁ (F.₁ ∘ G.₁) ∘ λ⇐ ≈⟨ refl⟩∘⟨ pushˡ ⊗-distrib-over-∘ ⟩
E.⊚ ∘ (F.₁ ⊗₁ F.₁) ∘ (α [ Y ] ⊗₁ G.₁) ∘ λ⇐ ≈˘⟨ extendʳ F.homomorphism ⟩
F.₁ ∘ D.⊚ ∘ (α [ Y ] ⊗₁ G.₁) ∘ λ⇐ ≈⟨ refl⟩∘⟨ commute α ⟩
F.₁ ∘ D.⊚ ∘ (H.₁ ⊗₁ α [ X ]) ∘ ρ⇐ ≈⟨ extendʳ F.homomorphism ⟩
E.⊚ ∘ (F.₁ ⊗₁ F.₁) ∘ (H.₁ ⊗₁ α [ X ]) ∘ ρ⇐ ≈˘⟨ refl⟩∘⟨ pushˡ ⊗-distrib-over-∘ ⟩
E.⊚ ∘ (F.₁ ∘ H.₁) ⊗₁ (F.₁ ∘ α [ X ]) ∘ ρ⇐ ∎
}
where
module F = Functor F
module G = Functor G
module H = Functor H
_∘ʳ_ : {G H : Functor D E} →
NaturalTransformation G H → (F : Functor C D) →
NaturalTransformation (G ∘F F) (H ∘F F)
_∘ʳ_ {G} {H} α F = record
{ comp = λ X → α [ F.₀ X ]
; commute = λ {X Y} →
begin
E.⊚ ∘ α [ F.₀ Y ] ⊗₁ (G.₁ ∘ F.₁) ∘ λ⇐ ≈⟨ refl⟩∘⟨ split₂ʳ ⟩∘⟨refl ⟩
E.⊚ ∘ (α [ F.₀ Y ] ⊗₁ G.₁ ∘ idV ⊗₁ F.₁) ∘ λ⇐ ≈˘⟨ refl⟩∘⟨ extendˡ unitorˡ-commute-to ⟩
E.⊚ ∘ (α [ F.₀ Y ] ⊗₁ G.₁ ∘ λ⇐) ∘ F.₁ ≈⟨ extendʳ (commute α) ⟩
E.⊚ ∘ (H.₁ ⊗₁ α [ F.₀ X ] ∘ ρ⇐) ∘ F.₁ ≈⟨ refl⟩∘⟨ extendˡ unitorʳ-commute-to ⟩
E.⊚ ∘ (H.₁ ⊗₁ α [ F.₀ X ] ∘ F.₁ ⊗₁ idV) ∘ ρ⇐ ≈˘⟨ refl⟩∘⟨ split₁ʳ ⟩∘⟨refl ⟩
E.⊚ ∘ (H.₁ ∘ F.₁) ⊗₁ α [ F.₀ X ] ∘ ρ⇐ ∎
}
where
module F = Functor F
module G = Functor G
module H = Functor H
-- Horizontal composition
_∘ₕ_ : {H I : Functor D E} {F G : Functor C D} →
NaturalTransformation H I → NaturalTransformation F G →
NaturalTransformation (H ∘F F) (I ∘F G)
_∘ₕ_ {_} {I} {F} {_} α β = (I ∘ˡ β) ∘ᵥ (α ∘ʳ F)
|
test/Fail/Issue2487/c.agda | shlevy/agda | 1,989 | 15215 | <gh_stars>1000+
{-# OPTIONS --cubical --no-sized-types --no-guardedness #-}
module Issue2487.c where
postulate admit : {A : Set} -> A
|
oeis/114/A114590.asm | neoneye/loda-programs | 11 | 168659 | <gh_stars>10-100
; A114590: Number of peaks at even levels in all hill-free Dyck paths of semilength n+2 (a hill in a Dyck path is a peak at level 1).
; Submitted by <NAME>
; 1,2,8,28,103,382,1432,5408,20546,78436,300636,1156188,4459267,17241526,66807856,259361920,1008598126,3928120924,15319329472,59817190552,233826979750,914962032172,3583556424208,14047386554368,55108441878868,216349791297992,849939056564372,3341116664465788,13141643917190907,51718437698485542,203640314331255904,802215718809971200,3161660422247934550,12465927483636494764,49170985314216263184,194025422810993600712,765887547016319197618,3024265597014717956612,11945818770071539640336
mov $2,$0
mov $4,$0
add $4,1
lpb $4
mov $0,$2
sub $4,1
sub $0,$4
mul $0,2
bin $0,$2
add $3,$0
add $1,$3
lpe
mov $0,$1
|
programs/oeis/288/A288713.asm | neoneye/loda | 22 | 83511 | <gh_stars>10-100
; A288713: Positions of 1 in A288711; complement of A288712.
; 1,7,13,17,23,29,33,39,43,49,55,59,65,71,75,81,85,91,97,101,107,111,117,123,127,133,139,143,149,153,159,165,169,175,181,185,191,195,201,207,211,217,221,227,233,237,243,249,253,259,263,269,275,279,285,289,295,301,305,311,317,321,327,331,337,343,347,353,359,363,369,373,379,385,389,395,399,405,411,415,421,427,431,437,441,447,453,457,463,469,473,479,483,489,495,499,505,509,515,521
mov $2,$0
pow $2,2
mov $4,$0
lpb $2
sub $2,$0
add $0,2
trn $2,1
lpe
add $0,1
mov $3,$4
mul $3,3
add $0,$3
|
p15.asm | tehasdf/AdventOfCode2016 | 0 | 174650 | <reponame>tehasdf/AdventOfCode2016<filename>p15.asm
; nasm -felf64 p15.asm && gcc p15.o && ./a.out
global main
extern printf
section .data
startpos:
db 5+1, 8+2, 1+3, 7+4, 1+5, 0+6, 0+7
discs:
db 17, 19, 7, 13, 5, 3, 11
print_int:
db "%d", 10, 0
section .text
main:
mov r8, 1 ; t
mov rax, 0
l1: ; iterate over t
mov rcx, startpos ; iterator over startpos
mov r9, discs ; end boundary for startpos
mov r11, discs ; iterator over discs
l2: ; iterate over startpos and discs
movzx rax, byte [rcx] ; compute (t + startpos[i]) % discs[i]
add rax, r8
movzx r15, byte [r11]
xor rdx, rdx
div r15
cmp rdx, 0
jne nonzero ; if any of them is nonzero, continue to the next t
inc r11
inc rcx
cmp rcx, r9
jne l2 ; next disc
jmp success ; all discs checked and we didnt jmp to nonzero - all are 0
nonzero:
inc r8
jmp l1
success:
mov rdi, print_int
mov rsi, r8
mov rax, 0
call printf
|
programs/oeis/235/A235699.asm | karttu/loda | 0 | 176884 | <gh_stars>0
; A235699: a(n+1) = a(n) + (a(n) mod 10) + 1, a(0) = 0.
; 0,1,3,7,15,21,23,27,35,41,43,47,55,61,63,67,75,81,83,87,95,101,103,107,115,121,123,127,135,141,143,147,155,161,163,167,175,181,183,187,195,201,203,207,215,221,223,227,235,241,243,247,255,261,263,267,275,281,283,287,295,301,303,307,315,321,323,327,335,341,343,347,355,361,363,367,375,381,383,387,395,401,403,407,415,421,423,427,435,441,443,447,455,461,463,467,475,481,483,487,495,501,503,507,515,521,523,527,535,541,543,547,555,561,563,567,575,581,583,587,595,601,603,607,615,621,623,627,635,641,643,647,655,661,663,667,675,681,683,687,695,701,703,707,715,721,723,727,735,741,743,747,755,761,763,767,775,781,783,787,795,801,803,807,815,821,823,827,835,841,843,847,855,861,863,867,875,881,883,887,895,901,903,907,915,921,923,927,935,941,943,947,955,961,963,967,975,981,983,987,995,1001,1003,1007,1015,1021,1023,1027,1035,1041,1043,1047,1055,1061,1063,1067,1075,1081,1083,1087,1095,1101,1103,1107,1115,1121,1123,1127,1135,1141,1143,1147,1155,1161,1163,1167,1175,1181,1183,1187,1195,1201,1203,1207,1215,1221,1223,1227,1235,1241
add $0,1
mov $2,1
lpb $0,1
sub $0,1
mov $3,$2
mod $2,20
add $2,$3
mov $1,$2
lpe
sub $1,2
div $1,2
|
alloy4fun_models/trashltl/models/3/kbP6GGAyX7QAGf4hw.als | Kaixi26/org.alloytools.alloy | 0 | 311 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idkbP6GGAyX7QAGf4hw_prop4 {
eventually( some f:File'| f in Trash')
}
pred __repair { idkbP6GGAyX7QAGf4hw_prop4 }
check __repair { idkbP6GGAyX7QAGf4hw_prop4 <=> prop4o } |
4rth-Sem-Ise/Microprocessors -X86-/hardware/ringcounter.asm | mvnsia/4th_Sem_Ise | 0 | 241112 | assume cs:code,ds:data
data segment
pa equ 20A0h
pb equ 20A1h
pc equ 20A2h
cr equ 20A3h
data ends
code segment
start:
mov ax,data
mov ds,ax
mov dx,cr
mov al,82h
out dx,al
mov al,01
rpt:
mov dx,pa
out dx,al
call delay
ror al,1
push ax
mov ah,06h
mov dl,0ffh
int 21h
pop ax
jz rpt
mov ah,4ch
int 21h
delay proc
mov si,0ffffh
l2:mov di,0ffffh
l1:dec di
jnz l1
dec si
jnz l2
ret
delay endp
code ends
end start
|
libsrc/_DEVELOPMENT/stdio/z80/asm_fputs.asm | meesokim/z88dk | 0 | 245539 |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int fputs(const char *s, FILE *stream)
;
; Write string to stream. Return number of bytes written.
;
; ===============================================================
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC asm_fputs
EXTERN asm0_fputs_unlocked, __stdio_lock_release
asm_fputs:
; enter : ix = FILE *
; hl = char *s
;
; exit : ix = FILE *
;
; success
;
; hl = strlen(s)
; carry reset
;
; fail
;
; hl = -1
; carry set, errno set
;
; uses : all except ix
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_STDIO & $01
EXTERN __stdio_verify_valid_lock
call __stdio_verify_valid_lock
ret c
ELSE
EXTERN __stdio_lock_acquire, error_enolck_mc
call __stdio_lock_acquire
jp c, error_enolck_mc
ENDIF
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
call asm0_fputs_unlocked
jp __stdio_lock_release
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC asm_fputs
EXTERN asm_fputs_unlocked
defc asm_fputs = asm_fputs_unlocked
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ENDIF
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
alloy4fun_models/trainstlt/models/5/QqKPhoBXdAAfPyWDW.als | Kaixi26/org.alloytools.alloy | 0 | 2628 | <filename>alloy4fun_models/trainstlt/models/5/QqKPhoBXdAAfPyWDW.als
open main
pred idQqKPhoBXdAAfPyWDW_prop6 {
always Signal & Green not in Signal & Green' or Signal - Green in Signal' & Green'
}
pred __repair { idQqKPhoBXdAAfPyWDW_prop6 }
check __repair { idQqKPhoBXdAAfPyWDW_prop6 <=> prop6o } |
tests/pfpo.asm | mtalexander/hyperion | 187 | 87631 | * PFPO TITLE 'Perform floating point operation. ESA and z mode.'
* This file was put into the public domain 2016-05-05
* by <NAME>. You can use it for anything you like,
* as long as this notice remains.
* Note that this test runs in problem state. As a result STFL is
* not a good idea; nor is lpsw for that matter.
* So we terminate by SVC, and we determine architecture mode
* by seeing where the restart old psw was stored.
pfpo start 0
using pfpo,15
dc a(x'00090000',go) ESA restart new PSW at 0
ropsw390 ds 0xl8 ESA/390 Restart old psw
ds x'ffffffffffffffff' If no longer ones, then ESA/390 mode
org pfpo+x'60' ESA SVC new PSW
dc x'000a0000',a(x'0') normal end of job
org pfpo+x'68' ESA program new
dc x'000a0000',a(x'deaddead')
org pfpo+x'120'
ropswz ds 0xl16 z/Arch Restart old psw
dc 16x'ff' If no longer ones, then z/Arch mode
org pfpo+x'1a0' z restart new PSW
dc x'0001000180000000',ad(go)
org pfpo+x'1c0' z SVC Program new
dc x'0002000180000000',ad(0)
org pfpo+x'1d0' z Program new
dc x'0002000180000000',ad(x'deaddead')
using pfpo,15
org pfpo+x'200'
go ds 0h
cli ropsw390,x'ff' Running in ESA/390 mode?
bne eoj ..yes, no PFPO support, skip instruction execution
sr 3,3 clear r3 for later condition code store
l 0,=a(x'80000000') Test for invalid function
pfpo
ipm 3 collect condition code from PSW
st 3,condcode
eoj ds 0h
svc 0 load hardwait psw.
ltorg
org pfpo+x'300'
condcode dc f'0'
end
|
src/_test/scenarios/apsepp_scope_bound_locks_test_case.adb | thierr26/ada-apsepp | 0 | 4648 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Unchecked_Deallocation,
Apsepp.Scope_Bound_Locks,
Apsepp_Scope_Bound_Locks_Test_Fixture,
Apsepp.Generic_Fixture.Creator;
package body Apsepp_Scope_Bound_Locks_Test_Case is
use Apsepp.Scope_Bound_Locks,
Apsepp_Scope_Bound_Locks_Test_Fixture;
----------------------------------------------------------------------------
function SBLF return Scope_Bound_Locks_Test_Fixture_Access
renames Instance;
----------------------------------------------------------------------------
procedure SB_Lock_CB_procedure_Test is
procedure P_Null is new SB_Lock_CB_procedure (null);
procedure P_Increment_N is new SB_Lock_CB_procedure (Increment_N'Access);
begin
P_Null;
Assert (SBLF.N = 0);
P_Increment_N;
Assert (SBLF.N = 1);
end SB_Lock_CB_procedure_Test;
----------------------------------------------------------------------------
procedure Locked_Test is
begin
Assert (not Locked (SBLF.Lock));
declare
Locker : SB_L_Locker (SBLF.Lock'Access);
pragma Unreferenced (Locker);
begin
Assert (Locked (SBLF.Lock));
end;
Assert (not Locked (SBLF.Lock));
declare
Locker : SB_L_Locker (SBLF.Lock'Access);
pragma Unreferenced (Locker);
begin
Assert (Locked (SBLF.Lock));
end;
Assert (not Locked (SBLF.Lock));
end;
----------------------------------------------------------------------------
procedure Locked_With_CB_Test is
begin
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
declare
Locker : SB_L_Locker (SBLF.Lock_W_CB'Access);
pragma Unreferenced (Locker);
begin
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
end;
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
begin
declare
Locker : SB_L_Locker (SBLF.Lock_W_CB'Access);
pragma Unreferenced (Locker);
begin
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
raise Program_Error;
end;
exception
when others =>
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
end;
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
declare
Locker : SB_L_Locker (SBLF.Lock_W_CB'Access);
pragma Unreferenced (Locker);
begin
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
end;
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
end;
----------------------------------------------------------------------------
procedure Has_Actually_Locked_Test is
begin
declare
Outer_Locker : SB_L_Locker (SBLF.Lock'Access);
begin
Assert (Outer_Locker.Has_Actually_Locked);
declare
Inner_Locker : SB_L_Locker (SBLF.Lock'Access);
begin
Assert (not Inner_Locker.Has_Actually_Locked);
end;
Assert (Outer_Locker.Has_Actually_Locked);
end;
end;
----------------------------------------------------------------------------
procedure Has_Actually_Locked_With_CB_Test is
begin
declare
Outer_Locker : SB_L_Locker (SBLF.Lock_W_CB'Access);
begin
Assert (Outer_Locker.Has_Actually_Locked);
Assert (SBLF.N = 1);
declare
Inner_Locker : SB_L_Locker (SBLF.Lock_W_CB'Access);
begin
Assert (not Inner_Locker.Has_Actually_Locked);
Assert (SBLF.N = 1);
end;
Assert (Outer_Locker.Has_Actually_Locked);
Assert (SBLF.N = 1);
end;
Assert (SBLF.N = 0);
end;
----------------------------------------------------------------------------
procedure Allocator_Test is
type SB_L_Locker_Access is access SB_L_Locker;
procedure Free
is new Ada.Unchecked_Deallocation (SB_L_Locker, SB_L_Locker_Access);
Locker_Access_1, Locker_Access_2 : SB_L_Locker_Access;
begin
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
Locker_Access_1 := new SB_L_Locker (SBLF.Lock_W_CB'Access);
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
Assert (Locker_Access_1.Has_Actually_Locked);
Locker_Access_2 := new SB_L_Locker (SBLF.Lock_W_CB'Access);
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
Assert (not Locker_Access_2.Has_Actually_Locked);
Assert (Locker_Access_1.Has_Actually_Locked);
Free (Locker_Access_1);
Assert (Locker_Access_1 = null);
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
Assert (not Locker_Access_2.Has_Actually_Locked);
Free (Locker_Access_2);
Assert (Locker_Access_2 = null);
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
Locker_Access_1 := new SB_L_Locker (SBLF.Lock_W_CB'Access);
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
Assert (Locker_Access_1.Has_Actually_Locked);
Locker_Access_2 := new SB_L_Locker (SBLF.Lock_W_CB'Access);
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
Assert (not Locker_Access_2.Has_Actually_Locked);
Free (Locker_Access_2);
Assert (Locker_Access_2 = null);
Assert (Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 1);
Assert (Locker_Access_1.Has_Actually_Locked);
Free (Locker_Access_1);
Assert (Locker_Access_1 = null);
Assert (not Locked (SBLF.Lock_W_CB));
Assert (SBLF.N = 0);
end;
----------------------------------------------------------------------------
overriding
procedure Setup_Routine (Obj : Apsepp_Scope_Bound_Locks_T_C) is
pragma Unreferenced (Obj);
begin
SBLF.Reset;
end Setup_Routine;
----------------------------------------------------------------------------
overriding
function Routine_Array (Obj : Apsepp_Scope_Bound_Locks_T_C)
return Test_Routine_Array
is (SB_Lock_CB_procedure_Test'Access,
Locked_Test'Access,
Locked_With_CB_Test'Access,
Has_Actually_Locked_Test'Access,
Has_Actually_Locked_With_CB_Test'Access,
Allocator_Test'Access);
----------------------------------------------------------------------------
overriding
procedure Run
(Obj : in out Apsepp_Scope_Bound_Locks_T_C;
Outcome : out Test_Outcome;
Kind : Run_Kind := Assert_Cond_And_Run_Test) is
-----------------------------------------------------
package Scope_Bound_Locks_T_F_Creator
is new Scope_Bound_Locks_T_F.Creator
(Just_Pretend => Check_Cond_Run (Kind));
-----------------------------------------------------
function Cond return Boolean
is (Scope_Bound_Locks_T_F_Creator.Has_Actually_Created);
-----------------------------------------------------
begin
Run_Body (Obj, Outcome, Kind, Cond'Access);
end Run;
----------------------------------------------------------------------------
end Apsepp_Scope_Bound_Locks_Test_Case;
|
tools/xml2ayacc/encoding/auto/encodings-maps-cp_1006.adb | faelys/gela-asis | 4 | 3258 | -- Auto generated file. Don't edit
-- Read copyright and license at the end of this file
package body Encodings.Maps.CP_1006 is
Forward : Forward_Map (Character'Val(16#A1#) .. Character'Last) :=
(Wide_Character'Val( 16#6F0#),
Wide_Character'Val( 16#6F1#),
Wide_Character'Val( 16#6F2#),
Wide_Character'Val( 16#6F3#),
Wide_Character'Val( 16#6F4#),
Wide_Character'Val( 16#6F5#),
Wide_Character'Val( 16#6F6#),
Wide_Character'Val( 16#6F7#),
Wide_Character'Val( 16#6F8#),
Wide_Character'Val( 16#6F9#),
Wide_Character'Val( 16#60C#),
Wide_Character'Val( 16#61B#),
Wide_Character'Val( 16#AD#),
Wide_Character'Val( 16#61F#),
Wide_Character'Val(16#FE81#),
Wide_Character'Val(16#FE8D#),
Wide_Character'Val(16#FE8E#),
Wide_Character'Val(16#FE8E#),
Wide_Character'Val(16#FE8F#),
Wide_Character'Val(16#FE91#),
Wide_Character'Val(16#FB56#),
Wide_Character'Val(16#FB58#),
Wide_Character'Val(16#FE93#),
Wide_Character'Val(16#FE95#),
Wide_Character'Val(16#FE97#),
Wide_Character'Val(16#FB66#),
Wide_Character'Val(16#FB68#),
Wide_Character'Val(16#FE99#),
Wide_Character'Val(16#FE9B#),
Wide_Character'Val(16#FE9D#),
Wide_Character'Val(16#FE9F#),
Wide_Character'Val(16#FB7A#),
Wide_Character'Val(16#FB7C#),
Wide_Character'Val(16#FEA1#),
Wide_Character'Val(16#FEA3#),
Wide_Character'Val(16#FEA5#),
Wide_Character'Val(16#FEA7#),
Wide_Character'Val(16#FEA9#),
Wide_Character'Val(16#FB84#),
Wide_Character'Val(16#FEAB#),
Wide_Character'Val(16#FEAD#),
Wide_Character'Val(16#FB8C#),
Wide_Character'Val(16#FEAF#),
Wide_Character'Val(16#FB8A#),
Wide_Character'Val(16#FEB1#),
Wide_Character'Val(16#FEB3#),
Wide_Character'Val(16#FEB5#),
Wide_Character'Val(16#FEB7#),
Wide_Character'Val(16#FEB9#),
Wide_Character'Val(16#FEBB#),
Wide_Character'Val(16#FEBD#),
Wide_Character'Val(16#FEBF#),
Wide_Character'Val(16#FEC1#),
Wide_Character'Val(16#FEC5#),
Wide_Character'Val(16#FEC9#),
Wide_Character'Val(16#FECA#),
Wide_Character'Val(16#FECB#),
Wide_Character'Val(16#FECC#),
Wide_Character'Val(16#FECD#),
Wide_Character'Val(16#FECE#),
Wide_Character'Val(16#FECF#),
Wide_Character'Val(16#FED0#),
Wide_Character'Val(16#FED1#),
Wide_Character'Val(16#FED3#),
Wide_Character'Val(16#FED5#),
Wide_Character'Val(16#FED7#),
Wide_Character'Val(16#FED9#),
Wide_Character'Val(16#FEDB#),
Wide_Character'Val(16#FB92#),
Wide_Character'Val(16#FB94#),
Wide_Character'Val(16#FEDD#),
Wide_Character'Val(16#FEDF#),
Wide_Character'Val(16#FEE0#),
Wide_Character'Val(16#FEE1#),
Wide_Character'Val(16#FEE3#),
Wide_Character'Val(16#FB9E#),
Wide_Character'Val(16#FEE5#),
Wide_Character'Val(16#FEE7#),
Wide_Character'Val(16#FE85#),
Wide_Character'Val(16#FEED#),
Wide_Character'Val(16#FBA6#),
Wide_Character'Val(16#FBA8#),
Wide_Character'Val(16#FBA9#),
Wide_Character'Val(16#FBAA#),
Wide_Character'Val(16#FE80#),
Wide_Character'Val(16#FE89#),
Wide_Character'Val(16#FE8A#),
Wide_Character'Val(16#FE8B#),
Wide_Character'Val(16#FEF1#),
Wide_Character'Val(16#FEF2#),
Wide_Character'Val(16#FEF3#),
Wide_Character'Val(16#FBB0#),
Wide_Character'Val(16#FBAE#),
Wide_Character'Val(16#FE7C#),
Wide_Character'Val(16#FE7D#));
Ranges : Maps.Wide_Ranges (1 .. 67) :=
((Wide_Character'Val( 16#0#),Wide_Character'Val( 16#A0#), 1),
(Wide_Character'Val( 16#AD#),Wide_Character'Val( 16#AD#), 162),
(Wide_Character'Val( 16#60C#),Wide_Character'Val( 16#60C#), 163),
(Wide_Character'Val( 16#61B#),Wide_Character'Val( 16#61B#), 164),
(Wide_Character'Val( 16#61F#),Wide_Character'Val( 16#61F#), 165),
(Wide_Character'Val( 16#6F0#),Wide_Character'Val( 16#6F9#), 166),
(Wide_Character'Val(16#FB56#),Wide_Character'Val(16#FB56#), 176),
(Wide_Character'Val(16#FB58#),Wide_Character'Val(16#FB58#), 177),
(Wide_Character'Val(16#FB66#),Wide_Character'Val(16#FB66#), 178),
(Wide_Character'Val(16#FB68#),Wide_Character'Val(16#FB68#), 179),
(Wide_Character'Val(16#FB7A#),Wide_Character'Val(16#FB7A#), 180),
(Wide_Character'Val(16#FB7C#),Wide_Character'Val(16#FB7C#), 181),
(Wide_Character'Val(16#FB84#),Wide_Character'Val(16#FB84#), 182),
(Wide_Character'Val(16#FB8A#),Wide_Character'Val(16#FB8A#), 183),
(Wide_Character'Val(16#FB8C#),Wide_Character'Val(16#FB8C#), 184),
(Wide_Character'Val(16#FB92#),Wide_Character'Val(16#FB92#), 185),
(Wide_Character'Val(16#FB94#),Wide_Character'Val(16#FB94#), 186),
(Wide_Character'Val(16#FB9E#),Wide_Character'Val(16#FB9E#), 187),
(Wide_Character'Val(16#FBA6#),Wide_Character'Val(16#FBA6#), 188),
(Wide_Character'Val(16#FBA8#),Wide_Character'Val(16#FBAA#), 189),
(Wide_Character'Val(16#FBAE#),Wide_Character'Val(16#FBAE#), 192),
(Wide_Character'Val(16#FBB0#),Wide_Character'Val(16#FBB0#), 193),
(Wide_Character'Val(16#FE7C#),Wide_Character'Val(16#FE7D#), 194),
(Wide_Character'Val(16#FE80#),Wide_Character'Val(16#FE81#), 196),
(Wide_Character'Val(16#FE85#),Wide_Character'Val(16#FE85#), 198),
(Wide_Character'Val(16#FE89#),Wide_Character'Val(16#FE8B#), 199),
(Wide_Character'Val(16#FE8D#),Wide_Character'Val(16#FE8E#), 202),
(Wide_Character'Val(16#FE8E#),Wide_Character'Val(16#FE8F#), 204),
(Wide_Character'Val(16#FE91#),Wide_Character'Val(16#FE91#), 206),
(Wide_Character'Val(16#FE93#),Wide_Character'Val(16#FE93#), 207),
(Wide_Character'Val(16#FE95#),Wide_Character'Val(16#FE95#), 208),
(Wide_Character'Val(16#FE97#),Wide_Character'Val(16#FE97#), 209),
(Wide_Character'Val(16#FE99#),Wide_Character'Val(16#FE99#), 210),
(Wide_Character'Val(16#FE9B#),Wide_Character'Val(16#FE9B#), 211),
(Wide_Character'Val(16#FE9D#),Wide_Character'Val(16#FE9D#), 212),
(Wide_Character'Val(16#FE9F#),Wide_Character'Val(16#FE9F#), 213),
(Wide_Character'Val(16#FEA1#),Wide_Character'Val(16#FEA1#), 214),
(Wide_Character'Val(16#FEA3#),Wide_Character'Val(16#FEA3#), 215),
(Wide_Character'Val(16#FEA5#),Wide_Character'Val(16#FEA5#), 216),
(Wide_Character'Val(16#FEA7#),Wide_Character'Val(16#FEA7#), 217),
(Wide_Character'Val(16#FEA9#),Wide_Character'Val(16#FEA9#), 218),
(Wide_Character'Val(16#FEAB#),Wide_Character'Val(16#FEAB#), 219),
(Wide_Character'Val(16#FEAD#),Wide_Character'Val(16#FEAD#), 220),
(Wide_Character'Val(16#FEAF#),Wide_Character'Val(16#FEAF#), 221),
(Wide_Character'Val(16#FEB1#),Wide_Character'Val(16#FEB1#), 222),
(Wide_Character'Val(16#FEB3#),Wide_Character'Val(16#FEB3#), 223),
(Wide_Character'Val(16#FEB5#),Wide_Character'Val(16#FEB5#), 224),
(Wide_Character'Val(16#FEB7#),Wide_Character'Val(16#FEB7#), 225),
(Wide_Character'Val(16#FEB9#),Wide_Character'Val(16#FEB9#), 226),
(Wide_Character'Val(16#FEBB#),Wide_Character'Val(16#FEBB#), 227),
(Wide_Character'Val(16#FEBD#),Wide_Character'Val(16#FEBD#), 228),
(Wide_Character'Val(16#FEBF#),Wide_Character'Val(16#FEBF#), 229),
(Wide_Character'Val(16#FEC1#),Wide_Character'Val(16#FEC1#), 230),
(Wide_Character'Val(16#FEC5#),Wide_Character'Val(16#FEC5#), 231),
(Wide_Character'Val(16#FEC9#),Wide_Character'Val(16#FED1#), 232),
(Wide_Character'Val(16#FED3#),Wide_Character'Val(16#FED3#), 241),
(Wide_Character'Val(16#FED5#),Wide_Character'Val(16#FED5#), 242),
(Wide_Character'Val(16#FED7#),Wide_Character'Val(16#FED7#), 243),
(Wide_Character'Val(16#FED9#),Wide_Character'Val(16#FED9#), 244),
(Wide_Character'Val(16#FEDB#),Wide_Character'Val(16#FEDB#), 245),
(Wide_Character'Val(16#FEDD#),Wide_Character'Val(16#FEDD#), 246),
(Wide_Character'Val(16#FEDF#),Wide_Character'Val(16#FEE1#), 247),
(Wide_Character'Val(16#FEE3#),Wide_Character'Val(16#FEE3#), 250),
(Wide_Character'Val(16#FEE5#),Wide_Character'Val(16#FEE5#), 251),
(Wide_Character'Val(16#FEE7#),Wide_Character'Val(16#FEE7#), 252),
(Wide_Character'Val(16#FEED#),Wide_Character'Val(16#FEED#), 253),
(Wide_Character'Val(16#FEF1#),Wide_Character'Val(16#FEF3#), 254));
Backward : Maps.Backward_Map (1 .. 256) :=
(Character'Val( 16#0#),
Character'Val( 16#1#),
Character'Val( 16#2#),
Character'Val( 16#3#),
Character'Val( 16#4#),
Character'Val( 16#5#),
Character'Val( 16#6#),
Character'Val( 16#7#),
Character'Val( 16#8#),
Character'Val( 16#9#),
Character'Val( 16#A#),
Character'Val( 16#B#),
Character'Val( 16#C#),
Character'Val( 16#D#),
Character'Val( 16#E#),
Character'Val( 16#F#),
Character'Val(16#10#),
Character'Val(16#11#),
Character'Val(16#12#),
Character'Val(16#13#),
Character'Val(16#14#),
Character'Val(16#15#),
Character'Val(16#16#),
Character'Val(16#17#),
Character'Val(16#18#),
Character'Val(16#19#),
Character'Val(16#1A#),
Character'Val(16#1B#),
Character'Val(16#1C#),
Character'Val(16#1D#),
Character'Val(16#1E#),
Character'Val(16#1F#),
Character'Val(16#20#),
Character'Val(16#21#),
Character'Val(16#22#),
Character'Val(16#23#),
Character'Val(16#24#),
Character'Val(16#25#),
Character'Val(16#26#),
Character'Val(16#27#),
Character'Val(16#28#),
Character'Val(16#29#),
Character'Val(16#2A#),
Character'Val(16#2B#),
Character'Val(16#2C#),
Character'Val(16#2D#),
Character'Val(16#2E#),
Character'Val(16#2F#),
Character'Val(16#30#),
Character'Val(16#31#),
Character'Val(16#32#),
Character'Val(16#33#),
Character'Val(16#34#),
Character'Val(16#35#),
Character'Val(16#36#),
Character'Val(16#37#),
Character'Val(16#38#),
Character'Val(16#39#),
Character'Val(16#3A#),
Character'Val(16#3B#),
Character'Val(16#3C#),
Character'Val(16#3D#),
Character'Val(16#3E#),
Character'Val(16#3F#),
Character'Val(16#40#),
Character'Val(16#41#),
Character'Val(16#42#),
Character'Val(16#43#),
Character'Val(16#44#),
Character'Val(16#45#),
Character'Val(16#46#),
Character'Val(16#47#),
Character'Val(16#48#),
Character'Val(16#49#),
Character'Val(16#4A#),
Character'Val(16#4B#),
Character'Val(16#4C#),
Character'Val(16#4D#),
Character'Val(16#4E#),
Character'Val(16#4F#),
Character'Val(16#50#),
Character'Val(16#51#),
Character'Val(16#52#),
Character'Val(16#53#),
Character'Val(16#54#),
Character'Val(16#55#),
Character'Val(16#56#),
Character'Val(16#57#),
Character'Val(16#58#),
Character'Val(16#59#),
Character'Val(16#5A#),
Character'Val(16#5B#),
Character'Val(16#5C#),
Character'Val(16#5D#),
Character'Val(16#5E#),
Character'Val(16#5F#),
Character'Val(16#60#),
Character'Val(16#61#),
Character'Val(16#62#),
Character'Val(16#63#),
Character'Val(16#64#),
Character'Val(16#65#),
Character'Val(16#66#),
Character'Val(16#67#),
Character'Val(16#68#),
Character'Val(16#69#),
Character'Val(16#6A#),
Character'Val(16#6B#),
Character'Val(16#6C#),
Character'Val(16#6D#),
Character'Val(16#6E#),
Character'Val(16#6F#),
Character'Val(16#70#),
Character'Val(16#71#),
Character'Val(16#72#),
Character'Val(16#73#),
Character'Val(16#74#),
Character'Val(16#75#),
Character'Val(16#76#),
Character'Val(16#77#),
Character'Val(16#78#),
Character'Val(16#79#),
Character'Val(16#7A#),
Character'Val(16#7B#),
Character'Val(16#7C#),
Character'Val(16#7D#),
Character'Val(16#7E#),
Character'Val(16#7F#),
Character'Val(16#80#),
Character'Val(16#81#),
Character'Val(16#82#),
Character'Val(16#83#),
Character'Val(16#84#),
Character'Val(16#85#),
Character'Val(16#86#),
Character'Val(16#87#),
Character'Val(16#88#),
Character'Val(16#89#),
Character'Val(16#8A#),
Character'Val(16#8B#),
Character'Val(16#8C#),
Character'Val(16#8D#),
Character'Val(16#8E#),
Character'Val(16#8F#),
Character'Val(16#90#),
Character'Val(16#91#),
Character'Val(16#92#),
Character'Val(16#93#),
Character'Val(16#94#),
Character'Val(16#95#),
Character'Val(16#96#),
Character'Val(16#97#),
Character'Val(16#98#),
Character'Val(16#99#),
Character'Val(16#9A#),
Character'Val(16#9B#),
Character'Val(16#9C#),
Character'Val(16#9D#),
Character'Val(16#9E#),
Character'Val(16#9F#),
Character'Val(16#A0#),
Character'Val(16#AD#),
Character'Val(16#AB#),
Character'Val(16#AC#),
Character'Val(16#AE#),
Character'Val(16#A1#),
Character'Val(16#A2#),
Character'Val(16#A3#),
Character'Val(16#A4#),
Character'Val(16#A5#),
Character'Val(16#A6#),
Character'Val(16#A7#),
Character'Val(16#A8#),
Character'Val(16#A9#),
Character'Val(16#AA#),
Character'Val(16#B5#),
Character'Val(16#B6#),
Character'Val(16#BA#),
Character'Val(16#BB#),
Character'Val(16#C0#),
Character'Val(16#C1#),
Character'Val(16#C7#),
Character'Val(16#CC#),
Character'Val(16#CA#),
Character'Val(16#E5#),
Character'Val(16#E6#),
Character'Val(16#EC#),
Character'Val(16#F1#),
Character'Val(16#F2#),
Character'Val(16#F3#),
Character'Val(16#F4#),
Character'Val(16#FD#),
Character'Val(16#FC#),
Character'Val(16#FE#),
Character'Val(16#FF#),
Character'Val(16#F5#),
Character'Val(16#AF#),
Character'Val(16#EF#),
Character'Val(16#F6#),
Character'Val(16#F7#),
Character'Val(16#F8#),
Character'Val(16#B0#),
Character'Val(16#B1#),
Character'Val(16#B2#),
Character'Val(16#B3#),
Character'Val(16#B4#),
Character'Val(16#B7#),
Character'Val(16#B8#),
Character'Val(16#B9#),
Character'Val(16#BC#),
Character'Val(16#BD#),
Character'Val(16#BE#),
Character'Val(16#BF#),
Character'Val(16#C2#),
Character'Val(16#C3#),
Character'Val(16#C4#),
Character'Val(16#C5#),
Character'Val(16#C6#),
Character'Val(16#C8#),
Character'Val(16#C9#),
Character'Val(16#CB#),
Character'Val(16#CD#),
Character'Val(16#CE#),
Character'Val(16#CF#),
Character'Val(16#D0#),
Character'Val(16#D1#),
Character'Val(16#D2#),
Character'Val(16#D3#),
Character'Val(16#D4#),
Character'Val(16#D5#),
Character'Val(16#D6#),
Character'Val(16#D7#),
Character'Val(16#D8#),
Character'Val(16#D9#),
Character'Val(16#DA#),
Character'Val(16#DB#),
Character'Val(16#DC#),
Character'Val(16#DD#),
Character'Val(16#DE#),
Character'Val(16#DF#),
Character'Val(16#E0#),
Character'Val(16#E1#),
Character'Val(16#E2#),
Character'Val(16#E3#),
Character'Val(16#E4#),
Character'Val(16#E7#),
Character'Val(16#E8#),
Character'Val(16#E9#),
Character'Val(16#EA#),
Character'Val(16#EB#),
Character'Val(16#ED#),
Character'Val(16#EE#),
Character'Val(16#F0#),
Character'Val(16#F9#),
Character'Val(16#FA#),
Character'Val(16#FB#));
function Decode (Char : Character) return Wide_Character is
begin
return Decode (Char, Forward);
end Decode;
procedure Decode
(Text : in Raw_String;
Text_Last : out Natural;
Result : out Wide_String;
Result_Last : out Natural;
Map : in Encoding := Encodings.CP_1006)
is
begin
Decode (Text, Text_Last, Result, Result_Last, Forward);
end Decode;
procedure Encode
(Text : in Wide_String;
Text_Last : out Natural;
Result : out Raw_String;
Result_Last : out Natural;
Map : in Encoding := Encodings.CP_1006)
is
begin
Encode (Text, Text_Last, Result, Result_Last,
Ranges, Backward);
end Encode;
begin
Encoder_List (Encodings.CP_1006) := Encode'Access;
Decoder_List (Encodings.CP_1006) := Decode'Access;
end Encodings.Maps.CP_1006;
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
-- * Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
-- * Neither the name of the Maxim Reznik, IE nor the names of its
-- contributors may be used to endorse or promote products derived from
-- this software without specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
|
programs/oeis/243/A243099.asm | jmorken/loda | 1 | 94639 | ; A243099: A002061 and A000217 interleaved.
; 0,0,0,1,1,3,3,7,6,13,10,21,15,31,21,43,28,57,36,73,45,91,55,111,66,133,78,157,91,183,105,211,120,241,136,273,153,307,171,343,190,381,210,421,231,463,253,507,276,553,300,601
mov $4,2
mov $5,$0
lpb $4
mov $0,$5
sub $4,1
add $0,$4
sub $0,2
trn $0,1
sub $0,2
cal $0,183409 ; Number of n X 2 binary arrays with each sum of a(1..i,1..j) no greater than i*j/2 and rows and columns in nondecreasing order.
mov $2,$4
mov $3,$0
lpb $2
mov $1,$3
sub $2,1
lpe
lpe
lpb $5
sub $1,$3
mov $5,0
lpe
|
Applications/Google-Chrome/window/close/close.applescript | looking-for-a-job/applescript-examples | 1 | 2315 |
tell application "Google Chrome"
repeat with w in every window
tell w
close
end tell
end repeat
end tell |
Kernel/asm/libasm.asm | jcgrethe/Arqui2017 | 0 | 247759 | GLOBAL cpuVendor
GLOBAL sti
GLOBAL cli
GLOBAL setPicMaster
GLOBAL setPicSlave
GLOBAL irq0Handler
GLOBAL irq1Handler
GLOBAL irq2Handler
GLOBAL irq80Handler
GLOBAL read
EXTERN syscallHandler
EXTERN irqDispatcher
%include "./asm/macros.m"
section .text
irq0Handler:
irqHandler 0
irq1Handler:
irqHandler 1
irq2Handler:
irqHandlerSlave 2
irq80Handler:
call syscallHandler
mov al, 20h
out 20h, al
iretq
sti:
sti
ret
cli:
cli
ret
setPicMaster:
push rbp
mov rbp, rsp
mov rax, rdi
out 21h, al
mov rsp, rbp
pop rbp
ret
setPicSlave:
push rbp
mov rbp, rsp
mov rax, rdi
out 0A1h, al
mov rsp, rbp
pop rbp
ret
cpuVendor:
push rbp
mov rbp, rsp
push rbx
mov rax, 0
cpuid
mov [rdi], ebx
mov [rdi + 4], edx
mov [rdi + 8], ecx
mov byte [rdi+13], 0
mov rax, rdi
pop rbx
mov rsp, rbp
pop rbp
ret
read:
push rbp
mov rbp, rsp
in al,60h
leave
ret |
host/stm32gd-timer-peripheral.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 28308 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
with Ada.Real_Time; use Ada.Real_Time;
with STM32_SVD; use STM32_SVD;
with STM32_SVD.TIM; use STM32_SVD.TIM;
with STM32_SVD.RCC; use STM32_SVD.RCC;
package body STM32GD.Timer.Peripheral is
Timer_Callback : Timer_Callback_Type := null;
Frequency : constant Natural := 1_000;
CK_INT : constant Natural := 8_000_000;
Repeat : Boolean;
First : Boolean;
procedure Start (Time : Time_Span; Callback : Timer_Callback_Type);
protected body IRQ_Handler is
procedure Handler is
begin
if Timer = Timer_14 then
TIM14_Periph.SR.UIF := 0;
end if;
if Timer_Callback /= null then
if not First then
if not Repeat then
Stop;
end if;
Timer_Callback.all;
else
First := False;
end if;
end if;
end Handler;
end IRQ_Handler;
procedure Init is
begin
if Timer = Timer_14 then
RCC_Periph.APB1ENR.TIM14EN := 1;
TIM14_Periph.PSC.PSC := UInt16 (CK_INT / Frequency);
TIM14_Periph.CR1.ARPE := 1;
end if;
end Init;
procedure Start (Time : Time_Span; Callback : Timer_Callback_Type) is
MS : UInt16;
begin
MS := UInt16 (To_Duration (Time) * 1_000);
Timer_Callback := Callback;
First := True;
if Timer = Timer_14 then
TIM14_Periph.CNT.CNT := 0;
TIM14_Periph.ARR.ARR := MS;
TIM14_Periph.CR1.CEN := 1;
TIM14_Periph.DIER.UIE := 1;
end if;
end Start;
procedure Stop is
begin
if Timer = Timer_14 then
TIM14_Periph.CR1.CEN := 0;
TIM14_Periph.DIER.UIE := 0;
end if;
end Stop;
procedure After (Time : Time_Span; Callback : Timer_Callback_Type) is
begin
Repeat := False;
Start (Time, Callback);
end After;
procedure Every (Interval : Time_Span; Callback : Timer_Callback_Type) is
begin
Repeat := True;
Start (Interval, Callback);
end Every;
end STM32GD.Timer.Peripheral;
|
k.asm | Ericles-Porty/Assembly-Lessons | 2 | 24589 | .data
a: .word 15 5 4 6 12 15 26
.text
main:
lw $s0, a($zero)
li $t2, 6 #tamanho da lista
li $t3, 5 #numero a ser procurado
jal pertence
j exit
pertence:
li $t1, 0# posicao do vetor 4 em 4
for:
li $t0, 0 #indice da repeticao
bge $t0, $t2, saifor
addi $t0, $t0, 1
addi $t1, $t1, 4
lw $t4, a($t1)
beq $t3, $t4, indice
j for
indice:
move $a0, $t0
jr $ra
saifor:
li $a0, 0
jr $ra
exit:
li $v0 10
syscall
|
fox32rom/main.asm | ry755/fox32 | 6 | 171399 | ; entry point
; fox32 starts here on reset
org 0xF0000000
const FOX32ROM_VERSION_MAJOR: 0
const FOX32ROM_VERSION_MINOR: 1
const FOX32ROM_VERSION_PATCH: 0
const SYSTEM_STACK: 0x01FFF800
const BACKGROUND_COLOR: 0xFF674764
const TEXT_COLOR: 0xFFFFFFFF
; initialization code
entry:
mov rsp, SYSTEM_STACK
mov [0x000003FC], system_vsync_handler
; disable audio playback
mov r0, 0x80000600
out r0, 0
; clear the interrupt vector for interrupt 0xFE - audio buffer switch
mov [0x000003F8], 0x00000000
; disable all overlays
mov r31, 0x1F
mov r0, 0x80000300
disable_all_overlays_loop:
out r0, 0
inc r0
loop disable_all_overlays_loop
call enable_cursor
mov r0, BACKGROUND_COLOR
call fill_background
call enable_menu_bar
call clear_menu_bar
mov r0, menu_items_root
mov r1, 0xFFFFFFFF
call draw_menu_bar_root_items
draw_startup_text:
mov r0, startup_str
mov r1, 16
mov r2, 464
mov r3, TEXT_COLOR
mov r4, 0x00000000
mov r10, FOX32ROM_VERSION_MAJOR
mov r11, FOX32ROM_VERSION_MINOR
mov r12, FOX32ROM_VERSION_PATCH
call draw_format_str_to_background
ise
event_loop:
call get_next_event
; was the mouse clicked?
cmp r0, EVENT_TYPE_MOUSE_CLICK
;ifz call mouse_click_event
; was the mouse released?
cmp r0, EVENT_TYPE_MOUSE_RELEASE
;ifz call mouse_release_event
; did the user click the menu bar?
cmp r0, EVENT_TYPE_MENU_BAR_CLICK
ifz mov r0, menu_items_root
ifz call menu_bar_click_event
; is the user in a menu?
cmp r0, EVENT_TYPE_MENU_UPDATE
ifz call menu_update_event
; did the user click a menu item?
cmp r0, EVENT_TYPE_MENU_CLICK
ifz call menu_click_event
; check if a disk is inserted as disk 0
; if port 0x8000100n returns a non-zero value, then a disk is inserted as disk n
in r0, 0x80001000
cmp r0, 0
ifnz call start_boot_process
jmp event_loop
menu_click_event:
; r3 contains the clicked menu item
; insert disk
cmp r3, 0
ifz jmp insert_boot_disk
; shutdown
cmp r3, 1
ifz icl
ifz halt
ret
insert_boot_disk:
mov r0, 0x80001000
out r0, 0
ret
get_rom_version:
mov r0, FOX32ROM_VERSION_MAJOR
mov r1, FOX32ROM_VERSION_MINOR
mov r2, FOX32ROM_VERSION_PATCH
ret
; code
#include "audio.asm"
#include "background.asm"
#include "boot.asm"
#include "cursor.asm"
#include "debug.asm"
#include "disk.asm"
#include "draw_pixel.asm"
#include "draw_rectangle.asm"
#include "draw_text.asm"
#include "event.asm"
#include "integer.asm"
#include "keyboard.asm"
#include "memory.asm"
#include "menu.asm"
#include "menu_bar.asm"
#include "monitor/monitor.asm"
#include "mouse.asm"
#include "overlay.asm"
#include "panic.asm"
#include "ryfs.asm"
#include "string.asm"
#include "vsync.asm"
; data
; system jump table
org.pad 0xF0040000
data.32 get_rom_version
data.32 system_vsync_handler
data.32 get_mouse_position
data.32 new_event
data.32 wait_for_event
data.32 get_next_event
data.32 panic
; generic drawing jump table
org.pad 0xF0041000
data.32 draw_str_generic
data.32 draw_format_str_generic
data.32 draw_decimal_generic
data.32 draw_font_tile_generic
data.32 draw_pixel_generic
data.32 draw_filled_rectangle_generic
; background jump table
org.pad 0xF0042000
data.32 fill_background
data.32 draw_str_to_background
data.32 draw_format_str_to_background
data.32 draw_decimal_to_background
data.32 draw_hex_to_background
data.32 draw_font_tile_to_background
data.32 draw_pixel_to_background
data.32 draw_filled_rectangle_to_background
; overlay jump table
org.pad 0xF0043000
data.32 fill_overlay
data.32 draw_str_to_overlay
data.32 draw_format_str_to_overlay
data.32 draw_decimal_to_overlay
data.32 draw_hex_to_overlay
data.32 draw_font_tile_to_overlay
data.32 draw_pixel_to_overlay
data.32 draw_filled_rectangle_to_overlay
data.32 find_overlay_covering_position
data.32 check_if_overlay_covers_position
data.32 check_if_enabled_overlay_covers_position
; menu bar jump table
org.pad 0xF0044000
data.32 enable_menu_bar
data.32 disable_menu_bar
data.32 menu_bar_click_event
data.32 clear_menu_bar
data.32 draw_menu_bar_root_items
data.32 draw_menu_items
data.32 close_menu
data.32 menu_update_event
; disk jump table
org.pad 0xF0045000
data.32 read_sector
data.32 write_sector
data.32 ryfs_open
data.32 ryfs_seek
data.32 ryfs_read
data.32 ryfs_read_whole_file
; memory copy/compare jump table
org.pad 0xF0046000
data.32 copy_memory_bytes
data.32 copy_memory_words
data.32 copy_string
data.32 compare_memory_bytes
data.32 compare_memory_words
data.32 compare_string
data.32 string_length
; integer jump table
org.pad 0xF0047000
data.32 string_to_int
; audio jump table
org.pad 0xF0048000
data.32 play_audio
data.32 stop_audio
org.pad 0xF004F000
standard_font_width:
data.16 8
standard_font_height:
data.16 16
standard_font_data:
#include_bin "font/unifont-thin.raw"
mouse_cursor:
#include_bin "font/cursor2.raw"
; cursor overlay struct:
const CURSOR_WIDTH: 8
const CURSOR_HEIGHT: 12
const CURSOR_FRAMEBUFFER_PTR: 0x0214C000
; menu bar overlay struct:
const MENU_BAR_WIDTH: 640
const MENU_BAR_HEIGHT: 16
const MENU_BAR_POSITION_X: 0
const MENU_BAR_POSITION_Y: 0
const MENU_BAR_FRAMEBUFFER_PTR: 0x0214C180
; menu overlay struct:
; this struct must be writable, so these are hard-coded addresses in ram
const MENU_WIDTH: 0x02137180 ; 2 bytes
const MENU_HEIGHT: 0x02137182 ; 2 bytes
const MENU_POSITION_X: 0x02137184 ; 2 bytes
const MENU_POSITION_Y: 0x02137186 ; 2 bytes
const MENU_FRAMEBUFFER_PTR: 0x0213718A ; 4 bytes
const MENU_FRAMEBUFFER: 0x0213718E
startup_str: data.str "fox32 - ROM version %u.%u.%u - insert boot disk - F12 for monitor" data.8 0
boot_str: data.str "fox32 - ROM version %u.%u.%u - booting..." data.8 0
boot_error_str: data.str "fox32 - ROM version %u.%u.%u - system.bin not found! - F12 for monitor" data.8 0
menu_items_root:
data.8 1 ; number of menus
data.32 menu_items_system_list data.32 menu_items_system_name ; pointer to menu list, pointer to menu name
menu_items_system_name:
data.8 6 data.str "System" data.8 0x00 ; text length, text, null-terminator
menu_items_system_list:
data.8 2 ; number of items
data.8 13 ; menu width (usually longest item + 2)
data.8 11 data.str "Insert Disk" data.8 0x00 ; text length, text, null-terminator
data.8 9 data.str "Shut Down" data.8 0x00 ; text length, text, null-terminator
; pad out to 512 KiB
org.pad 0xF0080000
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-secsta.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 10970 | <reponame>djamal2727/Main-Bearing-Analytical-Model<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . S E C O N D A R Y _ S T A C K --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2020, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
pragma Compiler_Unit_Warning;
with System.Parameters;
with System.Storage_Elements;
package System.Secondary_Stack is
pragma Preelaborate;
package SP renames System.Parameters;
package SSE renames System.Storage_Elements;
use type SP.Size_Type;
type SS_Stack (Default_Chunk_Size : SP.Size_Type) is private;
-- An abstraction for a heap structure maintained in a stack-like fashion.
-- The structure is comprised of chunks which accommodate allocations of
-- varying sizes. See the private part of the package for further details.
-- Default_Chunk_Size indicates the size of the static chunk, and provides
-- a minimum size for all dynamic chunks.
type SS_Stack_Ptr is access all SS_Stack;
-- A reference to a secondary stack
type Mark_Id is private;
-- An abstraction for tracking the state of the secondary stack
procedure SS_Init
(Stack : in out SS_Stack_Ptr;
Size : SP.Size_Type := SP.Unspecified_Size);
-- Initialize or reuse a secondary stack denoted by reference Stack. If
-- Stack is null, create a new stack of size Size in the following manner:
--
-- * If Size denotes Unspecified_Size, allocate the stack from the binder
-- generated pool as long as the pool has not been exhausted.
--
-- * Otherwise allocate the stack from the heap.
--
-- If Stack is not null, reset the state of the stack. No existing chunks
-- are freed because they may be reused again.
procedure SS_Allocate
(Addr : out Address;
Storage_Size : SSE.Storage_Count);
-- Allocate enough space on the secondary stack of the invoking task to
-- accommodate an alloction of size Storage_Size. Return the address of the
-- first byte of the allocation in Addr. The routine may carry out one or
-- more of the following actions:
--
-- * Reuse an existing chunk that is big enough to accommodate the
-- requested Storage_Size.
--
-- * Free an existing chunk that is too small to accommodate the
-- requested Storage_Size.
--
-- * Create a new chunk that fits the requested Storage_Size.
procedure SS_Free (Stack : in out SS_Stack_Ptr);
-- Free all dynamic chunks of secondary stack Stack. If possible, free the
-- stack itself.
function SS_Mark return Mark_Id;
-- Capture and return the state of the invoking task's secondary stack
procedure SS_Release (M : Mark_Id);
-- Restore the state of the invoking task's secondary stack to mark M
function SS_Get_Max return Long_Long_Integer;
-- Return the high water mark of the invoking task's secondary stack, in
-- bytes.
generic
with procedure Put_Line (S : String);
procedure SS_Info;
-- Debugging procedure for outputting the internals of the invoking task's
-- secondary stack. This procedure is generic in order to avoid a direct
-- dependence on a particular IO package. Instantiate with Text_IO.Put_Line
-- for example.
private
SS_Pool : Integer;
-- Unused entity that is just present to ease the sharing of the pool
-- mechanism for specific allocation/deallocation in the compiler.
------------------
-- Introduction --
------------------
-- The secondary stack is a runtime data structure managed in a stack-like
-- fashion. It is part of the runtime support for functions that return
-- results of caller-unknown size.
--
-- The secondary stack is utilized as follows:
--
-- * The compiler pushes the caller-unknown size result on the secondary
-- stack as part of return statement or build-in-place semantics.
--
-- * The caller receives a reference to the result.
--
-- * Using the reference, the caller may "offload" the result into its
-- primary stack, or use it in-place while still on the secondary
-- stack.
--
-- * Once the caller has utilized the result, the compiler reclaims the
-- memory occupied by the result by popping the secondary stack up to
-- a safe limit.
------------
-- Design --
------------
-- 1) Chunk
--
-- The secondary stack is a linked structure which consist of "chunks".
-- A chunk is both a memory storage and a linked-list node. Addresses of
-- allocated objects refer to addresses within the memory storage of a
-- chunk. Chunks come in two variants - static and dynamic.
--
-- 1.1) Static chunk
--
-- The secondary stack has exactly one static chunk that is created on the
-- primary stack. The static chunk allows secondary-stack usage on targets
-- where dynamic allocation is not available or desirable. The static chunk
-- is always the "first" chunk and precedes all dynamic chunks.
--
-- 1.2) Dynamic chunk
--
-- The secondary stack may have zero or more dynamic chunks, created on the
-- heap. Dynamic chunks allow the secondary stack to grow beyond the limits
-- of the initial static chunk. They provide a finer-grained management of
-- the memory by means of reuse and deallocation.
--
-- 2) Mark
--
-- The secondary stack captures its state in a "mark". The mark is used by
-- the compiler to indicate how far the stack can be safely popped after a
-- sequence of pushes has taken place.
--
-- 3) Secondary stack
--
-- The secondary stack maintains a singly-linked list of chunks, starting
-- with the static chunk, along with a stack pointer.
--
-- 4) Allocation
--
-- The process of allocation equates to "pushing" on the secondary stack.
-- Depending on whether dynamic allocation is allowed or not, there are
-- two variants of allocation - static and dynamic.
--
-- 4.1) Static allocation
--
-- In this case the secondary stack has only the static chunk to work with.
-- The requested size is reserved on the static chunk and the stack pointer
-- is advanced. If the requested size will overflow the static chunk, then
-- Storage_Error is raised.
--
-- 4.2) Dynamic allocation
--
-- In this case the secondary stack may carry out several actions depending
-- on how much free memory is available in the chunk indicated by the stack
-- pointer.
--
-- * If the indicated chunk is big enough, allocation is carried out on
-- it.
--
-- * If the indicated chunk is too small, subsequent chunks (if any) are
-- examined. If a subsequent chunk is big enough, allocation is carried
-- out on it, otherwise the subsequent chunk is deallocated.
--
-- * If none of the chunks following and including the indicated chunk
-- are big enough, a new chunk is created and the allocation is carried
-- out on it.
--
-- This model of operation has several desirable effects:
--
-- * Leftover chunks from prior allocations, followed by at least one pop
-- are either reused or deallocated. This compacts the memory footprint
-- of the secondary stack.
--
-- * When a new chunk is created, its size is exactly the requested size.
-- This keeps the memory usage of the secondary stack tight.
--
-- * Allocation is in general an expensive operation. Compaction is thus
-- added to this cost, rather than penalizing mark and pop operations.
--
-- 5) Marking
--
-- The process of marking involves capturing the secondary-stack pointer
-- in a mark for later restore.
--
-- 6) Releasing
--
-- The process of releasing equates to "popping" the secondary stack. It
-- moves the stack pointer to a previously captured mark, causing chunks
-- to become reusable or deallocatable during the allocation process.
------------------
-- Architecture --
------------------
-- Secondary stack
--
-- +------------+
-- | Top.Byte ------------------------+
-- | Top.Chunk ------------------+ |
-- | | | |
-- | | v |
-- +------------+ +--------+ +-----|--+ +--------+
-- | Memory | | Memory | | Memo|y | | Memory |
-- | ######### | | ##### | | ####| | | ##### |
-- | | | | | | | |
-- | Next ---> | Next ---> | Next ---> | Next ---> x
-- +------------+ +--------+ +--------+ +--------+
--
-- Static chunk Chunk 2 Chunk 3 Chunk 4
--------------------------
-- Memory-related types --
--------------------------
subtype Memory_Size_With_Invalid is SP.Size_Type;
-- Memory storage size which also includes an invalid negative range
Invalid_Memory_Size : constant Memory_Size_With_Invalid := -1;
subtype Memory_Size is
Memory_Size_With_Invalid range 0 .. SP.Size_Type'Last;
-- The memory storage size of a single chunk or the whole secondary stack.
-- A non-negative size is considered a "valid" size.
subtype Memory_Index is Memory_Size;
-- Index into the memory storage of a single chunk
Memory_Alignment : constant := Standard'Maximum_Alignment * 2;
-- The memory alignment we will want to honor on every allocation.
--
-- At this stage, gigi assumes we can accommodate any alignment requirement
-- there might be on the data type for which the memory gets allocated (see
-- build_call_alloc_dealloc).
--
-- The multiplication factor is intended to account for requirements
-- by user code compiled with specific arch/cpu options such as -mavx
-- on X86[_64] targets, which Standard'Maximum_Alignment doesn't convey
-- without such compilation options. * 4 would actually be needed to
-- support -mavx512f on X86, but this would incur more annoying memory
-- consumption overheads.
type Chunk_Memory is array (Memory_Size range <>) of SSE.Storage_Element;
for Chunk_Memory'Alignment use Memory_Alignment;
-- The memory storage of a single chunk
--------------
-- SS_Chunk --
--------------
type SS_Chunk (Size : Memory_Size);
-- Abstraction for a chunk. Size indicates the memory capacity of the
-- chunk.
type SS_Chunk_Ptr is access all SS_Chunk;
-- Reference to the static or any dynamic chunk
type SS_Chunk (Size : Memory_Size) is record
Next : SS_Chunk_Ptr;
-- Pointer to the next chunk. The direction of the pointer is from the
-- static chunk to the first dynamic chunk, and so on.
Size_Up_To_Chunk : Memory_Size;
-- The size of the secondary stack up to, but excluding the current
-- chunk. This value aids in calculating the total amount of memory
-- the stack is consuming, for high-water-mark update purposes.
Memory : Chunk_Memory (1 .. Size);
-- The memory storage of the chunk. The 1-indexing facilitates various
-- size and indexing calculations.
end record;
-------------------
-- Stack_Pointer --
-------------------
-- Abstraction for a secondary stack pointer
type Stack_Pointer is record
Byte : Memory_Index;
-- The position of the first free byte within the memory storage of
-- Chunk.all. Byte - 1 denotes the last occupied byte within Chunk.all.
Chunk : SS_Chunk_Ptr;
-- Reference to the chunk that accommodated the most recent allocation.
-- This could be the static or any dynamic chunk.
end record;
--------------
-- SS_Stack --
--------------
type SS_Stack (Default_Chunk_Size : SP.Size_Type) is record
Freeable : Boolean;
-- Indicates whether the secondary stack can be freed
High_Water_Mark : Memory_Size;
-- The maximum amount of memory in use throughout the lifetime of the
-- secondary stack.
Top : Stack_Pointer;
-- The stack pointer
Static_Chunk : aliased SS_Chunk (Default_Chunk_Size);
-- A special chunk with a default size. On targets that do not support
-- dynamic allocations, this chunk represents the capacity of the whole
-- secondary stack.
end record;
-------------
-- Mark_Id --
-------------
type Mark_Id is record
Stack : SS_Stack_Ptr;
-- The secondary stack whose mark was taken
Top : Stack_Pointer;
-- The value of Stack.Top at the point in time when the mark was taken
end record;
------------------
-- Testing Aids --
------------------
-- The following section provides lightweight versions of all abstractions
-- used to implement a secondary stack. The contents of these versions may
-- look identical to the original abstractions, however there are several
-- important implications:
--
-- * The versions do not expose pointers.
--
-- * The types of the versions are all definite. In addition, there are
-- no per-object constrained components. As a result, the versions do
-- not involve the secondary stack or the heap in any way.
--
-- * The types of the versions do not contain potentially big components.
subtype Chunk_Id_With_Invalid is Natural;
-- Numeric Id of a chunk with value zero
Invalid_Chunk_Id : constant Chunk_Id_With_Invalid := 0;
subtype Chunk_Id is
Chunk_Id_With_Invalid range 1 .. Chunk_Id_With_Invalid'Last;
-- Numeric Id of a chunk. A positive Id is considered "valid" because a
-- secondary stack will have at least one chunk (the static chunk).
subtype Chunk_Count is Natural;
-- Number of chunks in a secondary stack
-- Lightweight version of SS_Chunk
type Chunk_Info is record
Size : Memory_Size_With_Invalid;
-- The memory capacity of the chunk
Size_Up_To_Chunk : Memory_Size_With_Invalid;
-- The size of the secondary stack up to, but excluding the current
-- chunk.
end record;
Invalid_Chunk : constant Chunk_Info :=
(Size => Invalid_Memory_Size,
Size_Up_To_Chunk => Invalid_Memory_Size);
-- Lightweight version of Stack_Pointer
type Stack_Pointer_Info is record
Byte : Memory_Index;
-- The position of the first free byte within the memory storage of
-- Chunk. Byte - 1 denotes the last occupied byte within Chunk.
Chunk : Chunk_Id_With_Invalid;
-- The Id of the chunk that accommodated the most recent allocation.
-- This could be the static or any dynamic chunk.
end record;
-- Lightweight version of SS_Stack
type Stack_Info is record
Default_Chunk_Size : Memory_Size;
-- The default memory capacity of a chunk
Freeable : Boolean;
-- Indicates whether the secondary stack can be freed
High_Water_Mark : Memory_Size;
-- The maximum amount of memory in use throughout the lifetime of the
-- secondary stack.
Number_Of_Chunks : Chunk_Count;
-- The total number of static and dynamic chunks in the secondary stack
Top : Stack_Pointer_Info;
-- The stack pointer
end record;
function Get_Chunk_Info
(Stack : SS_Stack_Ptr;
C_Id : Chunk_Id) return Chunk_Info;
-- Obtain the information attributes of a chunk that belongs to secondary
-- stack Stack and is identified by Id C_Id.
function Get_Stack_Info (Stack : SS_Stack_Ptr) return Stack_Info;
-- Obtain the information attributes of secondary stack Stack
end System.Secondary_Stack;
|
bb-runtimes/src/a-intnam__ppc.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 6316 | <filename>bb-runtimes/src/a-intnam__ppc.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . I N T E R R U P T S . N A M E S --
-- --
-- S p e c --
-- --
-- Copyright (C) 2011, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
------------------------------------------------------------------------------
-- This is a generic definition only for the external interrupts
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
External_Interrupt_1 : constant Interrupt_ID := 1;
External_Interrupt_1_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_2 : constant Interrupt_ID := 2;
External_Interrupt_2_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_3 : constant Interrupt_ID := 3;
External_Interrupt_3_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_4 : constant Interrupt_ID := 4;
External_Interrupt_4_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_5 : constant Interrupt_ID := 5;
External_Interrupt_5_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_6 : constant Interrupt_ID := 6;
External_Interrupt_6_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_7 : constant Interrupt_ID := 7;
External_Interrupt_7_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_8 : constant Interrupt_ID := 8;
External_Interrupt_8_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_9 : constant Interrupt_ID := 9;
External_Interrupt_9_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_10 : constant Interrupt_ID := 10;
External_Interrupt_10_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_11 : constant Interrupt_ID := 11;
External_Interrupt_11_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_12 : constant Interrupt_ID := 12;
External_Interrupt_12_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_13 : constant Interrupt_ID := 13;
External_Interrupt_13_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_14 : constant Interrupt_ID := 14;
External_Interrupt_14_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_15 : constant Interrupt_ID := 15;
External_Interrupt_15_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
External_Interrupt_16 : constant Interrupt_ID := 16;
External_Interrupt_16_Priority : constant System.Interrupt_Priority :=
System.Interrupt_Priority'First;
end Ada.Interrupts.Names;
|
programs/oeis/075/A075438.asm | neoneye/loda | 22 | 88008 | ; A075438: Triangle read by rows giving successive iterations of the Rule 60 elementary cellular automaton starting with a single ON cell where row n is of length 2n+1.
; 1,0,1,1,0,0,1,0,1,0,0,0,1,1,1,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1
lpb $0
add $1,1
add $2,2
sub $0,$2
lpe
bin $1,$0
mod $1,2
mov $0,$1
|
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_indx.ads | caqg/linux-home | 0 | 27670 | with ARM_Output;
package ARM_Index is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the routines to manage and generate the index.
--
-- ---------------------------------------
-- Copyright 2000, 2005, 2006, 2011
-- AXE Consultants. All rights reserved.
-- P.O. Box 1512, Madison WI 53701
-- E-Mail: <EMAIL>
--
-- ARM_Form is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License version 3
-- as published by the Free Software Foundation.
--
-- AXE CONSULTANTS MAKES THIS TOOL AND SOURCE CODE AVAILABLE ON AN "AS IS"
-- BASIS AND MAKES NO WARRANTY, EXPRESS OR IMPLIED, AS TO THE ACCURACY,
-- CAPABILITY, EFFICIENCY, MERCHANTABILITY, OR FUNCTIONING OF THIS TOOL.
-- IN NO EVENT WILL AXE CONSULTANTS BE LIABLE FOR ANY GENERAL,
-- CONSEQUENTIAL, INDIRECT, INCIDENTAL, EXEMPLARY, OR SPECIAL DAMAGES,
-- EVEN IF AXE CONSULTANTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-- DAMAGES.
--
-- A copy of the GNU General Public License is available in the file
-- gpl-3-0.txt in the standard distribution of the ARM_Form tool.
-- Otherwise, see <http://www.gnu.org/licenses/>.
--
-- If the GPLv3 license is not satisfactory for your needs, a commercial
-- use license is available for this tool. Contact Randy at AXE Consultants
-- for more information.
--
-- ---------------------------------------
--
-- Edit History:
--
-- 5/28/00 - RLB - Created package.
-- 8/11/00 - RLB - Made Clean visible.
-- 10/28/05 - RLB - Added key reuse.
-- 10/30/05 - RLB - Added subtype declaration.
-- 2/17/06 - RLB - Added Remove_Soft_Hyphens flag to Clean (for output).
-- 10/18/11 - RLB - Changed to GPLv3 license.
Not_Valid_Error : exception;
subtype Index_Key is Natural range 0 .. 20000;
procedure Create;
-- Initialize this package.
procedure Destroy;
-- Finalize this package; make sure the index is empty.
type Index_Item_Kind_Type is (
Primary_Term, -- A primary index term.
Partial_Term, -- A partial index term.
Primary_Term_and_Subterm, -- A primary index term with a subterm.
Partial_Term_with_Subterm, -- A partial index term with a subterm.
Syntax_NT_Used, -- A non-terminal, with a subterm of "Used".
Child_Unit_Parent, -- A child unit, with a subterm of "child of <subterm>".
Declaration_in_Package, -- A declaration, with a subterm of "in <package>".
SubDeclaration_in_Package, -- A term, with a subterm of "<item> in <package>".
Subtype_Declaration_in_Package, -- A term (of the form "<item> subtype of <item2>, with a subterm of "in <package>".
See_Term, -- A "see <subterm>" with reference.
See_Also_Term, -- A "see also <subterm>" with reference.
See_Other_Term, -- A "see <subterm>" without reference.
See_Also_Other_Term); -- A "see also <subterm>" without reference.
-- Note: These are declared in the sorting order.
function Get_Key return Index_Key;
-- Returns a Key value to refer to one or more index entries
-- (for a single entity).
procedure Add (Term : in String;
Subterm : in String := "";
Kind : in Index_Item_Kind_Type := Primary_Term;
Clause : in String := "";
Paragraph : in String := "";
Key : out Index_Key);
-- Add an index reference to the index. Returns a Key value to
-- refer to this index entry.
-- Raises Not_Valid_Error if Subterm, Clause, or Paragraph is not
-- empty when the kind does not use it.
procedure Add_Reusing_Key (Term : in String;
Subterm : in String := "";
Kind : in Index_Item_Kind_Type := Primary_Term;
Clause : in String := "";
Paragraph : in String := "";
Key : in Index_Key);
-- Add an index reference to the index, (re)using the specified Key
-- to refer to this index entry. Key must have previously
-- returned by Add or Get_Key.
-- Raises Not_Valid_Error if Subterm, Clause, or Paragraph is not
-- empty when the kind does not use it.
function Clean (Item : in String;
Remove_Soft_Hyphens : in Boolean) return String;
-- Remove any commands from Item. (Except for soft hyphens
-- if Remove_Soft_Hyphens is False.)
procedure Generate_Index_Body (Output_Object : in out ARM_Output.Output_Type'Class;
Use_Paragraphs : in Boolean := True);
-- Generate the index body. (The section header has already been
-- generated). References include paragraph numbers if Use_Paragraphs
-- is true.
end ARM_Index;
|
old/Structure/Logic/Classical/SetTheory/ZFC/Finite.agda | Lolirofle/stuff-in-agda | 6 | 9058 |
Finite : Domain → Formula
Finite(s) = ∃ₛ(ℕ)(n ↦ s ≼ 𝕟(n)) -- TODO: Now this means that there is an injection (s → 𝕟(n)), which is equivalent to the existance of an surjection (𝕟(n) → s) because stuff that follows from excluded middle (more specifically ((s ≼ 𝕟(n)) ↔ (𝕟(n) ≽ s))). Define ∑ (summation over finite sets) by using the existance of a finite sequence
-- reduce : (_▫_ : Domain → Domain → Domain) → ⦃ _ : Commutativity(_▫_) ⦄ → ⦃ _ : Associativity(_▫_) ⦄ → ⦃ _ : Identity(_▫_) ⦄ → (s : Domain) → ⦃ _ : Finite(s) ⦄ → Domain
-- reduce₀ : (_▫_ : Domain → Domain → Domain) → ⦃ _ : Commutativity(_▫_) ⦄ → ⦃ _ : Associativity(_▫_) ⦄ → (s : Domain) → ⦃ _ : Finite(s) ⦄ → Domain → Domain
|
programs/oeis/074/A074494.asm | karttu/loda | 1 | 27943 | ; A074494: Number of 2-input gates used to synthesize parity function in disjunctive normal form (DNF) with n inputs.
; 2,5,17,47,119,287,671,1535,3455,7679,16895,36863,79871,172031,368639,786431,1671167,3538943,7471103,15728639,33030143,69206015,144703487,301989887,629145599,1308622847,2717908991,5637144575,11676942335
add $0,1
mov $2,2
pow $2,$0
mul $0,$2
mov $1,$0
sub $1,2
div $1,4
mul $1,3
add $1,2
|
examples/SizedPoly/SimpleCell.agda | agda/ooAgda | 23 | 14695 | <filename>examples/SizedPoly/SimpleCell.agda
module SizedPoly.SimpleCell where
open import Data.Product
open import Data.String.Base
open import Size
open import Level using (_⊔_) renaming (suc to lsuc; zero to lzero)
open import SizedPolyIO.Object
open import SizedPolyIO.IOObject
open import SizedPolyIO.ConsoleObject
open import SizedPolyIO.Base
open import SizedPolyIO.Console hiding (main)
open import NativePolyIO
data CellMethod A : Set where
get : CellMethod A
put : A → CellMethod A
CellResponse : ∀{A} → CellMethod A → Set
CellResponse {A} get = A
CellResponse (put _) = Unit
-- cellI is the interface of the object of a simple cell
cellI : (A : Set) → Interface lzero lzero
Method (cellI A) = CellMethod A
Result (cellI A) m = CellResponse m
-- cellC is the type of consoleObjects with interface (cellI String)
CellC : (i : Size) → Set
CellC i = ConsoleObject i (cellI String)
-- cellP is constructor for the consoleObject for interface (cellI String)
cellP : ∀{i} (s : String) → CellC i
force (method (cellP s) get) =
exec' (putStrLn ("getting (" ++ s ++ ")")) λ _ →
return (s , cellP s)
force (method (cellP s) (put x)) =
exec' (putStrLn ("putting (" ++ x ++ ")")) λ _ →
return (_ , (cellP x))
-- Program is another program
program : String → IOConsole ∞ Unit
program arg =
let c₀ = cellP "Start" in
method c₀ get >>= λ{ (s , c₁) →
exec1 (putStrLn s) >>
method c₁ (put arg) >>= λ{ (_ , c₂) →
method c₂ get >>= λ{ (s' , c₃) →
exec1 (putStrLn s') }}}
main : NativeIO Unit
main = translateIOConsole (program "hello")
|
ada/src/cameras.ads | alkalinin/raytracer | 45 | 11017 | --
-- Raytracer implementation in Ada
-- by <NAME> (github: johnperry-math)
-- 2021
--
-- specification for Cameras, that view the scene
--
-- local packages
with Vectors; use Vectors;
-- @summary Cameras that view the scene
package Cameras is
type Camera_Type is record
Forward, Right, Up, Position: Vector;
end record;
function Create_Camera(Position, Target: Vector) return Camera_Type;
-- creates a camera at Position that is looking at Target
end Cameras;
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2061.asm | ljhsiun2/medusa | 9 | 242178 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbp
push %rbx
push %rcx
push %rdx
push %rsi
lea addresses_normal_ht+0x15bff, %rsi
clflush (%rsi)
nop
nop
nop
and %r12, %r12
vmovups (%rsi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %rbp
nop
inc %rbx
lea addresses_WT_ht+0x4054, %rdx
nop
sub %rcx, %rcx
mov $0x6162636465666768, %r11
movq %r11, %xmm0
vmovups %ymm0, (%rdx)
nop
dec %r12
pop %rsi
pop %rdx
pop %rcx
pop %rbx
pop %rbp
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
// Faulty Load
lea addresses_D+0x15844, %rdx
nop
nop
nop
nop
dec %r10
movb (%rdx), %bl
lea oracles, %r14
and $0xff, %rbx
shlq $12, %rbx
mov (%r14,%rbx,1), %rbx
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_D', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
|
libsrc/spectrum/basic/zx_getstr_callee.asm | RC2014Z80/z88dk | 8 | 168736 | ;
; ZX Spectrum specific routines
; by <NAME>, 22/06/2006
; Fixed by <NAME>, Dec 2008
;
; Copy a variable from basic
;
; int __CALLEE__ zx_getstr_callee(char variable, char *value);
;
; Debugged version by <NAME>, 29/12/2008
;
; $Id: zx_getstr_callee.asm,v 1.6 2016-06-10 20:02:04 dom Exp $
;
SECTION code_clib
PUBLIC zx_getstr_callee
PUBLIC _zx_getstr_callee
PUBLIC ASMDISP_ZX_GETSTR_CALLEE
EXTERN call_rom3
zx_getstr_callee:
_zx_getstr_callee:
pop bc
pop hl
pop de
push bc
; enter : hl = char *value
; e = char variable
.asmentry
ld a,e
and 95
ld d,a
push hl ; save destination
ld hl,($5c4b) ; VARS
loop: ld a,(hl)
cp 128
jr z,notfound ; n.b. z => nc
cp d
jr z,found
push de
call call_rom3
defw $19b8 ;get next variable start
ex de,hl
pop de
jr loop
found:
inc hl
ld c,(hl)
ld a,c
inc hl
ld b,(hl)
or b
inc hl
pop de
jr z,zerolen
ldir
zerolen:
xor a
ld (de),a
ld h,a
ld l,a
ret
notfound:
pop hl
ld hl,-1
ret
DEFC ASMDISP_ZX_GETSTR_CALLEE = # asmentry - zx_getstr_callee
|
oeis/293/A293640.asm | neoneye/loda-programs | 11 | 12372 | ; A293640: a(n) is the least integer k such that k/Fibonacci(n) > 2/5.
; Submitted by <NAME>(m1)
; 0,1,1,1,2,2,4,6,9,14,22,36,58,94,151,244,395,639,1034,1673,2706,4379,7085,11463,18548,30010,48558,78568,127125,205692,332816,538508,871324,1409832,2281155,3690986,5972141,9663127,15635268,25298395,40933662,66232057,107165719,173397775,280563494,453961268,734524762,1188486030,1923010791,3111496820,5034507610,8146004430,13180512040,21326516470,34507028509,55833544978,90340573487,146174118465,236514691952,382688810417,619203502368,1001892312785,1621095815153,2622988127937,4244083943090
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
mul $0,2
add $0,4
div $0,5
|
EEL7030/Rep CAEE/Mic 8085/Teclado.asm | GSimas/MicroC | 0 | 241587 | <reponame>GSimas/MicroC
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Teclado.asm - leitura de numeros do teclado
;Prof. <NAME> - 04.01.2000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LETECLA EQU 02E7H ; Sinonimos utilizados abaixo
MOSTRAD EQU 0363H ;
MOSTRAA EQU 036EH ;
ORG 2000H
LXI SP,20C0H ; Inicializa pilha
LOOP: CALL LETECLA ; Le primeiro numero
MOV D,A
MVI E,0H
PUSH D
CALL MOSTRAD ; Apresenta primeiro numero
POP D
CALL LETECLA ; Le segundo numero
MOV E,A
ADD D ; Resultado em A
PUSH PSW
CALL MOSTRAD ; Apresenta os dois numeros
POP PSW
CALL MOSTRAA ; Apresenta resultado
JMP LOOP
END
|
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_resetPauseRequest.asm | jpoikela/z88dk | 640 | 165149 | <reponame>jpoikela/z88dk<gh_stars>100-1000
; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_resetPauseRequest
EXTERN __SMSlib_PauseRequested
asm_SMSlib_resetPauseRequest:
; void SMS_resetPauseRequest (void)
;
; uses : af
xor a
ld (__SMSlib_PauseRequested),a
ret
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.