	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csn3xxx_usb_power_off
_csn3xxx_usb_power_off:                 ## @csn3xxx_usb_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_usb_pwr_ref@GOTPCREL(%rip), %rdi
	callq	_atomic_dec_return
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	_PM_CLK_GATE_REG_OFFSET_USB_HOST@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	popq	%rbp
	jmp	_cns3xxx_pwr_clk_dis            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_usb_pwr_ref,4,2                ## @usb_pwr_ref
	.comm	_PM_CLK_GATE_REG_OFFSET_USB_HOST,4,2 ## @PM_CLK_GATE_REG_OFFSET_USB_HOST
	.no_dead_strip	_csn3xxx_usb_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csn3xxx_usb_power_off
_csn3xxx_usb_power_off:                 ; @csn3xxx_usb_power_off
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _usb_pwr_ref@GOTPAGE
Lloh1:
	ldr	x0, [x0, _usb_pwr_ref@GOTPAGEOFF]
	bl	_atomic_dec_return
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _PM_CLK_GATE_REG_OFFSET_USB_HOST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PM_CLK_GATE_REG_OFFSET_USB_HOST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_cns3xxx_pwr_clk_dis
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_usb_pwr_ref,4,2                ; @usb_pwr_ref
	.comm	_PM_CLK_GATE_REG_OFFSET_USB_HOST,4,2 ; @PM_CLK_GATE_REG_OFFSET_USB_HOST
	.no_dead_strip	_csn3xxx_usb_power_off
.subsections_via_symbols
