	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_rx_map_skb
_sky2_rx_map_skb:                       ## @sky2_rx_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
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rsi), %rbx
	movl	(%rbx), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movl	%eax, 8(%r13)
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	_data_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_pci_unmap_len_set
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movl	8(%rax,%r14), %r13d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movl	4(%rax,%r14), %r12d
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rax
	movl	(%rax,%r14), %ecx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_pci_map_page
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	addq	$12, %r14
	cmpq	%rax, %r15
	jl	LBB0_4
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_data_size,4,2                  ## @data_size
	.no_dead_strip	_sky2_rx_map_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_rx_map_skb
_sky2_rx_map_skb:                       ; @sky2_rx_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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #16]
	ldr	w1, [x21]
Lloh0:
	adrp	x24, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w3, [x24]
	bl	_pci_map_single
	mov	x1, x0
	str	w0, [x19, #8]
	mov	x0, x20
	bl	_pci_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
Lloh5:
	adrp	x8, _data_size@GOTPAGE
Lloh6:
	ldr	x8, [x8, _data_size@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_pci_unmap_len_set
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x25, #0
	mov	x26, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x8, x8, x25
	ldr	w22, [x8, #8]
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x8, x8, x25
	ldr	w23, [x8, #4]
	mov	x0, x21
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	ldr	w3, [x8, x25]
	ldr	w4, [x24]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_pci_map_page
	ldr	x8, [x19]
	str	w0, [x8, x26, lsl #2]
	add	x26, x26, #1
	mov	x0, x21
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	add	x25, x25, #12
	cmp	x26, x8
	b.lt	LBB0_4
LBB0_5:
	mov	w0, #0
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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_data_size,4,2                  ; @data_size
	.no_dead_strip	_sky2_rx_map_skb
.subsections_via_symbols
