	.file	"extr_laguna.c_csn3xxx_usb_power_off.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	csn3xxx_usb_power_off, @function
csn3xxx_usb_power_off:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, usb_pwr_ref[rip]
	call	atomic_dec_return@PLT
	test	rax, rax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	ecx, DWORD PTR PM_CLK_GATE_REG_OFFSET_USB_HOST[rip]
	mov	edi, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	sal	edi, cl
	jmp	cns3xxx_pwr_clk_dis@PLT
	.cfi_endproc
.LFE0:
	.size	csn3xxx_usb_power_off, .-csn3xxx_usb_power_off
	.comm	usb_pwr_ref,4,4
	.comm	PM_CLK_GATE_REG_OFFSET_USB_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_laguna.c_csn3xxx_usb_power_off.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	csn3xxx_usb_power_off, %function
csn3xxx_usb_power_off:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, .L5
	bl	atomic_dec_return
	cmp	r0, #0
	popne	{r4, pc}
	mov	r0, #1
	pop	{r4, lr}
	ldr	r3, .L5+4
	ldr	r3, [r3]
	lsl	r0, r0, r3
	b	cns3xxx_pwr_clk_dis
.L6:
	.align	2
.L5:
	.word	usb_pwr_ref
	.word	PM_CLK_GATE_REG_OFFSET_USB_HOST
	.size	csn3xxx_usb_power_off, .-csn3xxx_usb_power_off
	.comm	usb_pwr_ref,4,4
	.comm	PM_CLK_GATE_REG_OFFSET_USB_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
