	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_make_new_rx_buf
_jme_make_new_rx_buf:                   ## @jme_make_new_rx_buf
	.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	%esi, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	_RX_EXTRA_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	callq	_netdev_alloc_skb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movl	(%r14), %edi
	callq	_virt_to_page
	movl	%eax, %r13d
	movl	(%r14), %edi
	callq	_offset_in_page
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_skb_tailroom
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_pci_map_page
	movl	%eax, %r12d
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movslq	-48(%rbp), %r15                 ## 4-byte Folded Reload
	shlq	$4, %r15
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	(%r15,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r13,%r15), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%r13,%r15), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_page
LBB0_6:
	movq	%r14, 8(%r13,%r15)
	movq	%r14, %rdi
	callq	_skb_tailroom
	movl	%eax, 4(%r13,%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_EXTRA_LEN,8,3               ## @RX_EXTRA_LEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_jme_make_new_rx_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_make_new_rx_buf
_jme_make_new_rx_buf:                   ; @jme_make_new_rx_buf
	.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	x21, x1
	mov	x20, x0
	ldp	x0, x8, [x0, #8]
	ldr	x25, [x8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RX_EXTRA_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_EXTRA_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_netdev_alloc_skb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w22, [x20]
	ldr	w0, [x19]
	bl	_virt_to_page
	mov	x23, x0
	ldr	w0, [x19]
	bl	_offset_in_page
	mov	x24, x0
	mov	x0, x19
	bl	_skb_tailroom
	mov	x3, x0
Lloh3:
	adrp	x26, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w4, [x26]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_pci_map_page
	mov	x22, x0
	ldr	w0, [x20]
	mov	x1, x22
	bl	_pci_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	sxtw	x8, w21
	add	x21, x25, x8, lsl #4
	ldr	w0, [x21]
	bl	_likely
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x20]
	ldp	w1, w2, [x21]
	ldr	w3, [x26]
	bl	_pci_unmap_page
LBB0_7:
	str	x19, [x21, #8]
	mov	x0, x19
	bl	_skb_tailroom
	mov	x8, x0
	mov	w0, #0
	stp	w22, w8, [x21]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_EXTRA_LEN,8,3               ; @RX_EXTRA_LEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_jme_make_new_rx_buf
.subsections_via_symbols
