	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_status
_update_status:                         ## @update_status
	.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	_pdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	*%rcx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	_new_ac_status@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	(%rbx), %rax
LBB0_2:
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	*%rcx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movq	_new_usb_status@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pdata,8,3                      ## @pdata
	.comm	_new_ac_status,4,2              ## @new_ac_status
	.comm	_new_usb_status,4,2             ## @new_usb_status
	.no_dead_strip	_update_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_status
_update_status:                         ; @update_status
	.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	x19, _pdata@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pdata@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	blr	x9
	cmp	w0, #0
	cset	w8, ne
Lloh2:
	adrp	x9, _new_ac_status@GOTPAGE
Lloh3:
	ldr	x9, [x9, _new_ac_status@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	ldr	x8, [x19]
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	blr	x8
	cmp	w0, #0
	cset	w8, ne
Lloh5:
	adrp	x9, _new_usb_status@GOTPAGE
Lloh6:
	ldr	x9, [x9, _new_usb_status@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pdata,8,3                      ; @pdata
	.comm	_new_ac_status,4,2              ; @new_ac_status
	.comm	_new_usb_status,4,2             ; @new_usb_status
	.no_dead_strip	_update_status
.subsections_via_symbols
