	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ack_recv
_ack_recv:                              ## @ack_recv
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	(%rax), %edi
	callq	_ib_get_mad_data_offset
	movq	8(%r14), %rdi
	movq	8(%r15), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_IB_MGMT_BASE_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	$1, %ecx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%r10
	callq	_ib_create_send_mad
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_format_ack
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ib_post_send_mad
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_free_send_mad               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IB_MGMT_BASE_VERSION,4,2       ## @IB_MGMT_BASE_VERSION
	.no_dead_strip	_ack_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ack_recv
_ack_recv:                              ; @ack_recv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w0, [x8]
	bl	_ib_get_mad_data_offset
	mov	x4, x0
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #8]
	ldp	w2, w1, [x8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
Lloh3:
	adrp	x8, _IB_MGMT_BASE_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_MGMT_BASE_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w7, [x8]
	mov	w3, #1
	mov	w5, #0
	bl	_ib_create_send_mad
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x1, [x20]
	mov	x0, x21
	mov	x2, x19
	bl	_format_ack
	ldr	w8, [x19]
	str	w8, [x21]
	mov	x0, x21
	mov	x1, #0
	bl	_ib_post_send_mad
	cbz	w0, LBB0_1
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ib_free_send_mad
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IB_MGMT_BASE_VERSION,4,2       ; @IB_MGMT_BASE_VERSION
	.no_dead_strip	_ack_recv
.subsections_via_symbols
