	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLASH_GetStatus                ## -- Begin function FLASH_GetStatus
	.p2align	4, 0x90
_FLASH_GetStatus:                       ## @FLASH_GetStatus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FLASH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_FLASH_SR_BSY@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	notl	%edx
	testl	%edx, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_FLASH_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_FLASH_SR_PGERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_FLASH_ERROR_PG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_FLASH_SR_WRPERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_FLASH_ERROR_WRP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_FLASH_OBR_OPTERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.8:
	movq	_FLASH_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_FLASH_ERROR_OPT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLASH,8,3                      ## @FLASH
	.comm	_FLASH_SR_BSY,4,2               ## @FLASH_SR_BSY
	.comm	_FLASH_BUSY,4,2                 ## @FLASH_BUSY
	.comm	_FLASH_SR_PGERR,4,2             ## @FLASH_SR_PGERR
	.comm	_FLASH_ERROR_PG,4,2             ## @FLASH_ERROR_PG
	.comm	_FLASH_SR_WRPERR,4,2            ## @FLASH_SR_WRPERR
	.comm	_FLASH_ERROR_WRP,4,2            ## @FLASH_ERROR_WRP
	.comm	_FLASH_OBR_OPTERR,4,2           ## @FLASH_OBR_OPTERR
	.comm	_FLASH_ERROR_OPT,4,2            ## @FLASH_ERROR_OPT
	.comm	_FLASH_COMPLETE,4,2             ## @FLASH_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLASH_GetStatus                ; -- Begin function FLASH_GetStatus
	.p2align	2
_FLASH_GetStatus:                       ; @FLASH_GetStatus
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FLASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FLASH_SR_BSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLASH_SR_BSY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _FLASH_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLASH_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh9:
	adrp	x9, _FLASH_SR_PGERR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLASH_SR_PGERR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _FLASH_ERROR_PG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FLASH_ERROR_PG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh15:
	adrp	x9, _FLASH_SR_WRPERR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FLASH_SR_WRPERR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _FLASH_ERROR_WRP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FLASH_ERROR_WRP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh21:
	adrp	x9, _FLASH_OBR_OPTERR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FLASH_OBR_OPTERR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _FLASH_ERROR_OPT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _FLASH_ERROR_OPT@GOTPAGEOFF]
Lloh26:
	adrp	x11, _FLASH_COMPLETE@GOTPAGE
Lloh27:
	ldr	x11, [x11, _FLASH_COMPLETE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FLASH,8,3                      ; @FLASH
	.comm	_FLASH_SR_BSY,4,2               ; @FLASH_SR_BSY
	.comm	_FLASH_BUSY,4,2                 ; @FLASH_BUSY
	.comm	_FLASH_SR_PGERR,4,2             ; @FLASH_SR_PGERR
	.comm	_FLASH_ERROR_PG,4,2             ; @FLASH_ERROR_PG
	.comm	_FLASH_SR_WRPERR,4,2            ; @FLASH_SR_WRPERR
	.comm	_FLASH_ERROR_WRP,4,2            ; @FLASH_ERROR_WRP
	.comm	_FLASH_OBR_OPTERR,4,2           ; @FLASH_OBR_OPTERR
	.comm	_FLASH_ERROR_OPT,4,2            ; @FLASH_ERROR_OPT
	.comm	_FLASH_COMPLETE,4,2             ; @FLASH_COMPLETE
.subsections_via_symbols
