	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_battery_get_property
_asus_battery_get_property:             ## @asus_battery_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_power_supply_get_drvdata
	movq	%rax, %r15
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	16(%r15), %rdi
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_time_before
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_QUERY_MIN_INTERVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r12), %rax
	movq	%rax, 16(%r15)
	movq	%r15, %rdi
	callq	_asus_battery_query
	testl	%eax, %eax
	jne	LBB0_13
LBB0_4:
	cmpl	$128, %ebx
	jne	LBB0_10
## %bb.5:
	movl	(%r15), %eax
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_7:
	movq	_POWER_SUPPLY_SCOPE_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_8:
	movl	$1, (%r14)
	jmp	LBB0_12
LBB0_9:
	movq	8(%r15), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_10:
	movl	4(%r15), %eax
LBB0_11:
	movl	%eax, (%r14)
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_QUERY_MIN_INTERVAL,8,3         ## @QUERY_MIN_INTERVAL
	.comm	_POWER_SUPPLY_SCOPE_DEVICE,4,2  ## @POWER_SUPPLY_SCOPE_DEVICE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_asus_battery_get_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_battery_get_property
_asus_battery_get_property:             ; @asus_battery_get_property
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	bl	_power_supply_get_drvdata
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x0, [x20, #16]
Lloh2:
	adrp	x22, _jiffies@GOTPAGE
Lloh3:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_time_before
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x22]
Lloh4:
	adrp	x9, _QUERY_MIN_INTERVAL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _QUERY_MIN_INTERVAL@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x20, #16]
	mov	x0, x20
	bl	_asus_battery_query
	cbnz	w0, LBB0_13
LBB0_4:
	cmp	w21, #128
	b.ne	LBB0_11
; %bb.5:
	mov	w0, #0
	ldr	w8, [x20]
	b	LBB0_12
LBB0_6:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_7:
	mov	w0, #0
Lloh10:
	adrp	x8, _POWER_SUPPLY_SCOPE_DEVICE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _POWER_SUPPLY_SCOPE_DEVICE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	mov	w8, #1
	b	LBB0_12
LBB0_9:
	mov	w0, #0
	ldr	x8, [x20, #8]
LBB0_10:
	ldr	w8, [x8]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
	ldr	w8, [x20, #4]
LBB0_12:
	str	w8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.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_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_QUERY_MIN_INTERVAL,8,3         ; @QUERY_MIN_INTERVAL
	.comm	_POWER_SUPPLY_SCOPE_DEVICE,4,2  ; @POWER_SUPPLY_SCOPE_DEVICE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_asus_battery_get_property
.subsections_via_symbols
