	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ack_ds_ack
_ack_ds_ack:                            ## @ack_ds_ack
	.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, %rbx
	callq	_alloc_response_msg
	movq	%rax, %r14
	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	8(%r14), %r15
	movl	(%rbx), %esi
	movl	4(%r14), %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	_IB_MGMT_METHOD_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 16(%r15)
	movq	_IB_MGMT_RMPP_FLAG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ib_set_rmpp_flags
	movq	$0, 8(%r15)
	movl	$1, %edi
	callq	_cpu_to_be32
	movl	%eax, (%r15)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ib_post_send_mad
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	callq	_ib_destroy_ah
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_free_send_mad               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_METHOD_RESP,4,2        ## @IB_MGMT_METHOD_RESP
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ## @IB_MGMT_RMPP_FLAG_ACTIVE
	.no_dead_strip	_ack_ds_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ack_ds_ack
_ack_ds_ack:                            ; @ack_ds_ack
	.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
	bl	_alloc_response_msg
	mov	x19, 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	x21, [x19, #8]
	ldr	w1, [x20]
	ldr	w2, [x19, #4]
	mov	x0, x21
	bl	_memcpy
Lloh0:
	adrp	x8, _IB_MGMT_METHOD_RESP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MGMT_METHOD_RESP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x21, #16]
	eor	w8, w9, w8
	str	w8, [x21, #16]
Lloh3:
	adrp	x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ib_set_rmpp_flags
	str	xzr, [x21, #8]
	mov	w0, #1
	bl	_cpu_to_be32
	str	w0, [x21]
	mov	x0, x19
	mov	x1, #0
	bl	_ib_post_send_mad
	cbz	w0, LBB0_1
; %bb.3:
	ldr	w0, [x19]
	bl	_ib_destroy_ah
	mov	x0, x19
	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	_IB_MGMT_METHOD_RESP,4,2        ; @IB_MGMT_METHOD_RESP
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ; @IB_MGMT_RMPP_FLAG_ACTIVE
	.no_dead_strip	_ack_ds_ack
.subsections_via_symbols
