	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function histb_combphy_init
_histb_combphy_init:                    ## @histb_combphy_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_histb_combphy_set_mode
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_COMBPHY_CFG_REG@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_COMBPHY_BYPASS_CODEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movl	12(%rbx), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	callq	_reset_control_deassert
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_COMBPHY_CLKREF_OUT_OEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	$5, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$8, %edx
	callq	_nano_register_write
	movq	%rbx, %rdi
	movl	$12, %esi
	movl	$9, %edx
	callq	_nano_register_write
	movq	%rbx, %rdi
	movl	$26, %esi
	movl	$4, %edx
	callq	_nano_register_write
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMBPHY_CFG_REG,8,3            ## @COMBPHY_CFG_REG
	.comm	_COMBPHY_BYPASS_CODEC,4,2       ## @COMBPHY_BYPASS_CODEC
	.comm	_COMBPHY_CLKREF_OUT_OEN,4,2     ## @COMBPHY_CLKREF_OUT_OEN
	.no_dead_strip	_histb_combphy_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function histb_combphy_init
_histb_combphy_init:                    ; @histb_combphy_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_phy_get_drvdata
	mov	x19, x0
	bl	_histb_combphy_set_mode
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x20, _COMBPHY_CFG_REG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _COMBPHY_CFG_REG@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _COMBPHY_BYPASS_CODEC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COMBPHY_BYPASS_CODEC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #12]
	bl	_clk_prepare_enable
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_reset_control_deassert
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _COMBPHY_CLKREF_OUT_OEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COMBPHY_CLKREF_OUT_OEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #5
	bl	_mdelay
	mov	x0, x19
	mov	w1, #1
	mov	w2, #8
	bl	_nano_register_write
	mov	x0, x19
	mov	w1, #12
	mov	w2, #9
	bl	_nano_register_write
	mov	x0, x19
	mov	w1, #26
	mov	w2, #4
	bl	_nano_register_write
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_COMBPHY_CFG_REG,8,3            ; @COMBPHY_CFG_REG
	.comm	_COMBPHY_BYPASS_CODEC,4,2       ; @COMBPHY_BYPASS_CODEC
	.comm	_COMBPHY_CLKREF_OUT_OEN,4,2     ; @COMBPHY_CLKREF_OUT_OEN
	.no_dead_strip	_histb_combphy_init
.subsections_via_symbols
