	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm6996_config_init
_adm6996_config_init:                   ## @adm6996_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	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rdi)
	movq	%rax, 32(%rdi)
	movq	16(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	24(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	leaq	20(%rax), %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	%rbx, 8(%r14)
	movq	_adm6996_read_mii_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_adm6996_write_mii_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	8(%rbx), %rdx
	movl	(%rdx), %esi
	movq	%r14, %rdi
	callq	_adm6996_switch_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	%r14, (%rbx)
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ADVERTISED_100baseT_Full,8,3   ## @ADVERTISED_100baseT_Full
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: PHY overlaps ADM6996, providing fixed PHY 0x%x.\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm6996_read_mii_reg,4,2       ## @adm6996_read_mii_reg
	.comm	_adm6996_write_mii_reg,4,2      ## @adm6996_write_mii_reg
	.no_dead_strip	_adm6996_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm6996_config_init
_adm6996_config_init:                   ; @adm6996_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
Lloh0:
	adrp	x8, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [x0, #32]
	ldr	x2, [x0, #16]
	cbz	x2, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x0, x19, #24
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
	add	x0, x0, #20
	bl	_mutex_init
	add	x0, x20, #16
	bl	_mutex_init
	str	x19, [x20, #8]
Lloh8:
	adrp	x8, _adm6996_read_mii_reg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _adm6996_read_mii_reg@GOTPAGEOFF]
Lloh10:
	adrp	x9, _adm6996_write_mii_reg@GOTPAGE
Lloh11:
	ldr	x9, [x9, _adm6996_write_mii_reg@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	ldr	x2, [x19, #8]
	ldr	w1, [x2]
	mov	x0, x20
	bl	_adm6996_switch_init
	tbnz	w0, #31, LBB0_2
; %bb.5:
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_2
LBB0_6:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ADVERTISED_100baseT_Full,8,3   ; @ADVERTISED_100baseT_Full
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: PHY overlaps ADM6996, providing fixed PHY 0x%x.\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm6996_read_mii_reg,4,2       ; @adm6996_read_mii_reg
	.comm	_adm6996_write_mii_reg,4,2      ; @adm6996_write_mii_reg
	.no_dead_strip	_adm6996_config_init
.subsections_via_symbols
