	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movq	16(%r14), %rax
	movq	(%rax), %r12
	movq	_RX_EXTRA_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	callq	_netdev_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movslq	%r15d, %r13
	shlq	$4, %r13
	movq	%rbx, 8(%r12,%r13)
	movq	%rbx, %rdi
	callq	_skb_tailroom
	movl	%eax, (%r12,%r13)
	movl	(%r14), %r14d
	movl	(%rbx), %edi
	callq	_virt_to_page
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_offset_in_page
	movl	(%r12,%r13), %ecx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_pci_map_page
	movl	%eax, 4(%r12,%r13)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldp	x0, x8, [x0, #8]
	ldr	x22, [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	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	add	x22, x22, w21, sxtw #4
	str	x20, [x22, #8]
	mov	x0, x20
	bl	_skb_tailroom
	str	w0, [x22]
	ldr	w19, [x19]
	ldr	w0, [x20]
	bl	_virt_to_page
	mov	x21, x0
	ldr	w0, [x20]
	bl	_offset_in_page
	mov	x2, x0
	ldr	w3, [x22]
Lloh6:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_pci_map_page
	mov	x8, x0
	mov	w0, #0
	str	w8, [x22, #4]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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
