	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfi1_vnic_get_skb
_hfi1_vnic_get_skb:                     ## @hfi1_vnic_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_skb_dequeue
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movslq	8(%rbx), %rsi
	movq	_OPA_VNIC_ICRC_TAIL_LEN@GOTPCREL(%rip), %rcx
	movzbl	-1(%rax,%rsi), %eax
	andl	$7, %eax
	addl	(%rcx), %eax
	subl	%eax, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_trim
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPA_VNIC_ICRC_TAIL_LEN,4,2     ## @OPA_VNIC_ICRC_TAIL_LEN
	.no_dead_strip	_hfi1_vnic_get_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfi1_vnic_get_skb
_hfi1_vnic_get_skb:                     ; @hfi1_vnic_get_skb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_skb_dequeue
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
Lloh0:
	adrp	x10, _OPA_VNIC_ICRC_TAIL_LEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OPA_VNIC_ICRC_TAIL_LEN@GOTPAGEOFF]
	add	x8, x8, x9
Lloh2:
	ldr	w10, [x10]
	ldurb	w8, [x8, #-1]
	and	w8, w8, #0x7
	add	w8, w10, w8
	sub	w1, w9, w8
	mov	x0, x19
	bl	_skb_trim
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPA_VNIC_ICRC_TAIL_LEN,4,2     ; @OPA_VNIC_ICRC_TAIL_LEN
	.no_dead_strip	_hfi1_vnic_get_skb
.subsections_via_symbols
