	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip101a_g_config_init
_ip101a_g_config_init:                  ## @ip101a_g_config_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
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	callq	_ip1xx_reset
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	movq	_IP101G_DIGITAL_IO_SPEC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_6:
	movq	_IP101G_DIGITAL_IO_SPEC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
LBB0_4:
	callq	_phy_modify
	testl	%eax, %eax
	js	LBB0_7
LBB0_5:
	movq	_IP10XX_SPEC_CTRL_STATUS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_phy_read
	movq	_IP101A_G_APS_ON@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP101G_DIGITAL_IO_SPEC_CTRL,4,2 ## @IP101G_DIGITAL_IO_SPEC_CTRL
	.comm	_IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32,4,2 ## @IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32
	.comm	_IP10XX_SPEC_CTRL_STATUS,4,2    ## @IP10XX_SPEC_CTRL_STATUS
	.comm	_IP101A_G_APS_ON,4,2            ## @IP101A_G_APS_ON
	.no_dead_strip	_ip101a_g_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip101a_g_config_init
_ip101a_g_config_init:                  ; @ip101a_g_config_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
	mov	x19, x0
	ldr	x20, [x0]
	bl	_ip1xx_reset
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _IP101G_DIGITAL_IO_SPEC_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP101G_DIGITAL_IO_SPEC_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_phy_modify
	tbnz	w0, #31, LBB0_6
LBB0_4:
Lloh6:
	adrp	x20, _IP10XX_SPEC_CTRL_STATUS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IP10XX_SPEC_CTRL_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_phy_read
Lloh8:
	adrp	x8, _IP101A_G_APS_ON@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IP101A_G_APS_ON@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
LBB0_5:
Lloh11:
	adrp	x8, _IP101G_DIGITAL_IO_SPEC_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IP101G_DIGITAL_IO_SPEC_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_phy_modify
	tbz	w0, #31, LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IP101G_DIGITAL_IO_SPEC_CTRL,4,2 ; @IP101G_DIGITAL_IO_SPEC_CTRL
	.comm	_IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32,4,2 ; @IP101G_DIGITAL_IO_SPEC_CTRL_SEL_INTR32
	.comm	_IP10XX_SPEC_CTRL_STATUS,4,2    ; @IP10XX_SPEC_CTRL_STATUS
	.comm	_IP101A_G_APS_ON,4,2            ; @IP101A_G_APS_ON
	.no_dead_strip	_ip101a_g_config_init
.subsections_via_symbols
