	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_dma_rx_ring_skb_map
_rocker_dma_rx_ring_skb_map:            ## @rocker_dma_rx_ring_skb_map
	.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	%rcx, %r15
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rdx), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_pci_map_single
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movq	_ROCKER_TLV_RX_FRAG_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_rocker_tlv_put_u64
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_ROCKER_TLV_RX_FRAG_MAX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_pci_unmap_single
	movq	$0, (%r14)
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ROCKER_TLV_RX_FRAG_ADDR,4,2    ## @ROCKER_TLV_RX_FRAG_ADDR
	.comm	_ROCKER_TLV_RX_FRAG_MAX_LEN,4,2 ## @ROCKER_TLV_RX_FRAG_MAX_LEN
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_rocker_dma_rx_ring_skb_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_dma_rx_ring_skb_map
_rocker_dma_rx_ring_skb_map:            ; @rocker_dma_rx_ring_skb_map
	.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	x20, x3
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x21, [x8]
	ldr	w1, [x2]
Lloh0:
	adrp	x23, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x21
	mov	x2, x20
	bl	_pci_map_single
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh4:
	adrp	x8, _ROCKER_TLV_RX_FRAG_ADDR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ROCKER_TLV_RX_FRAG_ADDR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_rocker_tlv_put_u64
	cbnz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _ROCKER_TLV_RX_FRAG_MAX_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ROCKER_TLV_RX_FRAG_MAX_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rocker_tlv_put_u16
	cbz	x0, LBB0_6
LBB0_4:
	ldr	w3, [x23]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_pci_unmap_single
	str	xzr, [x19]
Lloh10:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ROCKER_TLV_RX_FRAG_ADDR,4,2    ; @ROCKER_TLV_RX_FRAG_ADDR
	.comm	_ROCKER_TLV_RX_FRAG_MAX_LEN,4,2 ; @ROCKER_TLV_RX_FRAG_MAX_LEN
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_rocker_dma_rx_ring_skb_map
.subsections_via_symbols
