	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun9i_usb_phy_passby
_sun9i_usb_phy_passby:                  ## @sun9i_usb_phy_passby
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SUNXI_AHB_INCR16_BURST_EN@GOTPCREL(%rip), %rax
	movq	_SUNXI_AHB_INCR8_BURST_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_SUNXI_AHB_INCR4_BURST_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SUNXI_AHB_INCRX_ALIGN_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_SUNXI_ULPI_BYPASS_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%rdi), %rax
	movq	_USBPHY_INTERFACE_MODE_HSIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SUNXI_HSIC@GOTPCREL(%rip), %rax
	movq	_SUNXI_EHCI_HS_FORCE@GOTPCREL(%rip), %rcx
	movq	_SUNXI_HSIC_CONNECT_DET@GOTPCREL(%rip), %rdx
	movq	_SUNXI_HSIC_CONNECT_INT@GOTPCREL(%rip), %rsi
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
LBB0_2:
	movl	8(%r14), %edi
	callq	_readl
	movl	%eax, %ecx
	orl	%ebx, %ecx
	notl	%ebx
	andl	%eax, %ebx
	testl	%r15d, %r15d
	cmovnel	%ecx, %ebx
	movl	8(%r14), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUNXI_AHB_INCR16_BURST_EN,4,2  ## @SUNXI_AHB_INCR16_BURST_EN
	.comm	_SUNXI_AHB_INCR8_BURST_EN,4,2   ## @SUNXI_AHB_INCR8_BURST_EN
	.comm	_SUNXI_AHB_INCR4_BURST_EN,4,2   ## @SUNXI_AHB_INCR4_BURST_EN
	.comm	_SUNXI_AHB_INCRX_ALIGN_EN,4,2   ## @SUNXI_AHB_INCRX_ALIGN_EN
	.comm	_SUNXI_ULPI_BYPASS_EN,4,2       ## @SUNXI_ULPI_BYPASS_EN
	.comm	_USBPHY_INTERFACE_MODE_HSIC,8,3 ## @USBPHY_INTERFACE_MODE_HSIC
	.comm	_SUNXI_HSIC,4,2                 ## @SUNXI_HSIC
	.comm	_SUNXI_EHCI_HS_FORCE,4,2        ## @SUNXI_EHCI_HS_FORCE
	.comm	_SUNXI_HSIC_CONNECT_DET,4,2     ## @SUNXI_HSIC_CONNECT_DET
	.comm	_SUNXI_HSIC_CONNECT_INT,4,2     ## @SUNXI_HSIC_CONNECT_INT
	.no_dead_strip	_sun9i_usb_phy_passby
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun9i_usb_phy_passby
_sun9i_usb_phy_passby:                  ; @sun9i_usb_phy_passby
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SUNXI_AHB_INCR16_BURST_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUNXI_AHB_INCR16_BURST_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUNXI_AHB_INCR8_BURST_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUNXI_AHB_INCR8_BURST_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SUNXI_AHB_INCR4_BURST_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUNXI_AHB_INCR4_BURST_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _SUNXI_AHB_INCRX_ALIGN_EN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SUNXI_AHB_INCRX_ALIGN_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SUNXI_ULPI_BYPASS_EN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUNXI_ULPI_BYPASS_EN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w21, w8, w9
	ldr	x8, [x0]
Lloh15:
	adrp	x9, _USBPHY_INTERFACE_MODE_HSIC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _USBPHY_INTERFACE_MODE_HSIC@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _SUNXI_HSIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SUNXI_HSIC@GOTPAGEOFF]
Lloh20:
	adrp	x9, _SUNXI_EHCI_HS_FORCE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SUNXI_EHCI_HS_FORCE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _SUNXI_HSIC_CONNECT_DET@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SUNXI_HSIC_CONNECT_DET@GOTPAGEOFF]
Lloh26:
	adrp	x11, _SUNXI_HSIC_CONNECT_INT@GOTPAGE
Lloh27:
	ldr	x11, [x11, _SUNXI_HSIC_CONNECT_INT@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
Lloh29:
	ldr	w11, [x11]
	orr	w8, w8, w21
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w21, w8, w11
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_readl
	orr	w8, w0, w21
	bic	w9, w0, w21
	cmp	w20, #0
	csel	w0, w9, w8, eq
	ldr	w1, [x19, #8]
	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	_writel
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SUNXI_AHB_INCR16_BURST_EN,4,2  ; @SUNXI_AHB_INCR16_BURST_EN
	.comm	_SUNXI_AHB_INCR8_BURST_EN,4,2   ; @SUNXI_AHB_INCR8_BURST_EN
	.comm	_SUNXI_AHB_INCR4_BURST_EN,4,2   ; @SUNXI_AHB_INCR4_BURST_EN
	.comm	_SUNXI_AHB_INCRX_ALIGN_EN,4,2   ; @SUNXI_AHB_INCRX_ALIGN_EN
	.comm	_SUNXI_ULPI_BYPASS_EN,4,2       ; @SUNXI_ULPI_BYPASS_EN
	.comm	_USBPHY_INTERFACE_MODE_HSIC,8,3 ; @USBPHY_INTERFACE_MODE_HSIC
	.comm	_SUNXI_HSIC,4,2                 ; @SUNXI_HSIC
	.comm	_SUNXI_EHCI_HS_FORCE,4,2        ; @SUNXI_EHCI_HS_FORCE
	.comm	_SUNXI_HSIC_CONNECT_DET,4,2     ; @SUNXI_HSIC_CONNECT_DET
	.comm	_SUNXI_HSIC_CONNECT_INT,4,2     ; @SUNXI_HSIC_CONNECT_INT
	.no_dead_strip	_sun9i_usb_phy_passby
.subsections_via_symbols
