	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_ack
_format_ack:                            ## @format_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	8(%rdi), %rbx
	addq	$24, %rsi
	movl	(%rdi), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	_IB_MGMT_METHOD_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, 24(%rbx)
	movq	_IB_MGMT_RMPP_TYPE_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IB_MGMT_RMPP_FLAG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ib_set_rmpp_flags
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	8(%r14), %edi
	movl	%edi, 12(%r14)
	callq	_cpu_to_be32
	movq	%rax, 8(%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_be32
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_METHOD_RESP,4,2        ## @IB_MGMT_METHOD_RESP
	.comm	_IB_MGMT_RMPP_TYPE_ACK,4,2      ## @IB_MGMT_RMPP_TYPE_ACK
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ## @IB_MGMT_RMPP_FLAG_ACTIVE
	.no_dead_strip	_format_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_ack
_format_ack:                            ; @format_ack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x20, [x0, #8]
	add	x1, x1, #24
	ldr	w2, [x0]
	mov	x0, x20
	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, [x20, #24]
	eor	w8, w9, w8
Lloh3:
	adrp	x9, _IB_MGMT_RMPP_TYPE_ACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_MGMT_RMPP_TYPE_ACK@GOTPAGEOFF]
	str	w8, [x20, #24]
Lloh5:
	ldr	w8, [x9]
	str	w8, [x20, #16]
Lloh6:
	adrp	x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_MGMT_RMPP_FLAG_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ib_set_rmpp_flags
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #8]
	str	w0, [x19, #12]
	bl	_cpu_to_be32
	str	x0, [x20, #8]
	ldr	w0, [x19, #4]
	bl	_cpu_to_be32
	str	x0, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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_TYPE_ACK,4,2      ; @IB_MGMT_RMPP_TYPE_ACK
	.comm	_IB_MGMT_RMPP_FLAG_ACTIVE,4,2   ; @IB_MGMT_RMPP_FLAG_ACTIVE
	.no_dead_strip	_format_ack
.subsections_via_symbols
