	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_xdp_xmit                  ## -- Begin function bnxt_xdp_xmit
	.p2align	4, 0x90
_bnxt_xdp_xmit:                         ## @bnxt_xdp_xmit
	.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
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movl	%esi, %r12d
	callq	_netdev_priv
	movq	%rax, %r13
	movl	40(%rax), %edi
	callq	_READ_ONCE
	movq	%rax, %r14
	movq	32(%r13), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_BNXT_STATE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r13), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%r13)
	je	LBB0_3
## %bb.2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_smp_processor_id
	cltd
	idivl	(%r13)
	movq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%edx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%ebx
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	cmpq	%r12, -112(%rbp)                ## 8-byte Folded Reload
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r12,8), %r14
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_bnxt_tx_avail
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	_BNXT_NAPI_FLAG_XDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_dma_map_single
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movq	%rdi, %r13
	movq	%r14, %r8
	callq	___bnxt_xmit_xdp_redirect
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_14:
	movq	_XDP_XMIT_FLUSH@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_wmb
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rsi
	addq	$4, %rsi
	movl	(%rax,%rcx,8), %edx
	movq	%r13, %rdi
	callq	_bnxt_db_write
LBB0_16:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%ebx, %eax
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_STATE_OPEN,4,2            ## @BNXT_STATE_OPEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNXT_NAPI_FLAG_XDP,4,2         ## @BNXT_NAPI_FLAG_XDP
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_XDP_XMIT_FLUSH,4,2             ## @XDP_XMIT_FLUSH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_xdp_xmit                  ; -- Begin function bnxt_xdp_xmit
	.p2align	2
_bnxt_xdp_xmit:                         ; @bnxt_xdp_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0, #40]
	bl	_READ_ONCE
	mov	x24, x0
	ldr	x23, [x20, #32]
Lloh0:
	adrp	x8, _BNXT_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #24
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #0
	ccmp	x24, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_3:
	str	w21, [sp, #8]                   ; 4-byte Folded Spill
	bl	_smp_processor_id
	ldr	w8, [x20]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	ldr	x28, [x20, #16]
	sxtw	x21, w8
	add	x24, x28, w8, sxtw #3
	cmp	w19, #1
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	w27, #0
	b.lt	LBB0_12
; %bb.4:
	mov	w19, w19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x22]
	cbz	x28, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_bnxt_tx_avail
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BNXT_NAPI_FLAG_XDP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNXT_NAPI_FLAG_XDP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w2, w1, [x25]
Lloh9:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x23
	bl	_dma_map_single
	mov	x26, x0
	mov	x0, x23
	mov	x1, x26
	bl	_dma_mapping_error
	cbz	x0, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_xdp_return_frame_rx_napi
	add	w27, w27, #1
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #8
	subs	x19, x19, #1
	b.ne	LBB0_5
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x25]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x26
	mov	x4, x25
	bl	___bnxt_xmit_xdp_redirect
	b	LBB0_10
LBB0_12:
Lloh12:
	adrp	x8, _XDP_XMIT_FLUSH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XDP_XMIT_FLUSH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_14
; %bb.13:
	bl	_wmb
	add	x8, x28, x21, lsl #3
	add	x1, x8, #4
	ldr	w2, [x24]
	mov	x0, x20
	bl	_bnxt_db_write
LBB0_14:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	sub	w0, w8, w27
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_STATE_OPEN,4,2            ; @BNXT_STATE_OPEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNXT_NAPI_FLAG_XDP,4,2         ; @BNXT_NAPI_FLAG_XDP
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_XDP_XMIT_FLUSH,4,2             ; @XDP_XMIT_FLUSH
.subsections_via_symbols
