	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_rxq_create              ## -- Begin function be_cmd_rxq_create
	.p2align	4, 0x90
_be_cmd_rxq_create:                     ## @be_cmd_rxq_create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock_bh
	movq	%r14, %rdi
	callq	_wrb_from_mccq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_embedded_payload
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r12
	leaq	56(%rax), %rdi
	movq	_CMD_SUBSYSTEM_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_ETH_RX_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %ecx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r12)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_fls
	decq	%rax
	movq	%rax, 40(%r12)
	movl	$2, (%r12)
	movl	32(%r12), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_be_cmd_page_addrs_prepare
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 24(%r12)
	movq	_BE_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r12)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 8(%r12)
	movq	%r14, %rdi
	callq	_be_mcc_notify_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	16(%rbp), %r12
	movq	%r15, %rdi
	callq	_embedded_payload
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_le16_to_cpu
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movl	$1, (%rcx)
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_CMD_SUBSYSTEM_ETH,4,2          ## @CMD_SUBSYSTEM_ETH
	.comm	_OPCODE_ETH_RX_CREATE,4,2       ## @OPCODE_ETH_RX_CREATE
	.comm	_BE_MAX_JUMBO_FRAME_SIZE,4,2    ## @BE_MAX_JUMBO_FRAME_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_rxq_create              ; -- Begin function be_cmd_rxq_create
	.p2align	2
_be_cmd_rxq_create:                     ; @be_cmd_rxq_create
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x6
	mov	x23, x5
	mov	x24, x4
	mov	x26, x3
	mov	x27, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_wrb_from_mccq
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	add	x28, x21, #8
	bl	_embedded_payload
	mov	x25, x0
	add	x0, x0, #56
Lloh0:
	adrp	x8, _CMD_SUBSYSTEM_ETH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SUBSYSTEM_ETH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPCODE_ETH_RX_CREATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPCODE_ETH_RX_CREATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #64
	mov	x4, x22
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	mov	x0, x27
	bl	_cpu_to_le16
	str	x0, [x25, #48]
	mov	x0, x26
	bl	_fls
	sub	x8, x0, #1
	str	x8, [x25, #40]
	mov	w8, #2
	str	w8, [x25]
	ldr	w26, [x25, #32]
	mov	x0, x26
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x26
	mov	x2, x28
	bl	_be_cmd_page_addrs_prepare
	mov	x0, x24
	bl	_cpu_to_le32
	str	x0, [x25, #24]
Lloh6:
	adrp	x8, _BE_MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BE_MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x25, #16]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x25, #8]
	mov	x0, x19
	bl	_be_mcc_notify_wait
	mov	x23, x0
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_embedded_payload
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_le16_to_cpu
	mov	w8, #1
	stp	w8, w0, [x21]
	ldr	w8, [x22]
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_CMD_SUBSYSTEM_ETH,4,2          ; @CMD_SUBSYSTEM_ETH
	.comm	_OPCODE_ETH_RX_CREATE,4,2       ; @OPCODE_ETH_RX_CREATE
	.comm	_BE_MAX_JUMBO_FRAME_SIZE,4,2    ; @BE_MAX_JUMBO_FRAME_SIZE
.subsections_via_symbols
