	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fxas21002c_mode_get
_fxas21002c_mode_get:                   ## @fxas21002c_mode_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_F_ACTIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-16(%rbp), %rsi
	callq	_regmap_field_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	cmpl	$0, -16(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_FXAS21002C_MODE_ACTIVE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rax
	movq	_F_READY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-12(%rbp), %rsi
	callq	_regmap_field_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	cmpl	$0, -12(%rbp)
	je	LBB0_6
## %bb.5:
	movq	_FXAS21002C_MODE_READY@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_FXAS21002C_MODE_STANDBY@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_F_ACTIVE,8,3                   ## @F_ACTIVE
	.comm	_FXAS21002C_MODE_ACTIVE,4,2     ## @FXAS21002C_MODE_ACTIVE
	.comm	_F_READY,8,3                    ## @F_READY
	.comm	_FXAS21002C_MODE_READY,4,2      ## @FXAS21002C_MODE_READY
	.comm	_FXAS21002C_MODE_STANDBY,4,2    ## @FXAS21002C_MODE_STANDBY
	.no_dead_strip	_fxas21002c_mode_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fxas21002c_mode_get
_fxas21002c_mode_get:                   ; @fxas21002c_mode_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _F_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #12
	bl	_regmap_field_read
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _FXAS21002C_MODE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FXAS21002C_MODE_ACTIVE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _F_READY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _F_READY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	bl	_regmap_field_read
	tbnz	w0, #31, LBB0_4
; %bb.6:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _FXAS21002C_MODE_READY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FXAS21002C_MODE_READY@GOTPAGEOFF]
	b	LBB0_3
LBB0_8:
Lloh10:
	adrp	x8, _FXAS21002C_MODE_STANDBY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FXAS21002C_MODE_STANDBY@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_F_ACTIVE,8,3                   ; @F_ACTIVE
	.comm	_FXAS21002C_MODE_ACTIVE,4,2     ; @FXAS21002C_MODE_ACTIVE
	.comm	_F_READY,8,3                    ; @F_READY
	.comm	_FXAS21002C_MODE_READY,4,2      ; @FXAS21002C_MODE_READY
	.comm	_FXAS21002C_MODE_STANDBY,4,2    ; @FXAS21002C_MODE_STANDBY
	.no_dead_strip	_fxas21002c_mode_get
.subsections_via_symbols
