	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_dma_unmap_tx             ## -- Begin function ipoib_dma_unmap_tx
	.p2align	4, 0x90
_ipoib_dma_unmap_tx:                    ## @ipoib_dma_unmap_tx
	.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	%rdi, %r15
	movq	(%rsi), %rbx
	movq	8(%rsi), %r13
	movq	%r13, %rdi
	callq	_skb_headlen
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%r15, %r14
	movl	(%r15), %r15d
	movl	(%rbx), %r12d
	movq	%r13, %rdi
	callq	_skb_headlen
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_ib_dma_unmap_single
	movl	$1, %r15d
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %r14
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r13, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.4:
	movq	%r14, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	movl	(%rbx), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %r15d
	callq	_skb_frag_size
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r13d, %edi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_ib_dma_unmap_page
	incq	%r12
	movq	%r13, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	addq	$4, %r14
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_dma_unmap_tx             ; -- Begin function ipoib_dma_unmap_tx
	.p2align	2
_ipoib_dma_unmap_tx:                    ; @ipoib_dma_unmap_tx
	.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, x0
	ldp	x26, x20, [x1]
	mov	x0, x20
	bl	_skb_headlen
Lloh0:
	adrp	x23, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_TO_DEVICE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w21, [x19]
	ldr	w22, [x26]
	mov	x0, x20
	bl	_skb_headlen
	mov	x2, x0
	ldr	w3, [x23]
	mov	x0, x21
	mov	x1, x22
	bl	_ib_dma_unmap_single
	mov	w21, #1
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x24, #0
	mov	x25, #0
	add	x26, x26, x21, lsl #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x0, x8, x24
	ldr	w21, [x19]
	ldr	w22, [x26, x24]
	bl	_skb_frag_size
	mov	x2, x0
	ldr	w3, [x23]
	mov	x0, x21
	mov	x1, x22
	bl	_ib_dma_unmap_page
	add	x25, x25, #1
	mov	x0, x20
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_5
LBB0_6:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
.subsections_via_symbols
