	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet32_get_regs
_pcnet32_get_regs:                      ## @pcnet32_get_regs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%r14), %r15
	leaq	4(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	*8(%r12)
	movq	_CSR0_STOP@GOTPCREL(%rip), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_pcnet32_suspend
LBB0_2:
	movq	%r15, %rdi
	callq	_inw
	movl	%eax, (%rbx)
	leaq	2(%r15), %rdi
	callq	_inw
	movl	%eax, 4(%rbx)
	leaq	4(%r15), %rdi
	callq	_inw
	movl	%eax, 8(%rbx)
	leaq	6(%r15), %rdi
	callq	_inw
	movl	%eax, 12(%rbx)
	leaq	8(%r15), %rdi
	callq	_inw
	movl	%eax, 16(%rbx)
	leaq	10(%r15), %rdi
	callq	_inw
	movl	%eax, 20(%rbx)
	leaq	12(%r15), %rdi
	callq	_inw
	movl	%eax, 24(%rbx)
	leaq	14(%r15), %rdi
	callq	_inw
	movl	%eax, 28(%rbx)
	addq	$64, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*8(%r12)
	movl	%eax, -32(%rbx)
	incl	%r14d
	addq	$4, %rbx
	cmpl	$90, %r14d
	jne	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	movl	$112, %esi
	callq	*8(%r12)
	movl	%eax, -32(%rbx)
	movq	%r15, %rdi
	movl	$114, %esi
	callq	*8(%r12)
	movl	%eax, -28(%rbx)
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*24(%r12)
	movl	%eax, -24(%rbx)
	incl	%r14d
	addq	$4, %rbx
	cmpl	$30, %r14d
	jne	LBB0_5
## %bb.6:
	movl	$0, -24(%rbx)
	movq	%r15, %rdi
	movl	$31, %esi
	callq	*24(%r12)
	movl	%eax, -20(%rbx)
	movq	%r15, %rdi
	movl	$32, %esi
	callq	*24(%r12)
	movl	%eax, -16(%rbx)
	movq	%r15, %rdi
	movl	$33, %esi
	callq	*24(%r12)
	movl	%eax, -12(%rbx)
	movq	%r15, %rdi
	movl	$34, %esi
	callq	*24(%r12)
	movl	%eax, -8(%rbx)
	movq	%r15, %rdi
	movl	$35, %esi
	callq	*24(%r12)
	movl	%eax, -4(%rbx)
	cmpq	$0, 40(%r12)
	je	LBB0_15
## %bb.7:
	movq	_PCNET32_MAX_PHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.8:
	movq	_PCNET32_REGS_PER_PHY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	xorl	%edi, %edi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%edi
	cmpl	%eax, %edi
	jge	LBB0_15
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	(%r12), %edx
	btl	%edi, %edx
	jae	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	shll	$5, %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %r14
	movq	%r15, %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edx
	orl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%r12, %rdi
	movq	%rsi, %r15
	movl	$33, %esi
	callq	*32(%r14)
	movq	%r12, %rdi
	movl	$34, %esi
	callq	*24(%r14)
	movq	%r15, %rsi
	movl	%eax, (%rbx)
	addq	$4, %rbx
	incl	%r13d
	movl	(%r15), %ecx
	cmpl	%ecx, %r13d
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_PCNET32_MAX_PHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %r15
	movq	%r14, %r12
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_CSR0_STOP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_17
## %bb.16:
	movq	_CSR5@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	*8(%r12)
	movl	(%rbx), %esi
	movq	_CSR5_SUSPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	callq	*16(%r12)
LBB0_17:
	movq	-72(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR0,4,2                       ## @CSR0
	.comm	_CSR0_STOP,4,2                  ## @CSR0_STOP
	.comm	_PCNET32_MAX_PHYS,4,2           ## @PCNET32_MAX_PHYS
	.comm	_PCNET32_REGS_PER_PHY,4,2       ## @PCNET32_REGS_PER_PHY
	.comm	_CSR5,4,2                       ## @CSR5
	.comm	_CSR5_SUSPEND,4,2               ## @CSR5_SUSPEND
	.no_dead_strip	_pcnet32_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet32_get_regs
_pcnet32_get_regs:                      ; @pcnet32_get_regs
	.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	x23, x2
	mov	x24, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x20, [x24]
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _CSR0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSR0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	mov	x22, x0
Lloh3:
	adrp	x8, _CSR0_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR0_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x24
	mov	w2, #1
	bl	_pcnet32_suspend
LBB0_2:
	mov	x0, x20
	bl	_inw
	str	w0, [x23]
	add	x0, x20, #2
	bl	_inw
	str	w0, [x23, #4]
	add	x0, x20, #4
	bl	_inw
	str	w0, [x23, #8]
	add	x0, x20, #6
	bl	_inw
	str	w0, [x23, #12]
	add	x0, x20, #8
	bl	_inw
	str	w0, [x23, #16]
	add	x0, x20, #10
	bl	_inw
	str	w0, [x23, #20]
	add	x0, x20, #12
	bl	_inw
	str	w0, [x23, #24]
	add	x0, x20, #14
	bl	_inw
	mov	w24, #0
	str	w0, [x23, #28]
	add	x26, x23, #64
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	mov	x0, x20
	mov	x1, x24
	blr	x8
	stur	w0, [x26, #-32]
	add	w24, w24, #1
	add	x26, x26, #4
	cmp	w24, #90
	b.ne	LBB0_3
; %bb.4:
	ldr	x8, [x21, #8]
	mov	x0, x20
	mov	w1, #112
	blr	x8
	stur	w0, [x26, #-32]
	ldr	x8, [x21, #8]
	mov	x0, x20
	mov	w1, #114
	blr	x8
	mov	w23, #0
	stur	w0, [x26, #-28]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	x1, x23
	blr	x8
	stur	w0, [x26, #-24]
	add	w23, w23, #1
	add	x26, x26, #4
	cmp	w23, #30
	b.ne	LBB0_5
; %bb.6:
	stur	wzr, [x26, #-24]
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #31
	blr	x8
	stur	w0, [x26, #-20]
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #32
	blr	x8
	stur	w0, [x26, #-16]
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #33
	blr	x8
	stur	w0, [x26, #-12]
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #34
	blr	x8
	stur	w0, [x26, #-8]
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #35
	blr	x8
	stur	w0, [x26, #-4]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_15
; %bb.7:
Lloh6:
	adrp	x23, _PCNET32_MAX_PHYS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PCNET32_MAX_PHYS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.8:
	mov	w24, #0
Lloh8:
	adrp	x27, _PCNET32_REGS_PER_PHY@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PCNET32_REGS_PER_PHY@GOTPAGEOFF]
	ldr	w9, [x27]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w24, w24, #1
	cmp	w24, w8
	b.ge	LBB0_15
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w10, [x21]
	lsr	w10, w10, w24
	tbz	w10, #0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w28, #0
	lsl	w25, w24, #5
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #32]
	orr	w2, w28, w25
	mov	x0, x20
	mov	w1, #33
	blr	x8
	ldr	x8, [x21, #24]
	mov	x0, x20
	mov	w1, #34
	blr	x8
	str	w0, [x26], #4
	add	w28, w28, #1
	ldr	w9, [x27]
	cmp	w28, w9
	b.lt	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x23]
	b	LBB0_9
LBB0_15:
Lloh10:
	adrp	x8, _CSR0_STOP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CSR0_STOP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_17
; %bb.16:
	ldr	x8, [x21, #8]
Lloh13:
	adrp	x22, _CSR5@GOTPAGE
Lloh14:
	ldr	x22, [x22, _CSR5@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	blr	x8
	ldr	x8, [x21, #16]
	ldr	w1, [x22]
Lloh15:
	adrp	x9, _CSR5_SUSPEND@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CSR5_SUSPEND@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	bic	w2, w0, w9
	mov	x0, x20
	blr	x8
LBB0_17:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR0,4,2                       ; @CSR0
	.comm	_CSR0_STOP,4,2                  ; @CSR0_STOP
	.comm	_PCNET32_MAX_PHYS,4,2           ; @PCNET32_MAX_PHYS
	.comm	_PCNET32_REGS_PER_PHY,4,2       ; @PCNET32_REGS_PER_PHY
	.comm	_CSR5,4,2                       ; @CSR5
	.comm	_CSR5_SUSPEND,4,2               ; @CSR5_SUSPEND
	.no_dead_strip	_pcnet32_get_regs
.subsections_via_symbols
