	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac100_setup                   ## -- Begin function mac100_setup
	.p2align	4, 0x90
_mac100_setup:                          ## @mac100_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_mac100_driver@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_PMT_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_MAC_CONTROL_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_MAC_CONTROL_F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	_MAC_MII_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_MAC_MII_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tMAC 10/100\n"

	.comm	_mac100_driver,4,2              ## @mac100_driver
	.comm	_PMT_NOT_SUPPORTED,4,2          ## @PMT_NOT_SUPPORTED
	.comm	_MAC_CONTROL_PS,4,2             ## @MAC_CONTROL_PS
	.comm	_MAC_CONTROL_F,4,2              ## @MAC_CONTROL_F
	.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
	.globl	_mac100_setup                   ; -- Begin function mac100_setup
	.p2align	2
_mac100_setup:                          ; @mac100_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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh5:
	adrp	x8, _mac100_driver@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mac100_driver@GOTPAGEOFF]
	str	x8, [x19, #32]
Lloh7:
	adrp	x8, _PMT_NOT_SUPPORTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PMT_NOT_SUPPORTED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh10:
	adrp	x8, _MAC_CONTROL_PS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAC_CONTROL_PS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _MAC_CONTROL_F@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MAC_CONTROL_F@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	str	xzr, [x19, #8]
Lloh16:
	adrp	x8, _MAC_MII_ADDR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAC_MII_ADDR@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _MAC_MII_DATA@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MAC_MII_DATA@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tMAC 10/100\n"

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