	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_status
_get_status:                            ## @get_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movl	(%rax), %eax
	movq	_MICRO_BATT_STATUS_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_POWER_SUPPLY_STATUS_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_MICRO_BATT_STATUS_FULL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_POWER_SUPPLY_STATUS_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_MICRO_BATT_STATUS_CHARGING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.6:
	movq	_MICRO_BATT_STATUS_CHARGEMAIN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	_POWER_SUPPLY_STATUS_DISCHARGING@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_POWER_SUPPLY_STATUS_CHARGING@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MICRO_BATT_STATUS_UNKNOWN,4,2  ## @MICRO_BATT_STATUS_UNKNOWN
	.comm	_POWER_SUPPLY_STATUS_UNKNOWN,4,2 ## @POWER_SUPPLY_STATUS_UNKNOWN
	.comm	_MICRO_BATT_STATUS_FULL,4,2     ## @MICRO_BATT_STATUS_FULL
	.comm	_POWER_SUPPLY_STATUS_FULL,4,2   ## @POWER_SUPPLY_STATUS_FULL
	.comm	_MICRO_BATT_STATUS_CHARGING,4,2 ## @MICRO_BATT_STATUS_CHARGING
	.comm	_MICRO_BATT_STATUS_CHARGEMAIN,4,2 ## @MICRO_BATT_STATUS_CHARGEMAIN
	.comm	_POWER_SUPPLY_STATUS_CHARGING,4,2 ## @POWER_SUPPLY_STATUS_CHARGING
	.comm	_POWER_SUPPLY_STATUS_DISCHARGING,4,2 ## @POWER_SUPPLY_STATUS_DISCHARGING
	.no_dead_strip	_get_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_status
_get_status:                            ; @get_status
	.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
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MICRO_BATT_STATUS_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MICRO_BATT_STATUS_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _POWER_SUPPLY_STATUS_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POWER_SUPPLY_STATUS_UNKNOWN@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x9, _MICRO_BATT_STATUS_FULL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MICRO_BATT_STATUS_FULL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, _POWER_SUPPLY_STATUS_FULL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _POWER_SUPPLY_STATUS_FULL@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x9, _MICRO_BATT_STATUS_CHARGING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MICRO_BATT_STATUS_CHARGING@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x9]
Lloh13:
	adrp	x9, _POWER_SUPPLY_STATUS_CHARGING@GOTPAGE
Lloh14:
	ldr	x9, [x9, _POWER_SUPPLY_STATUS_CHARGING@GOTPAGEOFF]
	tst	w10, w8
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x10, _MICRO_BATT_STATUS_CHARGEMAIN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MICRO_BATT_STATUS_CHARGEMAIN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _POWER_SUPPLY_STATUS_DISCHARGING@GOTPAGE
Lloh19:
	ldr	x11, [x11, _POWER_SUPPLY_STATUS_DISCHARGING@GOTPAGEOFF]
	tst	w10, w8
	csel	x9, x11, x9, eq
LBB0_6:
	ldr	w0, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MICRO_BATT_STATUS_UNKNOWN,4,2  ; @MICRO_BATT_STATUS_UNKNOWN
	.comm	_POWER_SUPPLY_STATUS_UNKNOWN,4,2 ; @POWER_SUPPLY_STATUS_UNKNOWN
	.comm	_MICRO_BATT_STATUS_FULL,4,2     ; @MICRO_BATT_STATUS_FULL
	.comm	_POWER_SUPPLY_STATUS_FULL,4,2   ; @POWER_SUPPLY_STATUS_FULL
	.comm	_MICRO_BATT_STATUS_CHARGING,4,2 ; @MICRO_BATT_STATUS_CHARGING
	.comm	_MICRO_BATT_STATUS_CHARGEMAIN,4,2 ; @MICRO_BATT_STATUS_CHARGEMAIN
	.comm	_POWER_SUPPLY_STATUS_CHARGING,4,2 ; @POWER_SUPPLY_STATUS_CHARGING
	.comm	_POWER_SUPPLY_STATUS_DISCHARGING,4,2 ; @POWER_SUPPLY_STATUS_DISCHARGING
	.no_dead_strip	_get_status
.subsections_via_symbols
