	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz9131_config_init
_ksz9131_config_init:                   ## @ksz9131_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
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movaps	l___const.ksz9131_config_init.clk_skews(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.ksz9131_config_init.rx_data_skews+16(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.ksz9131_config_init.rx_data_skews(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.ksz9131_config_init.tx_data_skews+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.ksz9131_config_init.tx_data_skews(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.ksz9131_config_init.control_skews(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	%rdi, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	_MII_KSZ9031RN_CLK_PAD_SKEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$5, %ecx
	movl	$2, %r9d
	callq	_ksz9131_of_load_skew_values
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movq	_MII_KSZ9031RN_CONTROL_PAD_SKEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	movl	$2, %r9d
	callq	_ksz9131_of_load_skew_values
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_MII_KSZ9031RN_RX_DATA_PAD_SKEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	movl	$4, %r9d
	callq	_ksz9131_of_load_skew_values
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	_MII_KSZ9031RN_TX_DATA_PAD_SKEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %ecx
	movl	$4, %r9d
	callq	_ksz9131_of_load_skew_values
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rxc-skew-psec"

L_.str.1:                               ## @.str.1
	.asciz	"txc-skew-psec"

	.section	__DATA,__const
	.p2align	4                               ## @__const.ksz9131_config_init.clk_skews
l___const.ksz9131_config_init.clk_skews:
	.quad	L_.str
	.quad	L_.str.1

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"rxd0-skew-psec"

L_.str.3:                               ## @.str.3
	.asciz	"rxd1-skew-psec"

L_.str.4:                               ## @.str.4
	.asciz	"rxd2-skew-psec"

L_.str.5:                               ## @.str.5
	.asciz	"rxd3-skew-psec"

	.section	__DATA,__const
	.p2align	4                               ## @__const.ksz9131_config_init.rx_data_skews
l___const.ksz9131_config_init.rx_data_skews:
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"txd0-skew-psec"

L_.str.7:                               ## @.str.7
	.asciz	"txd1-skew-psec"

L_.str.8:                               ## @.str.8
	.asciz	"txd2-skew-psec"

L_.str.9:                               ## @.str.9
	.asciz	"txd3-skew-psec"

	.section	__DATA,__const
	.p2align	4                               ## @__const.ksz9131_config_init.tx_data_skews
l___const.ksz9131_config_init.tx_data_skews:
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.8
	.quad	L_.str.9

	.section	__TEXT,__cstring,cstring_literals
L_.str.10:                              ## @.str.10
	.asciz	"txen-skew-psec"

L_.str.11:                              ## @.str.11
	.asciz	"rxdv-skew-psec"

	.section	__DATA,__const
	.p2align	4                               ## @__const.ksz9131_config_init.control_skews
l___const.ksz9131_config_init.control_skews:
	.quad	L_.str.10
	.quad	L_.str.11

	.comm	_MII_KSZ9031RN_CLK_PAD_SKEW,4,2 ## @MII_KSZ9031RN_CLK_PAD_SKEW
	.comm	_MII_KSZ9031RN_CONTROL_PAD_SKEW,4,2 ## @MII_KSZ9031RN_CONTROL_PAD_SKEW
	.comm	_MII_KSZ9031RN_RX_DATA_PAD_SKEW,4,2 ## @MII_KSZ9031RN_RX_DATA_PAD_SKEW
	.comm	_MII_KSZ9031RN_TX_DATA_PAD_SKEW,4,2 ## @MII_KSZ9031RN_TX_DATA_PAD_SKEW
	.no_dead_strip	_ksz9131_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz9131_config_init
_ksz9131_config_init:                   ; @ksz9131_config_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.ksz9131_config_init.clk_skews@PAGE
Lloh4:
	add	x8, x8, l___const.ksz9131_config_init.clk_skews@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	stur	q0, [x29, #-48]
Lloh6:
	adrp	x8, l___const.ksz9131_config_init.rx_data_skews@PAGE
Lloh7:
	add	x8, x8, l___const.ksz9131_config_init.rx_data_skews@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #48]
Lloh8:
	adrp	x8, l___const.ksz9131_config_init.tx_data_skews@PAGE
Lloh9:
	add	x8, x8, l___const.ksz9131_config_init.tx_data_skews@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
Lloh10:
	adrp	x8, l___const.ksz9131_config_init.control_skews@PAGE
Lloh11:
	add	x8, x8, l___const.ksz9131_config_init.control_skews@PAGEOFF
Lloh12:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x8, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x20, [x8]
	cmp	x20, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_1
; %bb.2:
	cbz	x20, LBB0_7
; %bb.3:
Lloh13:
	adrp	x8, _MII_KSZ9031RN_CLK_PAD_SKEW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MII_KSZ9031RN_CLK_PAD_SKEW@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	sub	x4, x29, #48
	mov	x0, x19
	mov	x1, x20
	mov	w3, #5
	mov	w5, #2
	bl	_ksz9131_of_load_skew_values
	tbnz	w0, #31, LBB0_8
; %bb.4:
Lloh16:
	adrp	x8, _MII_KSZ9031RN_CONTROL_PAD_SKEW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MII_KSZ9031RN_CONTROL_PAD_SKEW@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	x1, x20
	mov	w3, #4
	mov	w5, #2
	bl	_ksz9131_of_load_skew_values
	tbnz	w0, #31, LBB0_8
; %bb.5:
Lloh19:
	adrp	x8, _MII_KSZ9031RN_RX_DATA_PAD_SKEW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MII_KSZ9031RN_RX_DATA_PAD_SKEW@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x4, sp, #48
	mov	x0, x19
	mov	x1, x20
	mov	w3, #4
	mov	w5, #4
	bl	_ksz9131_of_load_skew_values
	tbnz	w0, #31, LBB0_8
; %bb.6:
Lloh22:
	adrp	x8, _MII_KSZ9031RN_TX_DATA_PAD_SKEW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MII_KSZ9031RN_TX_DATA_PAD_SKEW@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	add	x4, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	w3, #4
	mov	w5, #4
	bl	_ksz9131_of_load_skew_values
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rxc-skew-psec"

l_.str.1:                               ; @.str.1
	.asciz	"txc-skew-psec"

	.section	__DATA,__const
	.p2align	3                               ; @__const.ksz9131_config_init.clk_skews
l___const.ksz9131_config_init.clk_skews:
	.quad	l_.str
	.quad	l_.str.1

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"rxd0-skew-psec"

l_.str.3:                               ; @.str.3
	.asciz	"rxd1-skew-psec"

l_.str.4:                               ; @.str.4
	.asciz	"rxd2-skew-psec"

l_.str.5:                               ; @.str.5
	.asciz	"rxd3-skew-psec"

	.section	__DATA,__const
	.p2align	3                               ; @__const.ksz9131_config_init.rx_data_skews
l___const.ksz9131_config_init.rx_data_skews:
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"txd0-skew-psec"

l_.str.7:                               ; @.str.7
	.asciz	"txd1-skew-psec"

l_.str.8:                               ; @.str.8
	.asciz	"txd2-skew-psec"

l_.str.9:                               ; @.str.9
	.asciz	"txd3-skew-psec"

	.section	__DATA,__const
	.p2align	3                               ; @__const.ksz9131_config_init.tx_data_skews
l___const.ksz9131_config_init.tx_data_skews:
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9

	.section	__TEXT,__cstring,cstring_literals
l_.str.10:                              ; @.str.10
	.asciz	"txen-skew-psec"

l_.str.11:                              ; @.str.11
	.asciz	"rxdv-skew-psec"

	.section	__DATA,__const
	.p2align	3                               ; @__const.ksz9131_config_init.control_skews
l___const.ksz9131_config_init.control_skews:
	.quad	l_.str.10
	.quad	l_.str.11

	.comm	_MII_KSZ9031RN_CLK_PAD_SKEW,4,2 ; @MII_KSZ9031RN_CLK_PAD_SKEW
	.comm	_MII_KSZ9031RN_CONTROL_PAD_SKEW,4,2 ; @MII_KSZ9031RN_CONTROL_PAD_SKEW
	.comm	_MII_KSZ9031RN_RX_DATA_PAD_SKEW,4,2 ; @MII_KSZ9031RN_RX_DATA_PAD_SKEW
	.comm	_MII_KSZ9031RN_TX_DATA_PAD_SKEW,4,2 ; @MII_KSZ9031RN_TX_DATA_PAD_SKEW
	.no_dead_strip	_ksz9131_config_init
.subsections_via_symbols
