	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_rq_alloc_buf
_enic_rq_alloc_buf:                     ## @enic_rq_alloc_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
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	callq	_vnic_dev_priv
	movq	%rax, %r12
	movq	(%r13), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%edx, %edx
LBB0_7:
	callq	_enic_queue_rq_desc
	jmp	LBB0_8
LBB0_2:
	movq	8(%r12), %rdi
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addl	(%rdi), %r14d
	movl	%r14d, %esi
	callq	_netdev_alloc_skb_ip_align
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movl	(%r12), %edi
	movl	(%rax), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edx
	callq	_pci_map_single
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_enic_dma_map_check
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_dev_kfree_skb
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%ebx, %ecx
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%r14d, %r8d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_ETH_HLEN,4,2              ## @VLAN_ETH_HLEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_enic_rq_alloc_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_rq_alloc_buf
_enic_rq_alloc_buf:                     ; @enic_rq_alloc_buf
	.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	x19, x0
	ldr	w0, [x0, #8]
	bl	_vnic_dev_priv
	ldr	x8, [x19]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_3
; %bb.1:
	ldp	w4, w3, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_2:
	bl	_enic_queue_rq_desc
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	x22, x0
	ldr	x0, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VLAN_ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w20, w9, w8
	mov	x1, x20
	bl	_netdev_alloc_skb_ip_align
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w0, [x22]
	ldr	w1, [x21]
Lloh3:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x2, x20
	bl	_pci_map_single
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_enic_dma_map_check
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x21
	bl	_dev_kfree_skb
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	x3, x23
	mov	x4, x20
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_ETH_HLEN,4,2              ; @VLAN_ETH_HLEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_enic_rq_alloc_buf
.subsections_via_symbols
