	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdx_tx_map_skb
_bdx_tx_map_skb:                        ## @bdx_tx_map_skb
	.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	%rsi, %r15
	movq	%rdi, %r12
	leaq	8(%rdi), %r14
	movq	(%rdx), %rbx
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r13d
	movq	16(%r15), %rdx
	subq	8(%r15), %rdx
	movq	8(%r12), %rax
	movq	%rdx, 16(%rax)
	movl	(%r12), %edi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	(%r15), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	16(%rcx), %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, 16(%rbx)
	movq	8(%r12), %rax
	movl	8(%rax), %edi
	callq	_L32_64
	movq	%rax, %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, 8(%rbx)
	movq	8(%r12), %rax
	movl	8(%rax), %edi
	callq	_H32_64
	movq	%rax, %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, (%rbx)
	movq	16(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movq	8(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_DBG
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_DBG
	movq	%r14, %r15
	movq	%r14, %rdi
	callq	_bdx_tx_db_inc_wptr
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.1:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	shlq	$4, %r13
	addq	$40, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movq	(%rax,%r14), %rcx
	movq	8(%r12), %rdx
	movq	%rcx, 16(%rdx)
	movl	(%r12), %edi
	movl	8(%rax,%r14), %edx
	movl	12(%rax,%r14), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_pci_map_page
	movq	8(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	16(%rcx), %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, (%rbx)
	movq	8(%r12), %rax
	movl	8(%rax), %edi
	callq	_L32_64
	movq	%rax, %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, -8(%rbx)
	movq	8(%r12), %rax
	movl	8(%rax), %edi
	callq	_H32_64
	movq	%rax, %rdi
	callq	_CPU_CHIP_SWAP32
	movq	%rax, -16(%rbx)
	movq	%r15, %rdi
	callq	_bdx_tx_db_inc_wptr
	addq	$16, %r14
	addq	$24, %rbx
	cmpq	%r14, %r13
	jne	LBB0_2
LBB0_3:
	movq	_txd_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	xorl	%edx, %edx
	subq	(%rax,%rcx,8), %rdx
	movq	(%r15), %rax
	movq	%rdx, 16(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bdx_tx_db_inc_wptr             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=== pbl   len: 0x%x ================\n"

L_.str.1:                               ## @.str.1
	.asciz	"=== pbl pa_lo: 0x%x ================\n"

L_.str.2:                               ## @.str.2
	.asciz	"=== pbl pa_hi: 0x%x ================\n"

	.comm	_txd_sizes,8,3                  ## @txd_sizes
	.no_dead_strip	_bdx_tx_map_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdx_tx_map_skb
_bdx_tx_map_skb:                        ; @bdx_tx_map_skb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x24, [x2]
	mov	x0, x1
	bl	_skb_shinfo
	mov	x20, x21
	ldr	x8, [x20, #8]!
	ldr	w22, [x0]
	ldp	x10, x9, [x19, #8]
	sub	x2, x9, x10
	str	x2, [x8, #16]
	ldr	w0, [x21]
	ldr	w1, [x19]
Lloh0:
	adrp	x23, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCI_DMA_TODEVICE@GOTPAGEOFF]
	ldr	w3, [x23]
	bl	_pci_map_single
	ldr	x8, [x20]
	str	w0, [x8, #8]
	ldr	x0, [x8, #16]
	bl	_CPU_CHIP_SWAP32
	str	x0, [x24, #16]
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	bl	_L32_64
	bl	_CPU_CHIP_SWAP32
	str	x0, [x24, #8]
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	bl	_H32_64
	bl	_CPU_CHIP_SWAP32
	str	x0, [x24]
	ldr	x1, [x24, #16]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x1, [x24, #8]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG
	ldr	x1, [x24]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBG
	mov	x0, x20
	bl	_bdx_tx_db_inc_wptr
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
	lsl	x26, x22, #4
	add	x24, x24, #40
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x8, x8, x25
	ldr	x3, [x8]
	ldr	x9, [x21, #8]
	str	x3, [x9, #16]
	ldr	w0, [x21]
	ldp	w2, w1, [x8, #8]
	ldr	w4, [x23]
	bl	_pci_map_page
	ldr	x8, [x21, #8]
	str	w0, [x8, #8]
	ldr	x0, [x8, #16]
	bl	_CPU_CHIP_SWAP32
	str	x0, [x24]
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #8]
	bl	_L32_64
	bl	_CPU_CHIP_SWAP32
	stur	x0, [x24, #-8]
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #8]
	bl	_H32_64
	bl	_CPU_CHIP_SWAP32
	stur	x0, [x24, #-16]
	mov	x0, x20
	bl	_bdx_tx_db_inc_wptr
	add	x25, x25, #16
	add	x24, x24, #24
	cmp	x26, x25
	b.ne	LBB0_2
LBB0_3:
Lloh8:
	adrp	x8, _txd_sizes@GOTPAGE
Lloh9:
	ldr	x8, [x8, _txd_sizes@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, sxtw #3]
	neg	x8, x8
	ldr	x9, [x20]
	str	x8, [x9, #16]
	str	x19, [x9]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bdx_tx_db_inc_wptr
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=== pbl   len: 0x%x ================\n"

l_.str.1:                               ; @.str.1
	.asciz	"=== pbl pa_lo: 0x%x ================\n"

l_.str.2:                               ; @.str.2
	.asciz	"=== pbl pa_hi: 0x%x ================\n"

	.comm	_txd_sizes,8,3                  ; @txd_sizes
	.no_dead_strip	_bdx_tx_map_skb
.subsections_via_symbols
