	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_send_response               ## -- Begin function fw_send_response
	.p2align	4, 0x90
_fw_send_response:                      ## @fw_send_response
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rax
	movq	_ACK_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_HEADER_DESTINATION_IS_BROADCAST
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_3:
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %rax
	leaq	8(%rbx), %r12
	movq	16(%rbx), %r13
	cmpl	%r15d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_fw_get_response_length
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r8d
	jmp	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_6:
	callq	_fw_fill_response
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid for FCP address handlers"

	.comm	_ACK_PENDING,8,3                ## @ACK_PENDING
	.comm	_RCODE_COMPLETE,4,2             ## @RCODE_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_send_response               ; -- Begin function fw_send_response
	.p2align	2
_fw_send_response:                      ; @fw_send_response
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _ACK_PENDING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ACK_PENDING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	bl	_HEADER_DESTINATION_IS_BROADCAST
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x21
	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
	b	_kfree
LBB0_5:
Lloh5:
	adrp	x8, _RCODE_COMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RCODE_COMPLETE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	x22, x21, #8
	ldr	x23, [x21, #16]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.6:
	ldr	x24, [x21, #24]
	mov	x0, x21
	bl	_fw_get_response_length
	mov	x4, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	x3, x24
	b	LBB0_8
LBB0_7:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
LBB0_8:
	bl	_fw_fill_response
	ldr	x8, [x19]
	ldr	x2, [x8]
	mov	x0, x19
	mov	x1, x22
	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
	br	x2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid for FCP address handlers"

	.comm	_ACK_PENDING,8,3                ; @ACK_PENDING
	.comm	_RCODE_COMPLETE,4,2             ; @RCODE_COMPLETE
.subsections_via_symbols
