	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_core_handle_request         ## -- Begin function fw_core_handle_request
	.p2align	4, 0x90
_fw_core_handle_request:                ## @fw_core_handle_request
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	_ACK_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_ACK_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_allocate_request
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_HEADER_GET_OFFSET_HIGH
	movq	%rax, %r12
	shlq	$32, %r12
	movq	8(%rbx), %rax
	orq	16(%rax), %r12
	movq	(%rax), %rdi
	callq	_HEADER_GET_TCODE
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_HEADER_GET_DESTINATION
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_HEADER_GET_SOURCE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_address_handler_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r15), %edx
	movq	_address_handler_list@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_lookup_enclosing_address_handler
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	testq	%r13, %r13
	je	LBB0_7
## %bb.4:
	movl	16(%rbx), %r10d
	movl	20(%rbx), %r9d
	movl	(%r15), %ebx
	movl	4(%r15), %r11d
	movl	(%r13), %eax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	pushq	%rax
	pushq	%rbx
	pushq	%r11
	pushq	%r12
	pushq	%r10
	callq	*8(%r13)
	addq	$72, %rsp
	jmp	LBB0_6
LBB0_5:
	addq	$24, %rsp
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_RCODE_ADDRESS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fw_send_response               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACK_PENDING,8,3                ## @ACK_PENDING
	.comm	_ACK_COMPLETE,8,3               ## @ACK_COMPLETE
	.comm	_address_handler_lock,4,2       ## @address_handler_lock
	.comm	_address_handler_list,4,2       ## @address_handler_list
	.comm	_RCODE_ADDRESS_ERROR,4,2        ## @RCODE_ADDRESS_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_core_handle_request         ; -- Begin function fw_core_handle_request
	.p2align	2
_fw_core_handle_request:                ; @fw_core_handle_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _ACK_PENDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACK_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ACK_COMPLETE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ACK_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_allocate_request
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #8]
	bl	_HEADER_GET_OFFSET_HIGH
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #16]
	orr	x22, x9, x0, lsl #32
	ldr	x0, [x8]
	bl	_HEADER_GET_TCODE
	mov	x23, x0
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	bl	_HEADER_GET_DESTINATION
	mov	x24, x0
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #8]
	bl	_HEADER_GET_SOURCE
	mov	x25, x0
Lloh6:
	adrp	x27, _address_handler_lock@GOTPAGE
Lloh7:
	ldr	x27, [x27, _address_handler_lock@GOTPAGEOFF]
	mov	x0, x27
	bl	_spin_lock_irqsave
	ldr	w2, [x21]
Lloh8:
	adrp	x0, _address_handler_list@GOTPAGE
Lloh9:
	ldr	x0, [x0, _address_handler_list@GOTPAGEOFF]
	mov	x1, x22
	bl	_lookup_enclosing_address_handler
	mov	x26, x0
	mov	x0, x27
	bl	_spin_unlock_irqrestore
	cbz	x26, LBB0_5
; %bb.3:
	ldr	x8, [x26, #8]
	ldp	w6, w5, [x20, #16]
	ldp	w10, w9, [x21]
	ldr	w11, [x26]
	stp	w10, w11, [sp, #4]
	str	w9, [sp]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	mov	x7, x22
	blr	x8
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
Lloh10:
	adrp	x8, _RCODE_ADDRESS_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RCODE_ADDRESS_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_fw_send_response
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ACK_PENDING,8,3                ; @ACK_PENDING
	.comm	_ACK_COMPLETE,8,3               ; @ACK_COMPLETE
	.comm	_address_handler_lock,4,2       ; @address_handler_lock
	.comm	_address_handler_list,4,2       ; @address_handler_list
	.comm	_RCODE_ADDRESS_ERROR,4,2        ; @RCODE_ADDRESS_ERROR
.subsections_via_symbols
