	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx78xx_link_phy_initialization
_anx78xx_link_phy_initialization:       ## @anx78xx_link_phy_initialization
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_I2C_IDX_TX_P2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_ANALOG_CTRL0_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rax
	movq	_I2C_IDX_TX_P1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r14d
	movq	_SP_DP_TX_LT_CTRL0_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_dp_tx_output_precise_tune_bits@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_bulk_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ## @I2C_IDX_TX_P2
	.comm	_SP_ANALOG_CTRL0_REG,4,2        ## @SP_ANALOG_CTRL0_REG
	.comm	_I2C_IDX_TX_P1,8,3              ## @I2C_IDX_TX_P1
	.comm	_SP_DP_TX_LT_CTRL0_REG,4,2      ## @SP_DP_TX_LT_CTRL0_REG
	.comm	_dp_tx_output_precise_tune_bits,4,2 ## @dp_tx_output_precise_tune_bits
	.no_dead_strip	_anx78xx_link_phy_initialization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx78xx_link_phy_initialization
_anx78xx_link_phy_initialization:       ; @anx78xx_link_phy_initialization
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I2C_IDX_TX_P2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_IDX_TX_P2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _SP_ANALOG_CTRL0_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SP_ANALOG_CTRL0_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #2
	bl	_regmap_write
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _I2C_IDX_TX_P1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I2C_IDX_TX_P1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w19, [x8, x9, lsl #2]
Lloh9:
	adrp	x8, _SP_DP_TX_LT_CTRL0_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SP_DP_TX_LT_CTRL0_REG@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _dp_tx_output_precise_tune_bits@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dp_tx_output_precise_tune_bits@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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	_regmap_bulk_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ; @I2C_IDX_TX_P2
	.comm	_SP_ANALOG_CTRL0_REG,4,2        ; @SP_ANALOG_CTRL0_REG
	.comm	_I2C_IDX_TX_P1,8,3              ; @I2C_IDX_TX_P1
	.comm	_SP_DP_TX_LT_CTRL0_REG,4,2      ; @SP_DP_TX_LT_CTRL0_REG
	.comm	_dp_tx_output_precise_tune_bits,4,2 ; @dp_tx_output_precise_tune_bits
	.no_dead_strip	_anx78xx_link_phy_initialization
.subsections_via_symbols
