	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra124_hsic_set_idle
_tegra124_hsic_set_idle:                ## @tegra124_hsic_set_idle
	.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
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_XUSB_PADCTL_HSIC_PADX_CTL1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_padctl_readl
	movq	_XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	orl	%eax, %ebx
	orl	%ecx, %ebx
	jmp	LBB0_3
LBB0_2:
	orl	%ebx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %ebx
LBB0_3:
	movl	%r15d, %edi
	callq	_XUSB_PADCTL_HSIC_PADX_CTL1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_padctl_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA,4,2 ## @XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA
	.comm	_XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE,4,2 ## @XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE
	.no_dead_strip	_tegra124_hsic_set_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra124_hsic_set_idle
_tegra124_hsic_set_idle:                ; @tegra124_hsic_set_idle
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_XUSB_PADCTL_HSIC_PADX_CTL1
	mov	x1, x0
	mov	x0, x21
	bl	_padctl_readl
Lloh0:
	adrp	x8, _XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w10, w0, w10
	orr	w8, w8, w0
	orr	w8, w8, w9
	cmp	w19, #0
	csel	w19, w10, w8, eq
	mov	x0, x20
	bl	_XUSB_PADCTL_HSIC_PADX_CTL1
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_padctl_writel
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA,4,2 ; @XUSB_PADCTL_HSIC_PAD_CTL1_RPD_DATA
	.comm	_XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE,4,2 ; @XUSB_PADCTL_HSIC_PAD_CTL1_RPU_STROBE
	.no_dead_strip	_tegra124_hsic_set_idle
.subsections_via_symbols
