	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbs_get_property
_sbs_get_property:                      ## @sbs_get_property
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_power_supply_get_drvdata
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_6
## %bb.1:
	movl	(%rax), %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_POWER_SUPPLY_STATUS_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	movq	_SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.3:
	movq	_SBS_CHARGER_STATUS_AC_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_SBS_CHARGER_STATUS_CHARGE_INHIBITED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
LBB0_5:
	movq	_POWER_SUPPLY_STATUS_DISCHARGING@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_19
LBB0_7:
	movq	_SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_SBS_CHARGER_STATUS_AC_PRESENT@GOTPCREL(%rip), %rcx
LBB0_9:
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, (%r14)
	jmp	LBB0_18
LBB0_10:
	movq	_SBS_CHARGER_STATUS_RES_COLD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_POWER_SUPPLY_HEALTH_COLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
LBB0_12:
	movq	_SBS_CHARGER_STATUS_RES_HOT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	movq	_POWER_SUPPLY_HEALTH_OVERHEAT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_14:
	movq	_POWER_SUPPLY_STATUS_NOT_CHARGING@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_POWER_SUPPLY_HEALTH_GOOD@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_POWER_SUPPLY_STATUS_CHARGING@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_SBS_CHARGER_STATUS_BATTERY_PRESENT,4,2 ## @SBS_CHARGER_STATUS_BATTERY_PRESENT
	.comm	_SBS_CHARGER_STATUS_AC_PRESENT,4,2 ## @SBS_CHARGER_STATUS_AC_PRESENT
	.comm	_POWER_SUPPLY_STATUS_UNKNOWN,4,2 ## @POWER_SUPPLY_STATUS_UNKNOWN
	.comm	_POWER_SUPPLY_STATUS_NOT_CHARGING,4,2 ## @POWER_SUPPLY_STATUS_NOT_CHARGING
	.comm	_SBS_CHARGER_STATUS_CHARGE_INHIBITED,4,2 ## @SBS_CHARGER_STATUS_CHARGE_INHIBITED
	.comm	_POWER_SUPPLY_STATUS_CHARGING,4,2 ## @POWER_SUPPLY_STATUS_CHARGING
	.comm	_POWER_SUPPLY_STATUS_DISCHARGING,4,2 ## @POWER_SUPPLY_STATUS_DISCHARGING
	.comm	_SBS_CHARGER_STATUS_RES_COLD,4,2 ## @SBS_CHARGER_STATUS_RES_COLD
	.comm	_POWER_SUPPLY_HEALTH_COLD,4,2   ## @POWER_SUPPLY_HEALTH_COLD
	.comm	_SBS_CHARGER_STATUS_RES_HOT,4,2 ## @SBS_CHARGER_STATUS_RES_HOT
	.comm	_POWER_SUPPLY_HEALTH_OVERHEAT,4,2 ## @POWER_SUPPLY_HEALTH_OVERHEAT
	.comm	_POWER_SUPPLY_HEALTH_GOOD,4,2   ## @POWER_SUPPLY_HEALTH_GOOD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sbs_get_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbs_get_property
_sbs_get_property:                      ; @sbs_get_property
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_power_supply_get_drvdata
	sub	w9, w20, #128
	cmp	w9, #3
	b.hi	LBB0_6
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, _POWER_SUPPLY_STATUS_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _POWER_SUPPLY_STATUS_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh5:
	adrp	x9, _SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.3:
Lloh8:
	adrp	x9, _SBS_CHARGER_STATUS_AC_PRESENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_AC_PRESENT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x9, _SBS_CHARGER_STATUS_CHARGE_INHIBITED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_CHARGE_INHIBITED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_5:
	mov	w0, #0
Lloh14:
	adrp	x8, _POWER_SUPPLY_STATUS_DISCHARGING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _POWER_SUPPLY_STATUS_DISCHARGING@GOTPAGEOFF]
	b	LBB0_17
LBB0_6:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_19
LBB0_7:
	mov	w0, #0
Lloh19:
	adrp	x9, _SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_BATTERY_PRESENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
Lloh21:
	adrp	x9, _SBS_CHARGER_STATUS_AC_PRESENT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_AC_PRESENT@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	b	LBB0_18
LBB0_10:
Lloh23:
	adrp	x9, _SBS_CHARGER_STATUS_RES_COLD@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_RES_COLD@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh26:
	adrp	x9, _POWER_SUPPLY_HEALTH_COLD@GOTPAGE
Lloh27:
	ldr	x9, [x9, _POWER_SUPPLY_HEALTH_COLD@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	str	w9, [x19]
LBB0_12:
Lloh29:
	adrp	x9, _SBS_CHARGER_STATUS_RES_HOT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SBS_CHARGER_STATUS_RES_HOT@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	mov	w0, #0
Lloh32:
	adrp	x8, _POWER_SUPPLY_HEALTH_OVERHEAT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _POWER_SUPPLY_HEALTH_OVERHEAT@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	mov	w0, #0
Lloh34:
	adrp	x8, _POWER_SUPPLY_STATUS_NOT_CHARGING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _POWER_SUPPLY_STATUS_NOT_CHARGING@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
	mov	w0, #0
Lloh36:
	adrp	x8, _POWER_SUPPLY_HEALTH_GOOD@GOTPAGE
Lloh37:
	ldr	x8, [x8, _POWER_SUPPLY_HEALTH_GOOD@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	mov	w0, #0
Lloh38:
	adrp	x8, _POWER_SUPPLY_STATUS_CHARGING@GOTPAGE
Lloh39:
	ldr	x8, [x8, _POWER_SUPPLY_STATUS_CHARGING@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
LBB0_18:
	str	w8, [x19]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_SBS_CHARGER_STATUS_BATTERY_PRESENT,4,2 ; @SBS_CHARGER_STATUS_BATTERY_PRESENT
	.comm	_SBS_CHARGER_STATUS_AC_PRESENT,4,2 ; @SBS_CHARGER_STATUS_AC_PRESENT
	.comm	_POWER_SUPPLY_STATUS_UNKNOWN,4,2 ; @POWER_SUPPLY_STATUS_UNKNOWN
	.comm	_POWER_SUPPLY_STATUS_NOT_CHARGING,4,2 ; @POWER_SUPPLY_STATUS_NOT_CHARGING
	.comm	_SBS_CHARGER_STATUS_CHARGE_INHIBITED,4,2 ; @SBS_CHARGER_STATUS_CHARGE_INHIBITED
	.comm	_POWER_SUPPLY_STATUS_CHARGING,4,2 ; @POWER_SUPPLY_STATUS_CHARGING
	.comm	_POWER_SUPPLY_STATUS_DISCHARGING,4,2 ; @POWER_SUPPLY_STATUS_DISCHARGING
	.comm	_SBS_CHARGER_STATUS_RES_COLD,4,2 ; @SBS_CHARGER_STATUS_RES_COLD
	.comm	_POWER_SUPPLY_HEALTH_COLD,4,2   ; @POWER_SUPPLY_HEALTH_COLD
	.comm	_SBS_CHARGER_STATUS_RES_HOT,4,2 ; @SBS_CHARGER_STATUS_RES_HOT
	.comm	_POWER_SUPPLY_HEALTH_OVERHEAT,4,2 ; @POWER_SUPPLY_HEALTH_OVERHEAT
	.comm	_POWER_SUPPLY_HEALTH_GOOD,4,2   ; @POWER_SUPPLY_HEALTH_GOOD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sbs_get_property
.subsections_via_symbols
