	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet32_suspend
_pcnet32_suspend:                       ## @pcnet32_suspend
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %rdx
	movq	_PCNET32_79C970A@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	jl	LBB0_9
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r14d
	movq	16(%r12), %r15
	movq	_CSR5@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edi
	callq	*(%r15)
	movl	(%r13), %esi
	movq	_CSR5_SUSPEND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	*8(%r15)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	movl	$201, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_mdelay
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	decl	%r13d
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CSR5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	*(%r15)
	movq	_CSR5_SUSPEND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_msleep
	jmp	LBB0_7
LBB0_8:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_netif_printk
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_3:
	movl	$1, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCNET32_79C970A,8,3            ## @PCNET32_79C970A
	.comm	_CSR5,4,2                       ## @CSR5
	.comm	_CSR5_SUSPEND,4,2               ## @CSR5_SUSPEND
	.comm	_hw,4,2                         ## @hw
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error getting into suspend!\n"

	.no_dead_strip	_pcnet32_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet32_suspend
_pcnet32_suspend:                       ; @pcnet32_suspend
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PCNET32_79C970A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCNET32_79C970A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	w23, [x19]
	ldr	x25, [x0, #16]
	ldr	x8, [x25]
Lloh3:
	adrp	x26, _CSR5@GOTPAGE
Lloh4:
	ldr	x26, [x26, _CSR5@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x23
	blr	x8
	ldr	x8, [x25, #8]
	ldr	w1, [x26]
Lloh5:
	adrp	x27, _CSR5_SUSPEND@GOTPAGE
Lloh6:
	ldr	x27, [x27, _CSR5_SUSPEND@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w2, w9, w0
	mov	x0, x23
	blr	x8
	add	x24, x20, #8
	mov	w28, #201
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_mdelay
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22]
	mov	x0, x24
	bl	_spin_lock_irqsave
	subs	w28, w28, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w1, [x26]
	mov	x0, x23
	blr	x8
	ldr	w8, [x27]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22]
	mov	x0, x24
	bl	_spin_unlock_irqrestore
	mov	w0, #1
	cbz	w21, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_msleep
	b	LBB0_3
LBB0_7:
Lloh7:
	adrp	x8, _hw@GOTPAGE
Lloh8:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x4, l_.str@PAGE
Lloh14:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_netif_printk
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PCNET32_79C970A,8,3            ; @PCNET32_79C970A
	.comm	_CSR5,4,2                       ; @CSR5
	.comm	_CSR5_SUSPEND,4,2               ; @CSR5_SUSPEND
	.comm	_hw,4,2                         ; @hw
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error getting into suspend!\n"

	.no_dead_strip	_pcnet32_suspend
.subsections_via_symbols
