	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_hw_addr
_get_hw_addr:                           ## @get_hw_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_de4x5_bad_srom
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movq	_DE4X5_APROM@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_EISA_APROM@GOTPCREL(%rip), %rax
	movl	%edi, %ebx
	movl	(%rax), %edi
	callq	_inb
	addl	%eax, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rcx
	movslq	%ebx, %rbx
	movl	%eax, (%rcx,%rbx,4)
	movq	_EISA_APROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb
	movq	(%r13), %rcx
	movl	%eax, 4(%rcx,%rbx,4)
	shll	$8, %eax
	addl	%r15d, %eax
	leal	2(%rbx), %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %r15d
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	leal	-65535(%r15), %r13d
	cmpl	$65536, %r15d                   ## imm = 0x10000
	cmovll	%r15d, %r13d
	incl	%r12d
	cmpl	$3, %r12d
	je	LBB0_15
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	leal	(%r13,%r13), %eax
	cmpl	$65536, %eax                    ## imm = 0x10000
	leal	-65535(%r13,%r13), %r15d
	cmovll	%eax, %r15d
	movq	(%rbx), %rax
	movq	_PCI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	_DC21040@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	callq	_inl
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
	movslq	%r15d, %r13
	addq	%rcx, %r13
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movslq	-56(%rbp), %rbx                 ## 4-byte Folded Reload
	movl	%eax, (%rcx,%rbx,4)
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	callq	_inl
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r15d
	shll	$8, %r15d
	addl	%r13d, %r15d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	addl	$2, %edi
	movl	%eax, 4(%rcx,%rbx,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SMC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ACCTON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	%edi, %rax
	movl	16(%rbx,%rax,8), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movl	%ecx, (%rdx,%rax,4)
	movl	24(%rbx,%rax,8), %ecx
	movl	%ecx, 4(%rdx,%rax,4)
	addl	$2, %edi
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,8), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rsi
	movl	%edx, (%rsi,%rcx,4)
	movl	8(%rax,%rcx,8), %eax
	movl	%eax, 4(%rsi,%rcx,4)
	addl	$2, %edi
	jmp	LBB0_14
LBB0_15:
	xorl	%r12d, %r12d
	cmpl	$65535, %r13d                   ## imm = 0xFFFF
	cmovel	%r12d, %r13d
	movq	(%rbx), %rax
	movq	_PCI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.16:
	movq	8(%rbx), %rax
	movq	_DC21040@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_inl
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	movl	%eax, %r12d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_inl
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:
	shll	$8, %eax
	orl	%r12d, %eax
	jmp	LBB0_22
LBB0_21:
	movq	_EISA_APROM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_inb
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_inb
	shll	$8, %eax
	orl	%ebx, %eax
LBB0_22:
	cmpl	%eax, %r13d
	setne	%al
	movq	_dec_only@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %r12d
	negl	%r12d
LBB0_23:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_srom_repair
	movq	%rbx, %rdi
	movl	%r12d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_bad_enet                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI,8,3                        ## @PCI
	.comm	_DC21040,8,3                    ## @DC21040
	.comm	_DE4X5_APROM,4,2                ## @DE4X5_APROM
	.comm	_SMC,4,2                        ## @SMC
	.comm	_ACCTON,4,2                     ## @ACCTON
	.comm	_EISA_APROM,4,2                 ## @EISA_APROM
	.comm	_dec_only,8,3                   ## @dec_only
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_powermac,4,2                   ## @powermac
	.no_dead_strip	_get_hw_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_hw_addr
_get_hw_addr:                           ; @get_hw_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	bl	_de4x5_bad_srom
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	w25, #0
	mov	w26, #0
	mov	w8, #0
	add	x9, x21, #16
	str	x9, [sp]                        ; 8-byte Folded Spill
	mov	w27, #-65535
Lloh0:
	adrp	x28, _PCI@GOTPAGE
Lloh1:
	ldr	x28, [x28, _PCI@GOTPAGEOFF]
