	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_fcp
_write_fcp:                             ## @write_fcp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RCODE_TYPE_ERROR@GOTPCREL(%rip), %rax
	cmpq	$512, %r9                       ## imm = 0x200
	ja	LBB0_6
## %bb.1:
	movq	_CSR_REGISTER_BASE@GOTPCREL(%rip), %rdx
	subl	(%rdx), %r8d
	cmpl	$129, %r8d
	je	LBB0_2
## %bb.3:
	cmpl	$128, %r8d
	jne	LBB0_6
## %bb.4:
	movl	$1, %edx
	jmp	LBB0_5
LBB0_2:
	xorl	%edx, %edx
LBB0_5:
	movq	%r9, %r8
	callq	_highlevel_fcp_request
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_REGISTER_BASE,4,2          ## @CSR_REGISTER_BASE
	.comm	_RCODE_TYPE_ERROR,4,2           ## @RCODE_TYPE_ERROR
	.comm	_RCODE_COMPLETE,4,2             ## @RCODE_COMPLETE
	.no_dead_strip	_write_fcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_fcp
_write_fcp:                             ; @write_fcp
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	x5, #512
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _CSR_REGISTER_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR_REGISTER_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w4, w8
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	mov	w2, #1
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _RCODE_TYPE_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCODE_TYPE_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w2, #0
LBB0_6:
	mov	x4, x5
	bl	_highlevel_fcp_request
Lloh5:
	adrp	x8, _RCODE_COMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RCODE_COMPLETE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_REGISTER_BASE,4,2          ; @CSR_REGISTER_BASE
	.comm	_RCODE_TYPE_ERROR,4,2           ; @RCODE_TYPE_ERROR
	.comm	_RCODE_COMPLETE,4,2             ; @RCODE_COMPLETE
	.no_dead_strip	_write_fcp
.subsections_via_symbols
