	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_ns_usb3_phy_init_ns_bx
_bcm_ns_usb3_phy_init_ns_bx:            ## @bcm_ns_usb3_phy_init_ns_bx
	.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
	movq	%rdi, %rbx
	movq	_BCM_NS_USB3_PHY_BASE_ADDR_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_BCM_NS_USB3_PHY_PLL30_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bcm_ns_usb3_mdio_phy_write
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_BCM_NS_USB3_PLL_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCM_NS_USB3_PLLA_CONTROL0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$25600, %edx                    ## imm = 0x6400
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCM_NS_USB3_PLLA_CONTROL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$49152, %edx                    ## imm = 0xC000
	callq	_bcm_ns_usb3_mdio_phy_write
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCMA_RESET_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_writel
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$36864, %edx                    ## imm = 0x9000
	callq	_bcm_ns_usb3_mdio_phy_write
	movl	(%r15), %esi
	movq	_BCM_NS_USB3_PHY_PIPE_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCM_NS_USB3_LFPS_CMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$62221, %edx                    ## imm = 0xF30D
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCM_NS_USB3_LFPS_DEGLITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$25346, %edx                    ## imm = 0x6302
	callq	_bcm_ns_usb3_mdio_phy_write
	movl	(%r15), %esi
	movq	_BCM_NS_USB3_PHY_TX_PMD_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bcm_ns_usb3_mdio_phy_write
	movq	_BCM_NS_USB3_TX_PMD_CONTROL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4099, %edx                     ## imm = 0x1003
	callq	_bcm_ns_usb3_mdio_phy_write
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM_NS_USB3_PHY_BASE_ADDR_REG,4,2 ## @BCM_NS_USB3_PHY_BASE_ADDR_REG
	.comm	_BCM_NS_USB3_PHY_PLL30_BLOCK,4,2 ## @BCM_NS_USB3_PHY_PLL30_BLOCK
	.comm	_BCM_NS_USB3_PLL_CONTROL,4,2    ## @BCM_NS_USB3_PLL_CONTROL
	.comm	_BCM_NS_USB3_PLLA_CONTROL0,4,2  ## @BCM_NS_USB3_PLLA_CONTROL0
	.comm	_BCM_NS_USB3_PLLA_CONTROL1,4,2  ## @BCM_NS_USB3_PLLA_CONTROL1
	.comm	_BCMA_RESET_CTL,8,3             ## @BCMA_RESET_CTL
	.comm	_BCM_NS_USB3_PHY_PIPE_BLOCK,4,2 ## @BCM_NS_USB3_PHY_PIPE_BLOCK
	.comm	_BCM_NS_USB3_LFPS_CMP,4,2       ## @BCM_NS_USB3_LFPS_CMP
	.comm	_BCM_NS_USB3_LFPS_DEGLITCH,4,2  ## @BCM_NS_USB3_LFPS_DEGLITCH
	.comm	_BCM_NS_USB3_PHY_TX_PMD_BLOCK,4,2 ## @BCM_NS_USB3_PHY_TX_PMD_BLOCK
	.comm	_BCM_NS_USB3_TX_PMD_CONTROL1,4,2 ## @BCM_NS_USB3_TX_PMD_CONTROL1
	.no_dead_strip	_bcm_ns_usb3_phy_init_ns_bx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_ns_usb3_phy_init_ns_bx
_bcm_ns_usb3_phy_init_ns_bx:            ; @bcm_ns_usb3_phy_init_ns_bx
	.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, x0
