	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_unregister_mac            ## -- Begin function mlx4_unregister_mac
	.p2align	4, 0x90
_mlx4_unregister_mac:                   ## @mlx4_unregister_mac
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$0, -36(%rbp)
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_MLX4_FLAG_OLD_REG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.4:
	leaq	-36(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_set_param_l
	movq	_RES_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RES_OP_RESERVE_AND_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MLX4_CMD_FREE_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MLX4_CMD_TIME_CLASS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MLX4_CMD_WRAPPED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	jmp	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___mlx4_unregister_mac          ## TAILCALL
LBB0_2:
	shll	$8, %r15d
	movq	_RES_MAC@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_RES_OP_RESERVE_AND_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MLX4_CMD_FREE_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MLX4_CMD_TIME_CLASS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MLX4_CMD_WRAPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %ecx
LBB0_3:
	pushq	%rax
	pushq	%r10
	callq	_mlx4_cmd_imm
	addq	$16, %rsp
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_FLAG_OLD_REG_MAC,4,2      ## @MLX4_FLAG_OLD_REG_MAC
	.comm	_RES_MAC,4,2                    ## @RES_MAC
	.comm	_RES_OP_RESERVE_AND_MAP,4,2     ## @RES_OP_RESERVE_AND_MAP
	.comm	_MLX4_CMD_FREE_RES,4,2          ## @MLX4_CMD_FREE_RES
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ## @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_WRAPPED,4,2           ## @MLX4_CMD_WRAPPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_unregister_mac            ; -- Begin function mlx4_unregister_mac
	.p2align	2
_mlx4_unregister_mac:                   ; @mlx4_unregister_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _MLX4_FLAG_OLD_REG_MAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_FLAG_OLD_REG_MAC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	add	x0, sp, #12
	mov	x1, x21
	bl	_set_param_l
Lloh3:
	adrp	x8, _RES_MAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RES_MAC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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
	add	sp, sp, #64
	b	___mlx4_unregister_mac
LBB0_4:
Lloh6:
	adrp	x8, _RES_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RES_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w3, w8, w21, lsl #8
LBB0_5:
Lloh9:
	adrp	x8, _RES_OP_RESERVE_AND_MAP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RES_OP_RESERVE_AND_MAP@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x8, _MLX4_CMD_FREE_RES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX4_CMD_FREE_RES@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
Lloh15:
	adrp	x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLX4_CMD_TIME_CLASS_A@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
Lloh18:
	adrp	x8, _MLX4_CMD_WRAPPED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLX4_CMD_WRAPPED@GOTPAGEOFF]
Lloh20:
	ldr	w7, [x8]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_mlx4_cmd_imm
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_FLAG_OLD_REG_MAC,4,2      ; @MLX4_FLAG_OLD_REG_MAC
	.comm	_RES_MAC,4,2                    ; @RES_MAC
	.comm	_RES_OP_RESERVE_AND_MAP,4,2     ; @RES_OP_RESERVE_AND_MAP
	.comm	_MLX4_CMD_FREE_RES,4,2          ; @MLX4_CMD_FREE_RES
	.comm	_MLX4_CMD_TIME_CLASS_A,4,2      ; @MLX4_CMD_TIME_CLASS_A
	.comm	_MLX4_CMD_WRAPPED,4,2           ; @MLX4_CMD_WRAPPED
.subsections_via_symbols
