	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function supply_work_func
_supply_work_func:                      ## @supply_work_func
	.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	_ac_status@GOTPCREL(%rip), %rax
	movq	_PDA_PSY_TO_CHANGE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_new_ac_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_pda_psy_ac@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_power_supply_changed
	movq	(%rbx), %rcx
LBB0_2:
	movq	_usb_status@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_new_usb_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_pda_psy_usb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_power_supply_changed           ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ac_status,8,3                  ## @ac_status
	.comm	_PDA_PSY_TO_CHANGE,8,3          ## @PDA_PSY_TO_CHANGE
	.comm	_new_ac_status,8,3              ## @new_ac_status
	.comm	_pda_psy_ac,4,2                 ## @pda_psy_ac
	.comm	_usb_status,8,3                 ## @usb_status
	.comm	_new_usb_status,8,3             ## @new_usb_status
	.comm	_pda_psy_usb,4,2                ## @pda_psy_usb
	.no_dead_strip	_supply_work_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function supply_work_func
_supply_work_func:                      ; @supply_work_func
	.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	x9, _ac_status@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ac_status@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh2:
	adrp	x19, _PDA_PSY_TO_CHANGE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _PDA_PSY_TO_CHANGE@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _new_ac_status@GOTPAGE
Lloh5:
	ldr	x8, [x8, _new_ac_status@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x9]
Lloh7:
	adrp	x8, _pda_psy_ac@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pda_psy_ac@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_power_supply_changed
	ldr	x8, [x19]
LBB0_2:
Lloh10:
	adrp	x9, _usb_status@GOTPAGE
Lloh11:
	ldr	x9, [x9, _usb_status@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x10, x8
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _new_usb_status@GOTPAGE
Lloh13:
	ldr	x8, [x8, _new_usb_status@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x9]
Lloh15:
	adrp	x8, _pda_psy_usb@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pda_psy_usb@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_power_supply_changed
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ac_status,8,3                  ; @ac_status
	.comm	_PDA_PSY_TO_CHANGE,8,3          ; @PDA_PSY_TO_CHANGE
	.comm	_new_ac_status,8,3              ; @new_ac_status
	.comm	_pda_psy_ac,4,2                 ; @pda_psy_ac
	.comm	_usb_status,8,3                 ; @usb_status
	.comm	_new_usb_status,8,3             ; @new_usb_status
	.comm	_pda_psy_usb,4,2                ; @pda_psy_usb
	.no_dead_strip	_supply_work_func
.subsections_via_symbols
