	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_tunnel_data
_use_tunnel_data:                       ## @use_tunnel_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%rdx, %r14
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	movq	(%r12), %rax
	movl	%ecx, %ebx
	shlq	$4, %rbx
	movl	8(%rax,%rbx), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$24, %edx
	callq	_ib_dma_sync_single_for_cpu
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rbx
	movl	20(%rbx), %edi
	callq	_be16_to_cpu
	movl	%eax, (%r14)
	movl	16(%rbx), %edi
	callq	_be32_to_cpu
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movl	%eax, 4(%r14)
	movsbl	(%rbx), %eax
	sarl	$7, %eax
	movq	_IB_WC_GRH@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	orl	%eax, 8(%r14)
	movq	$0, 40(%r14)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movl	$0, 12(%r14)
	movl	4(%rbx), %edi
	callq	_be16_to_cpu
	movl	%eax, 16(%r14)
	movq	32(%r14), %rdi
	leaq	12(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	32(%r14), %rdi
	addq	$16, %rdi
	addq	$8, %rbx
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	_IB_WC_WITH_VLAN@GOTPCREL(%rip), %rax
	movq	_IB_WC_WITH_SMAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 8(%r14)
	jmp	LBB0_3
LBB0_2:
	movl	8(%rbx), %edi
	callq	_be16_to_cpu
	movl	%eax, 12(%r14)
	movl	4(%rbx), %edi
	callq	_be16_to_cpu
	sarl	$12, %eax
	cltq
	movq	%rax, 24(%r14)
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_IB_WC_GRH,4,2                  ## @IB_WC_GRH
	.comm	_IB_WC_WITH_VLAN,4,2            ## @IB_WC_WITH_VLAN
	.comm	_IB_WC_WITH_SMAC,4,2            ## @IB_WC_WITH_SMAC
	.no_dead_strip	_use_tunnel_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_tunnel_data
_use_tunnel_data:                       ; @use_tunnel_data
	.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	x20, x5
	mov	x19, x2
	mov	x21, x0
	ldr	w0, [x0, #8]
	ldr	x8, [x21]
	mov	w9, w3
	lsl	x22, x9, #4
	add	x8, x8, x22
	ldr	w1, [x8, #8]
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #24
	bl	_ib_dma_sync_single_for_cpu
	ldr	x8, [x21]
	ldr	x21, [x8, x22]
	ldr	w0, [x21, #20]
	bl	_be16_to_cpu
	str	w0, [x19]
	ldr	w0, [x21, #16]
	bl	_be32_to_cpu
	and	w8, w0, #0xffffff
	ldr	w9, [x21]
	lsl	w9, w9, #24
Lloh3:
	adrp	x10, _IB_WC_GRH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_WC_GRH@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	ldr	w10, [x19, #8]
	orr	w9, w9, w10
	stp	w8, w9, [x19, #4]
	str	xzr, [x19, #40]
	cbz	w20, LBB0_2
; %bb.1:
	str	wzr, [x19, #12]
	ldr	w0, [x21, #4]
	bl	_be16_to_cpu
	str	w0, [x19, #16]
	ldr	x0, [x19, #32]
	add	x1, x21, #12
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #32]
	add	x0, x8, #16
	add	x1, x21, #8
	mov	w2, #2
	bl	_memcpy
Lloh6:
	adrp	x8, _IB_WC_WITH_VLAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_WC_WITH_VLAN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _IB_WC_WITH_SMAC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_WC_WITH_SMAC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w8, w8, w9
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21, #8]
	bl	_be16_to_cpu
	str	w0, [x19, #12]
	ldr	w0, [x21, #4]
	bl	_be16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	sbfx	x8, x0, #12, #20
	str	x8, [x19, #24]
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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_IB_WC_GRH,4,2                  ; @IB_WC_GRH
	.comm	_IB_WC_WITH_VLAN,4,2            ; @IB_WC_WITH_VLAN
	.comm	_IB_WC_WITH_SMAC,4,2            ; @IB_WC_WITH_SMAC
	.no_dead_strip	_use_tunnel_data
.subsections_via_symbols