Lloh2:
	adrp	x22, _DE4X5_APROM@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DE4X5_APROM@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x27, _EISA_APROM@GOTPAGE
Lloh5:
	ldr	x27, [x27, _EISA_APROM@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_inb
	add	w20, w0, w24
	ldr	x8, [x19]
	mov	x9, x25
	sbfiz	x23, x9, #2, #32
	str	w0, [x8, x23]
	ldr	w0, [x27]
	mov	w27, #-65535
	bl	_inb
	add	w24, w20, w0, lsl #8
	ldr	x8, [x19]
	add	w25, w25, #2
	add	x8, x23, x8
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x8, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w24, w27
	cmp	w24, #16, lsl #12               ; =65536
	csel	w8, w8, w24, ge
	add	w26, w26, #1
	cmp	w26, #3
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	lsl	w8, w8, #1
	add	w9, w8, w27
	cmp	w8, #16, lsl #12                ; =65536
	csel	w24, w9, w8, ge
	ldr	x8, [x21]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
Lloh6:
	adrp	x9, _DC21040@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DC21040@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22]
	bl	_inl
	tbnz	w0, #31, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w0
	add	x24, x8, w24, sxtw
	ldr	x8, [x19]
	sxtw	x20, w25
	str	w0, [x8, w25, sxtw #2]
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22]
	bl	_inl
	tbnz	w0, #31, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, w0, lsl #8
	ldr	x8, [x19]
	add	w25, w25, #2
	add	x8, x8, x20, lsl #2
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x8, _SMC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SMC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ACCTON@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACCTON@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w10, w8
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x25
	sxtw	x8, w8
	ldr	x11, [sp]                       ; 8-byte Folded Reload
	ldr	x9, [x11, w25, sxtw #3]
	ldr	x10, [x19]
	str	w9, [x10, w25, sxtw #2]
	add	x8, x8, #1
	ldr	x9, [x11, x8, lsl #3]
	str	w9, [x10, x8, lsl #2]
	add	w25, w25, #2
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	mov	x9, x25
	sxtw	x9, w9
	ldr	x10, [x8, w25, sxtw #3]
	ldr	x11, [x19]
	str	w10, [x11, w25, sxtw #2]
	add	x9, x9, #1
	ldr	x8, [x8, x9, lsl #3]
	str	w8, [x11, x9, lsl #2]
	add	w25, w25, #2
	b	LBB0_3
LBB0_14:
	mov	w9, #65535
	cmp	w8, w9
	csel	w24, wzr, w8, eq
	ldr	x8, [x21]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.15:
	ldr	x8, [x21, #8]
Lloh15:
	adrp	x9, _DC21040@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DC21040@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_inl
	tbnz	w0, #31, LBB0_16
; %bb.17:
	mov	x21, x0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_inl
	tbnz	w0, #31, LBB0_18
	b	LBB0_20
LBB0_19:
Lloh18:
	adrp	x20, _EISA_APROM@GOTPAGE
Lloh19:
	ldr	x20, [x20, _EISA_APROM@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_inb
	mov	x21, x0
	ldr	w0, [x20]
	bl	_inb
LBB0_20:
	orr	w8, w21, w0, lsl #8
	cmp	w24, w8
Lloh20:
	adrp	x8, _dec_only@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dec_only@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ccmp	x8, #0, #4, ne
	cset	w8, ne
	sbfx	w21, w8, #0, #1
	b	LBB0_22
LBB0_21:
	mov	w21, #0
LBB0_22:
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_srom_repair
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_test_bad_enet
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI,8,3                        ; @PCI
	.comm	_DC21040,8,3                    ; @DC21040
	.comm	_DE4X5_APROM,4,2                ; @DE4X5_APROM
	.comm	_SMC,4,2                        ; @SMC
	.comm	_ACCTON,4,2                     ; @ACCTON
	.comm	_EISA_APROM,4,2                 ; @EISA_APROM
	.comm	_dec_only,8,3                   ; @dec_only
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_powermac,4,2                   ; @powermac
	.no_dead_strip	_get_hw_addr
.subsections_via_symbols
