	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_get_linear_rq_headroom   ## -- Begin function mlx5e_get_linear_rq_headroom
	.p2align	4, 0x90
_mlx5e_get_linear_rq_headroom:          ## @mlx5e_get_linear_rq_headroom
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_mlx5e_rx_is_xdp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_XDP_PACKET_HEADROOM@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_MLX5_RX_HEADROOM@GOTPCREL(%rip), %r14
LBB0_3:
	addl	(%r14), %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_XDP_PACKET_HEADROOM,8,3        ## @XDP_PACKET_HEADROOM
	.comm	_MLX5_RX_HEADROOM,8,3           ## @MLX5_RX_HEADROOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_get_linear_rq_headroom   ; -- Begin function mlx5e_get_linear_rq_headroom
	.p2align	2
_mlx5e_get_linear_rq_headroom:          ; @mlx5e_get_linear_rq_headroom
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _NET_IP_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_mlx5e_rx_is_xdp
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _XDP_PACKET_HEADROOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XDP_PACKET_HEADROOM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w19, w19, w8
	cbnz	x20, LBB0_3
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x20, _MLX5_RX_HEADROOM@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MLX5_RX_HEADROOM@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x20]
	add	w19, w19, w8
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_XDP_PACKET_HEADROOM,8,3        ; @XDP_PACKET_HEADROOM
	.comm	_MLX5_RX_HEADROOM,8,3           ; @MLX5_RX_HEADROOM
.subsections_via_symbols
