	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_status
_dump_status:                           ## @dump_status
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	movl	$1, %edi
	callq	_EL3WINDOW
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	callq	_inw
	movl	%eax, %r15d
	movq	_RxStatus@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	callq	_inw
	movl	%eax, %r12d
	movq	_TxStatus@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	addq	(%rax), %rdi
	callq	_inb
	movl	%eax, %r13d
	movq	_TxFree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	callq	_inw
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_netdev_info
	movl	$4, %edi
	callq	_EL3WINDOW
	leal	4(%rbx), %edi
	callq	_inw
	movl	%eax, %r15d
	leal	6(%rbx), %edi
	callq	_inw
	movl	%eax, %r12d
	leal	8(%rbx), %edi
	callq	_inw
	movl	%eax, %r13d
	leal	10(%rbx), %edi
	callq	_inw
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_netdev_info
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EL3WINDOW                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  irq status %04x, rx status %04x, tx status %02x, tx free %04x\n"

	.comm	_EL3_STATUS,4,2                 ## @EL3_STATUS
	.comm	_RxStatus,4,2                   ## @RxStatus
	.comm	_TxStatus,8,3                   ## @TxStatus
	.comm	_TxFree,4,2                     ## @TxFree
L_.str.1:                               ## @.str.1
	.asciz	"  diagnostics: fifo %04x net %04x ethernet %04x media %04x\n"

	.no_dead_strip	_dump_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_status
_dump_status:                           ; @dump_status
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w23, [x0]
	mov	w0, #1
	bl	_EL3WINDOW
Lloh0:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, w23
	bl	_inw
	mov	x20, x0
Lloh3:
	adrp	x8, _RxStatus@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RxStatus@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, w23
	bl	_inw
	mov	x21, x0
Lloh6:
	adrp	x8, _TxStatus@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TxStatus@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inb
	mov	x22, x0
Lloh9:
	adrp	x8, _TxFree@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TxFree@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, w23
	bl	_inw
	mov	x5, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_netdev_info
	mov	w0, #4
	bl	_EL3WINDOW
	add	w0, w23, #4
	bl	_inw
	mov	x20, x0
	add	w0, w23, #6
	bl	_inw
	mov	x21, x0
	add	w0, w23, #8
	bl	_inw
	mov	x22, x0
	add	w0, w23, #10
	bl	_inw
	mov	x5, x0
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_netdev_info
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_EL3WINDOW
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  irq status %04x, rx status %04x, tx status %02x, tx free %04x\n"

	.comm	_EL3_STATUS,4,2                 ; @EL3_STATUS
	.comm	_RxStatus,4,2                   ; @RxStatus
	.comm	_TxStatus,8,3                   ; @TxStatus
	.comm	_TxFree,4,2                     ; @TxFree
l_.str.1:                               ; @.str.1
	.asciz	"  diagnostics: fifo %04x net %04x ethernet %04x media %04x\n"

	.no_dead_strip	_dump_status
.subsections_via_symbols
