	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_MAP_EQ_wrapper            ## -- Begin function mlx4_MAP_EQ_wrapper
	.p2align	4, 0x90
_mlx4_MAP_EQ_wrapper:                   ## @mlx4_MAP_EQ_wrapper
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_mlx4_priv
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %r15
	movl	(%rbx), %r12d
	movq	8(%rbx), %rbx
	xorl	%eax, %eax
	cmpl	%ecx, (%r14)
	jne	LBB0_2
## %bb.1:
	movl	%r12d, %edx
	andl	$-2147482625, %edx              ## imm = 0x800003FF
	movq	_MLX4_CMD_MAP_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MLX4_CMD_TIME_CLASS_B@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MLX4_CMD_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_mlx4_cmd
LBB0_2:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	_MLX4_EVENT_TYPES_NUM@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.4:
	movl	%r12d, %edi
	andl	$1023, %edi                     ## imm = 0x3FF
	testl	%r12d, %r12d
	movl	$-1, %esi
	cmovnsl	%edi, %esi
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	movslq	%edx, %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	btq	%rdi, %rbx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, (%r15,%rdi,4)
	movl	(%r8), %edx
	jmp	LBB0_7
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_CMD_MAP_EQ,4,2            ## @MLX4_CMD_MAP_EQ
	.comm	_MLX4_CMD_TIME_CLASS_B,4,2      ## @MLX4_CMD_TIME_CLASS_B
	.comm	_MLX4_CMD_NATIVE,4,2            ## @MLX4_CMD_NATIVE
	.comm	_MLX4_EVENT_TYPES_NUM,4,2       ## @MLX4_EVENT_TYPES_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_MAP_EQ_wrapper            ; -- Begin function mlx4_MAP_EQ_wrapper
	.p2align	2
_mlx4_MAP_EQ_wrapper:                   ; @mlx4_MAP_EQ_wrapper
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_mlx4_priv
	ldr	x8, [x0]
	ldr	x22, [x8, w21, sxtw #3]
	ldr	w23, [x19]
	ldr	x19, [x19, #8]
	ldr	w8, [x20]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	and	w2, w23, #0x800003ff
Lloh0:
	adrp	x8, _MLX4_CMD_MAP_EQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_CMD_MAP_EQ@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _MLX4_CMD_TIME_CLASS_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_B@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x8, _MLX4_CMD_NATIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX4_CMD_NATIVE@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_mlx4_cmd
	cbz	w0, LBB0_3
	b	LBB0_8
LBB0_2:
	mov	w0, #0
	cbnz	w0, LBB0_8
LBB0_3:
Lloh9:
	adrp	x8, _MLX4_EVENT_TYPES_NUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_EVENT_TYPES_NUM@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x10, #0
	and	w11, w23, #0x3ff
	cmp	w23, #0
	csinv	w11, w11, wzr, ge
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x12, x19, x10
	tbz	w12, #0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w11, [x22, x10, lsl #2]
	ldr	w9, [x8]
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_CMD_MAP_EQ,4,2            ; @MLX4_CMD_MAP_EQ
	.comm	_MLX4_CMD_TIME_CLASS_B,4,2      ; @MLX4_CMD_TIME_CLASS_B
	.comm	_MLX4_CMD_NATIVE,4,2            ; @MLX4_CMD_NATIVE
	.comm	_MLX4_EVENT_TYPES_NUM,4,2       ; @MLX4_EVENT_TYPES_NUM
.subsections_via_symbols
