	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_enqueue_tx
_fm10k_mbx_enqueue_tx:                  ## @fm10k_mbx_enqueue_tx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	_FM10K_MBX_ERR_NO_MBX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_2:
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	24(%rsi), %rbx
	leaq	32(%rsi), %r12
	movq	%r12, %rdi
	movq	%rdx, %rsi
	callq	_fm10k_fifo_enqueue
	testq	%rax, %rax
	setne	%al
	je	LBB0_7
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:
	decq	%rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	36(%r13), %edi
	callq	_udelay
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*8(%r13)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_fm10k_fifo_enqueue
	addq	$-1, %rbx
	setb	%cl
	testq	%rax, %rax
	setne	%al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%cl, %cl
	jne	LBB0_5
LBB0_7:
	testb	%al, %al
	je	LBB0_9
## %bb.8:
	movq	$0, 24(%r13)
	incl	20(%r13)
LBB0_9:
	cmpl	$0, 16(%r13)
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*8(%r13)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_MBX_ERR_NO_MBX,8,3       ## @FM10K_MBX_ERR_NO_MBX
	.no_dead_strip	_fm10k_mbx_enqueue_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_mbx_enqueue_tx
_fm10k_mbx_enqueue_tx:                  ; @fm10k_mbx_enqueue_tx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x1]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FM10K_MBX_ERR_NO_MBX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_MBX_ERR_NO_MBX@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_12
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1, #24]
	add	x22, x1, #32
	mov	x0, x22
	mov	x1, x2
	bl	_fm10k_fifo_enqueue
	cmp	x0, #0
	cset	w8, ne
	cbz	x0, LBB0_7
; %bb.3:
	cbz	x23, LBB0_7
; %bb.4:
	sub	x23, x23, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #36]
	bl	_udelay
	ldr	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
	mov	x0, x22
	mov	x1, x21
	bl	_fm10k_fifo_enqueue
	cmp	x0, #0
	cset	w8, ne
	subs	x23, x23, #1
	cset	w9, hs
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w9, #0, LBB0_5
LBB0_7:
	cbz	w8, LBB0_9
; %bb.8:
	str	xzr, [x19, #24]
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
LBB0_9:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_11:
	mov	x0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_MBX_ERR_NO_MBX,8,3       ; @FM10K_MBX_ERR_NO_MBX
	.no_dead_strip	_fm10k_mbx_enqueue_tx
.subsections_via_symbols
