	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max8925_charger_handler
_max8925_charger_handler:               ## @max8925_charger_handler
	.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
                                        ## kill: def $edi killed $edi def $rdi
	movq	8(%rsi), %r14
	subl	(%r14), %edi
	addl	$-128, %edi
	cmpl	$10, %edi
	ja	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movl	4(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___set_charger
	movl	4(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_13
LBB0_6:
	movl	4(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_4:
	movl	4(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
LBB0_5:
	movl	4(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_dbg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___set_charger
	jmp	LBB0_14
LBB0_7:
	movl	4(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_dev_info
	jmp	LBB0_14
LBB0_8:
	movl	4(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___set_charger
	movl	4(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_13
LBB0_9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___set_charger
	movl	4(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_13
LBB0_2:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	___set_charger
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_13
LBB0_3:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___set_charger
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_13:
	callq	_dev_dbg
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Adapter inserted\n"

L_.str.1:                               ## @.str.1
	.asciz	"Adapter removed\n"

L_.str.2:                               ## @.str.2
	.asciz	"Battery temperature is out of range\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error detection\n"

L_.str.4:                               ## @.str.4
	.asciz	"Battery temperature is in range\n"

L_.str.5:                               ## @.str.5
	.asciz	"Sys power is too low\n"

L_.str.6:                               ## @.str.6
	.asciz	"Sys power is above low threshold\n"

L_.str.7:                               ## @.str.7
	.asciz	"Charging is done\n"

L_.str.8:                               ## @.str.8
	.asciz	"Charging in top-off mode\n"

L_.str.9:                               ## @.str.9
	.asciz	"Safe timer is expired\n"

L_.str.10:                              ## @.str.10
	.asciz	"Charger is reset\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_max8925_charger_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max8925_charger_handler
_max8925_charger_handler:               ; @max8925_charger_handler
	.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
	ldr	x20, [x1, #8]
	ldr	w8, [x20]
	sub	w8, w0, w8
	sub	w8, w8, #128
	cmp	w8, #10
	b.hi	LBB0_14
; %bb.1:
	mov	x19, x1
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	w0, [x20, #4]
Lloh2:
	adrp	x1, l_.str.8@PAGE
Lloh3:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_13
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	___set_charger
	ldr	w0, [x20, #4]
Lloh4:
	adrp	x1, l_.str.9@PAGE
Lloh5:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_13
LBB0_4:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_5:
	ldr	w0, [x20, #4]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
LBB0_6:
	ldr	w0, [x20, #4]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	mov	x0, x19
	mov	w1, #0
	bl	___set_charger
	b	LBB0_14
LBB0_7:
	ldr	w0, [x20, #4]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_info
	b	LBB0_14
LBB0_8:
	ldr	w0, [x20, #4]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_9:
	mov	x0, x19
	mov	w1, #0
	bl	___set_charger
	ldr	w0, [x20, #4]
Lloh16:
	adrp	x1, l_.str.10@PAGE
Lloh17:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_13
LBB0_10:
	mov	x0, x19
	mov	w1, #0
	bl	___set_charger
	ldr	w0, [x20, #4]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_13
LBB0_11:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #1
	bl	___set_charger
	ldr	w0, [x20, #4]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
	str	wzr, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	___set_charger
	ldr	w0, [x20, #4]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	bl	_dev_dbg
LBB0_14:
Lloh24:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Adapter inserted\n"

l_.str.1:                               ; @.str.1
	.asciz	"Adapter removed\n"

l_.str.2:                               ; @.str.2
	.asciz	"Battery temperature is out of range\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error detection\n"

l_.str.4:                               ; @.str.4
	.asciz	"Battery temperature is in range\n"

l_.str.5:                               ; @.str.5
	.asciz	"Sys power is too low\n"

l_.str.6:                               ; @.str.6
	.asciz	"Sys power is above low threshold\n"

l_.str.7:                               ; @.str.7
	.asciz	"Charging is done\n"

l_.str.8:                               ; @.str.8
	.asciz	"Charging in top-off mode\n"

l_.str.9:                               ; @.str.9
	.asciz	"Safe timer is expired\n"

l_.str.10:                              ; @.str.10
	.asciz	"Charger is reset\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_max8925_charger_handler
.subsections_via_symbols
