	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function power_changed_isr
_power_changed_isr:                     ## @power_changed_isr
	.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	_pda_psy_ac@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_pda_psy_usb@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_ac_status@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_usb_status@GOTPCREL(%rip), %rax
LBB0_5:
	movq	_PDA_PSY_TO_CHANGE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_charger_work@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_cancel_delayed_work
	movq	_pdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pda_psy_ac,8,3                 ## @pda_psy_ac
	.comm	_PDA_PSY_TO_CHANGE,8,3          ## @PDA_PSY_TO_CHANGE
	.comm	_ac_status,8,3                  ## @ac_status
	.comm	_pda_psy_usb,8,3                ## @pda_psy_usb
	.comm	_usb_status,8,3                 ## @usb_status
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_charger_work,4,2               ## @charger_work
	.comm	_pdata,8,3                      ## @pdata
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_power_changed_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function power_changed_isr
_power_changed_isr:                     ; @power_changed_isr
	.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
Lloh0:
	adrp	x8, _pda_psy_ac@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pda_psy_ac@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _pda_psy_usb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pda_psy_usb@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x8, _ac_status@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ac_status@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _usb_status@GOTPAGE
Lloh11:
	ldr	x8, [x8, _usb_status@GOTPAGEOFF]
LBB0_5:
Lloh12:
	adrp	x9, _PDA_PSY_TO_CHANGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PDA_PSY_TO_CHANGE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh15:
	adrp	x19, _charger_work@GOTPAGE
Lloh16:
	ldr	x19, [x19, _charger_work@GOTPAGEOFF]
	mov	x0, x19
	bl	_cancel_delayed_work
Lloh17:
	adrp	x8, _pdata@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pdata@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pda_psy_ac,8,3                 ; @pda_psy_ac
	.comm	_PDA_PSY_TO_CHANGE,8,3          ; @PDA_PSY_TO_CHANGE
	.comm	_ac_status,8,3                  ; @ac_status
	.comm	_pda_psy_usb,8,3                ; @pda_psy_usb
	.comm	_usb_status,8,3                 ; @usb_status
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_charger_work,4,2               ; @charger_work
	.comm	_pdata,8,3                      ; @pdata
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_power_changed_isr
.subsections_via_symbols
