	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fullbatt_handler
_fullbatt_handler:                      ## @fullbatt_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	cmpl	$0, 4(%r12)
	je	LBB0_5
## %bb.1:
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.2:
	movq	_cm_suspended@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_device_set_wakeup_capable
	movl	(%r12), %edi
LBB0_4:
	movq	_cm_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	12(%rbx), %r15
	callq	_msecs_to_jiffies
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_mod_delayed_work
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%r12), %edi
	callq	_msecs_to_jiffies
	addq	%r14, %rax
	movl	$1, %ecx
	cmovneq	%rax, %rcx
	movq	%rcx, (%rbx)
LBB0_5:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_default_event_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CM_EVENT_BATT_FULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uevent_notify                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cm_suspended,8,3               ## @cm_suspended
	.comm	_cm_wq,4,2                      ## @cm_wq
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EVENT_HANDLE: Battery Fully Charged\n"

	.comm	_default_event_names,8,3        ## @default_event_names
	.comm	_CM_EVENT_BATT_FULL,8,3         ## @CM_EVENT_BATT_FULL
	.no_dead_strip	_fullbatt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fullbatt_handler
_fullbatt_handler:                      ; @fullbatt_handler
	.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, x0
	ldr	x22, [x0, #16]
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_5
; %bb.1:
	ldr	w0, [x22]
	cbz	w0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _cm_suspended@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cm_suspended@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_device_set_wakeup_capable
	ldr	w0, [x22]
LBB0_4:
Lloh3:
	adrp	x8, _cm_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cm_wq@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	x21, x19, #12
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mod_delayed_work
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	ldr	w0, [x22]
	bl	_msecs_to_jiffies
	adds	x8, x0, x20
	csinc	x8, x8, xzr, ne
	str	x8, [x19]
LBB0_5:
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh11:
	adrp	x8, _default_event_names@GOTPAGE
Lloh12:
	ldr	x8, [x8, _default_event_names@GOTPAGEOFF]
Lloh13:
	adrp	x9, _CM_EVENT_BATT_FULL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CM_EVENT_BATT_FULL@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
Lloh16:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	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
	b	_uevent_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cm_suspended,8,3               ; @cm_suspended
	.comm	_cm_wq,4,2                      ; @cm_wq
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EVENT_HANDLE: Battery Fully Charged\n"

	.comm	_default_event_names,8,3        ; @default_event_names
	.comm	_CM_EVENT_BATT_FULL,8,3         ; @CM_EVENT_BATT_FULL
	.no_dead_strip	_fullbatt_handler
.subsections_via_symbols
