	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_xmit_xdp_buff
_mlx5e_xmit_xdp_buff:                   ## @mlx5e_xmit_xdp_buff
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rcx, %rdi
	callq	_convert_to_xdp_frame
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r14
	movq	%r14, -72(%rbp)
	movl	8(%rbx), %edx
	movl	%edx, -56(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	_MEM_TYPE_ZERO_COPY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	_MLX5E_RQ_FLAG_XDP_XMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	movl	%edx, %r15d
	callq	___set_bit
	movq	_MLX5E_XDP_XMIT_MODE_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_dma_map_single
	movq	%rax, %r14
	movl	8(%r12), %edi
	movq	%rax, %rsi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_xdp_return_frame
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	movq	_MLX5E_XDP_XMIT_MODE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movslq	(%r15), %rax
	subq	%rbx, %r14
	addq	%rax, %r14
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %edi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	callq	_dma_sync_single_for_device
	movq	%r14, -64(%rbp)
	movq	%r13, -104(%rbp)
	movl	(%r15), %eax
	movl	%eax, -112(%rbp)
	jmp	LBB0_6
LBB0_4:
	movq	%r14, -64(%rbp)
	movq	%rbx, -80(%rbp)
	movq	%r14, -88(%rbp)
LBB0_6:
	leaq	-72(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	callq	*(%r12)
	movl	%eax, %ecx
LBB0_7:
	movl	%ecx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_TYPE_ZERO_COPY,8,3         ## @MEM_TYPE_ZERO_COPY
	.comm	_MLX5E_RQ_FLAG_XDP_XMIT,4,2     ## @MLX5E_RQ_FLAG_XDP_XMIT
	.comm	_MLX5E_XDP_XMIT_MODE_FRAME,4,2  ## @MLX5E_XDP_XMIT_MODE_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_MLX5E_XDP_XMIT_MODE_PAGE,4,2   ## @MLX5E_XDP_XMIT_MODE_PAGE
	.no_dead_strip	_mlx5e_xmit_xdp_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_xmit_xdp_buff
_mlx5e_xmit_xdp_buff:                   ; @mlx5e_xmit_xdp_buff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	bl	_convert_to_xdp_frame
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	ldr	x24, [x20]
	str	x24, [sp, #40]
	ldr	w23, [x20, #8]
	str	w23, [sp, #56]
	ldr	x8, [x25]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MEM_TYPE_ZERO_COPY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEM_TYPE_ZERO_COPY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _MLX5E_RQ_FLAG_XDP_XMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5E_RQ_FLAG_XDP_XMIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	___set_bit
Lloh6:
	adrp	x8, _MLX5E_XDP_XMIT_MODE_FRAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5E_XDP_XMIT_MODE_FRAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x1, x24
	mov	x2, x23
	bl	_dma_map_single
	mov	x21, x0
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_dma_mapping_error
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_xdp_return_frame
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x8, _MLX5E_XDP_XMIT_MODE_PAGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5E_XDP_XMIT_MODE_PAGE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldrsw	x8, [x22]
	sub	x9, x24, x20
	add	x20, x9, x8
	ldr	w0, [x19, #8]
Lloh15:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x23
	bl	_dma_sync_single_for_device
	str	x20, [sp, #48]
	str	x21, [sp, #8]
	ldr	w8, [x22]
	str	w8, [sp]
	b	LBB0_7
LBB0_6:
	str	x21, [sp, #48]
	stp	x21, x20, [sp, #24]
LBB0_7:
	ldr	x8, [x19]
	add	x1, sp, #40
	mov	x2, sp
	mov	x0, x19
	mov	w3, #0
	blr	x8
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_TYPE_ZERO_COPY,8,3         ; @MEM_TYPE_ZERO_COPY
	.comm	_MLX5E_RQ_FLAG_XDP_XMIT,4,2     ; @MLX5E_RQ_FLAG_XDP_XMIT
	.comm	_MLX5E_XDP_XMIT_MODE_FRAME,4,2  ; @MLX5E_XDP_XMIT_MODE_FRAME
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_MLX5E_XDP_XMIT_MODE_PAGE,4,2   ; @MLX5E_XDP_XMIT_MODE_PAGE
	.no_dead_strip	_mlx5e_xmit_xdp_buff
.subsections_via_symbols
