	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dwmac100_setup
LCPI0_0:
	.long	11                              ## 0xb
	.long	63488                           ## 0xf800
	.long	6                               ## 0x6
	.long	1984                            ## 0x7c0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dwmac100_setup
	.p2align	4, 0x90
_dwmac100_setup:                        ## @dwmac100_setup
	.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, %r14
	movq	8(%rdi), %rbx
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movl	(%r14), %eax
	movl	%eax, 72(%rbx)
	movq	_MAC_CONTROL_F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movq	_MAC_CONTROL_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_MAC_MII_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_MAC_MII_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [11,63488,6,1984]
	movups	%xmm0, (%rbx)
	movl	$2, 16(%rbx)
	movl	$5, %edi
	movl	$2, %esi
	callq	_GENMASK
	movl	%eax, 20(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tDWMAC100\n"

	.comm	_MAC_CONTROL_F,4,2              ## @MAC_CONTROL_F
	.comm	_MAC_CONTROL_PS,4,2             ## @MAC_CONTROL_PS
	.comm	_MAC_MII_ADDR,4,2               ## @MAC_MII_ADDR
	.comm	_MAC_MII_DATA,4,2               ## @MAC_MII_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dwmac100_setup
lCPI0_0:
	.long	11                              ; 0xb
	.long	63488                           ; 0xf800
	.long	6                               ; 0x6
	.long	1984                            ; 0x7c0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dwmac100_setup
	.p2align	2
_dwmac100_setup:                        ; @dwmac100_setup
	.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, #8]
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	w8, [x19]
	str	w8, [x20, #72]
Lloh2:
	adrp	x8, _MAC_CONTROL_F@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAC_CONTROL_F@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #64]
	stp	xzr, xzr, [x20, #48]
	str	xzr, [x20, #40]
Lloh5:
	adrp	x8, _MAC_CONTROL_PS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_CONTROL_PS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MAC_MII_ADDR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAC_MII_ADDR@GOTPAGEOFF]
	str	w8, [x20, #32]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _MAC_MII_DATA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAC_MII_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh14:
	adrp	x8, lCPI0_0@PAGE
Lloh15:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x20]
	mov	w8, #2
	str	w8, [x20, #16]
	mov	w0, #5
	mov	w1, #2
	bl	_GENMASK
	str	w0, [x20, #20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tDWMAC100\n"

	.comm	_MAC_CONTROL_F,4,2              ; @MAC_CONTROL_F
	.comm	_MAC_CONTROL_PS,4,2             ; @MAC_CONTROL_PS
	.comm	_MAC_MII_ADDR,4,2               ; @MAC_MII_ADDR
	.comm	_MAC_MII_DATA,4,2               ; @MAC_MII_DATA
.subsections_via_symbols
