	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xlgmac_dump_tx_desc            ## -- Begin function xlgmac_dump_tx_desc
	.p2align	4, 0x90
_xlgmac_dump_tx_desc:                   ## @xlgmac_dump_tx_desc
	.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
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rdi, %r12
	cmpl	$1, %r8d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rdi
	movl	%ebx, %esi
	callq	_XLGMAC_GET_DESC_DATA
	movq	8(%rax), %r15
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_netdev_dbg
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, %r10d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r12
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	callq	_netdev_dbg
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	$16, %rsp
	incl	%ebx
	decl	%r14d
	jne	LBB0_2
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX: dma_desc=%p, dma_desc_addr=%pad\n"

L_.str.1:                               ## @.str.1
	.asciz	"TX_NORMAL_DESC[%d %s] = %08x:%08x:%08x:%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"QUEUED FOR TX"

L_.str.3:                               ## @.str.3
	.asciz	"TX BY DEVICE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xlgmac_dump_tx_desc            ; -- Begin function xlgmac_dump_tx_desc
	.p2align	2
_xlgmac_dump_tx_desc:                   ; @xlgmac_dump_tx_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	cbz	w3, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, l_.str.3@PAGE
Lloh1:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w4, #1
	csel	x23, x9, x8, eq
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	mov	x0, x21
	mov	x1, x20
	bl	_XLGMAC_GET_DESC_DATA
	ldr	x24, [x0, #8]
	ldr	w8, [x22]
	stp	x24, x0, [sp]
	mov	x0, x8
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldr	w25, [x22]
	ldr	w0, [x24, #12]
	bl	_le32_to_cpu
	mov	x26, x0
	ldr	w0, [x24, #8]
	bl	_le32_to_cpu
	mov	x27, x0
	ldr	w0, [x24, #4]
	bl	_le32_to_cpu
	mov	x28, x0
	ldr	w0, [x24]
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #32]
	stp	x26, x27, [sp, #16]
	stp	x20, x23, [sp]
	mov	x0, x25
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
	add	w20, w20, #1
	cbnz	w19, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX: dma_desc=%p, dma_desc_addr=%pad\n"

l_.str.1:                               ; @.str.1
	.asciz	"TX_NORMAL_DESC[%d %s] = %08x:%08x:%08x:%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"QUEUED FOR TX"

l_.str.3:                               ; @.str.3
	.asciz	"TX BY DEVICE"

.subsections_via_symbols
