	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -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
	je	LBB0_2
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_HEADER_GET_TCODE
	movl	%eax, %edi
	callq	_TCODE_IS_LINK_INTERNAL
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fw_cdev_handle_phy_packet      ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_allocate_request
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_HEADER_GET_OFFSET_HIGH
	movl	(%r15), %esi
	callq	_is_in_fcp_region
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_fcp_region_request      ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_exclusive_region_request ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ACK_PENDING,8,3                ## @ACK_PENDING
	.comm	_ACK_COMPLETE,8,3               ## @ACK_COMPLETE
.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:
	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
	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_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	bl	_HEADER_GET_TCODE
	bl	_TCODE_IS_LINK_INTERNAL
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, 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	_fw_cdev_handle_phy_packet
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_allocate_request
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_HEADER_GET_OFFSET_HIGH
	ldr	w1, [x21]
	bl	_is_in_fcp_region
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, 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	_handle_fcp_region_request
LBB0_6:
	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_7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, 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	_handle_exclusive_region_request
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACK_PENDING,8,3                ; @ACK_PENDING
	.comm	_ACK_COMPLETE,8,3               ; @ACK_COMPLETE
.subsections_via_symbols