Lloh0:
	adrp	x20, _BCM_NS_USB3_PHY_BASE_ADDR_REG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BCM_NS_USB3_PHY_BASE_ADDR_REG@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _BCM_NS_USB3_PHY_PLL30_BLOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BCM_NS_USB3_PHY_PLL30_BLOCK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_bcm_ns_usb3_mdio_phy_write
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, _BCM_NS_USB3_PLL_CONTROL@GOTPAGE
Lloh6:
	ldr	x21, [x21, _BCM_NS_USB3_PLL_CONTROL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #4096
	bl	_bcm_ns_usb3_mdio_phy_write
Lloh7:
	adrp	x8, _BCM_NS_USB3_PLLA_CONTROL0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BCM_NS_USB3_PLLA_CONTROL0@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #25600
	bl	_bcm_ns_usb3_mdio_phy_write
Lloh10:
	adrp	x22, _BCM_NS_USB3_PLLA_CONTROL1@GOTPAGE
Lloh11:
	ldr	x22, [x22, _BCM_NS_USB3_PLLA_CONTROL1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #49152
	bl	_bcm_ns_usb3_mdio_phy_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #32768
	bl	_bcm_ns_usb3_mdio_phy_write
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _BCMA_RESET_CTL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BCMA_RESET_CTL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #36864
	bl	_bcm_ns_usb3_mdio_phy_write
	ldr	w1, [x20]
Lloh15:
	adrp	x8, _BCM_NS_USB3_PHY_PIPE_BLOCK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BCM_NS_USB3_PHY_PIPE_BLOCK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bcm_ns_usb3_mdio_phy_write
Lloh18:
	adrp	x8, _BCM_NS_USB3_LFPS_CMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BCM_NS_USB3_LFPS_CMP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #62221
	bl	_bcm_ns_usb3_mdio_phy_write
Lloh21:
	adrp	x8, _BCM_NS_USB3_LFPS_DEGLITCH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BCM_NS_USB3_LFPS_DEGLITCH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #25346
	bl	_bcm_ns_usb3_mdio_phy_write
	ldr	w1, [x20]
Lloh24:
	adrp	x8, _BCM_NS_USB3_PHY_TX_PMD_BLOCK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BCM_NS_USB3_PHY_TX_PMD_BLOCK@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bcm_ns_usb3_mdio_phy_write
Lloh27:
	adrp	x8, _BCM_NS_USB3_TX_PMD_CONTROL1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BCM_NS_USB3_TX_PMD_CONTROL1@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4099
	bl	_bcm_ns_usb3_mdio_phy_write
	mov	w0, #0
LBB0_2:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM_NS_USB3_PHY_BASE_ADDR_REG,4,2 ; @BCM_NS_USB3_PHY_BASE_ADDR_REG
	.comm	_BCM_NS_USB3_PHY_PLL30_BLOCK,4,2 ; @BCM_NS_USB3_PHY_PLL30_BLOCK
	.comm	_BCM_NS_USB3_PLL_CONTROL,4,2    ; @BCM_NS_USB3_PLL_CONTROL
	.comm	_BCM_NS_USB3_PLLA_CONTROL0,4,2  ; @BCM_NS_USB3_PLLA_CONTROL0
	.comm	_BCM_NS_USB3_PLLA_CONTROL1,4,2  ; @BCM_NS_USB3_PLLA_CONTROL1
	.comm	_BCMA_RESET_CTL,8,3             ; @BCMA_RESET_CTL
	.comm	_BCM_NS_USB3_PHY_PIPE_BLOCK,4,2 ; @BCM_NS_USB3_PHY_PIPE_BLOCK
	.comm	_BCM_NS_USB3_LFPS_CMP,4,2       ; @BCM_NS_USB3_LFPS_CMP
	.comm	_BCM_NS_USB3_LFPS_DEGLITCH,4,2  ; @BCM_NS_USB3_LFPS_DEGLITCH
	.comm	_BCM_NS_USB3_PHY_TX_PMD_BLOCK,4,2 ; @BCM_NS_USB3_PHY_TX_PMD_BLOCK
	.comm	_BCM_NS_USB3_TX_PMD_CONTROL1,4,2 ; @BCM_NS_USB3_TX_PMD_CONTROL1
	.no_dead_strip	_bcm_ns_usb3_phy_init_ns_bx
.subsections_via_symbols
