	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function polling_work_func
_polling_work_func:                     ## @polling_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	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	callq	_update_status
	movq	_ac_irq@GOTPCREL(%rip), %rcx
	movb	$1, %al
	cmpl	$0, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_new_ac_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_ac_status@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_3
## %bb.2:
	movq	_PDA_PSY_TO_CHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	xorl	%eax, %eax
LBB0_3:
	movq	_usb_irq@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_6
## %bb.4:
	movq	_new_usb_status@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_usb_status@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_5
LBB0_6:
	testb	%al, %al
	je	LBB0_7
	jmp	LBB0_8
LBB0_5:
	movq	_PDA_PSY_TO_CHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_7:
	xorl	%eax, %eax
	callq	_psy_changed
LBB0_8:
	movq	_polling_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
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev,4,2                        ## @dev
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"polling...\n"

	.comm	_ac_irq,4,2                     ## @ac_irq
	.comm	_new_ac_status,8,3              ## @new_ac_status
	.comm	_ac_status,8,3                  ## @ac_status
	.comm	_PDA_PSY_TO_CHANGE,8,3          ## @PDA_PSY_TO_CHANGE
	.comm	_usb_irq,4,2                    ## @usb_irq
	.comm	_new_usb_status,8,3             ## @new_usb_status
	.comm	_usb_status,8,3                 ## @usb_status
	.comm	_polling_work,4,2               ## @polling_work
	.comm	_pdata,8,3                      ## @pdata
	.no_dead_strip	_polling_work_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function polling_work_func
_polling_work_func:                     ; @polling_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	x8, _dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	bl	_update_status
Lloh5:
	adrp	x8, _ac_irq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ac_irq@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _new_ac_status@GOTPAGE
Lloh9:
	ldr	x8, [x8, _new_ac_status@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ac_status@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ac_status@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_3
LBB0_2:
	mov	w8, #1
	b	LBB0_4
LBB0_3:
	mov	w8, #0
Lloh13:
	adrp	x10, _PDA_PSY_TO_CHANGE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PDA_PSY_TO_CHANGE@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	str	x10, [x9]
LBB0_4:
Lloh16:
	adrp	x9, _usb_irq@GOTPAGE
Lloh17:
	ldr	x9, [x9, _usb_irq@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cbnz	w9, LBB0_6
; %bb.5:
Lloh19:
	adrp	x9, _new_usb_status@GOTPAGE
Lloh20:
	ldr	x9, [x9, _new_usb_status@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x9]
Lloh22:
	adrp	x9, _usb_status@GOTPAGE
Lloh23:
	ldr	x9, [x9, _usb_status@GOTPAGEOFF]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_7
LBB0_6:
	tbz	w8, #0, LBB0_8
	b	LBB0_9
LBB0_7:
Lloh24:
	adrp	x8, _PDA_PSY_TO_CHANGE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PDA_PSY_TO_CHANGE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x9]
LBB0_8:
	bl	_psy_changed
LBB0_9:
Lloh27:
	adrp	x19, _polling_work@GOTPAGE
Lloh28:
	ldr	x19, [x19, _polling_work@GOTPAGEOFF]
	mov	x0, x19
	bl	_cancel_delayed_work
Lloh29:
	adrp	x8, _pdata@GOTPAGE
Lloh30:
	ldr	x8, [x8, _pdata@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_dev,4,2                        ; @dev
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"polling...\n"

	.comm	_ac_irq,4,2                     ; @ac_irq
	.comm	_new_ac_status,8,3              ; @new_ac_status
	.comm	_ac_status,8,3                  ; @ac_status
	.comm	_PDA_PSY_TO_CHANGE,8,3          ; @PDA_PSY_TO_CHANGE
	.comm	_usb_irq,4,2                    ; @usb_irq
	.comm	_new_usb_status,8,3             ; @new_usb_status
	.comm	_usb_status,8,3                 ; @usb_status
	.comm	_polling_work,4,2               ; @polling_work
	.comm	_pdata,8,3                      ; @pdata
	.no_dead_strip	_polling_work_func
.subsections_via_symbols
