	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdq_set_lcmd_wqe
_cmdq_set_lcmd_wqe:                     ## @cmdq_set_lcmd_wqe
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	32(%rbp), %r12d
	movl	24(%rbp), %r8d
	movl	16(%rbp), %r11d
	cmpl	$128, %esi
	jne	LBB0_2
## %bb.1:
	movq	_COMPLETE_SGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movl	%r8d, %r15d
	movl	%r11d, -44(%rbp)                ## 4-byte Spill
	callq	_cmdq_set_sge_completion
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movl	%r15d, %r8d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_2:
	movq	_COMPLETE_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$0, (%rbx)
LBB0_3:
	movq	_DATA_SGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_BUFDESC_LCMD_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r11d, %ecx
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	%r15
	callq	_cmdq_prepare_wqe_ctrl
	addq	$32, %rsp
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmdq_set_lcmd_bufdesc          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMPLETE_SGE,4,2               ## @COMPLETE_SGE
	.comm	_COMPLETE_DIRECT,4,2            ## @COMPLETE_DIRECT
	.comm	_DATA_SGE,4,2                   ## @DATA_SGE
	.comm	_BUFDESC_LCMD_LEN,4,2           ## @BUFDESC_LCMD_LEN
	.no_dead_strip	_cmdq_set_lcmd_wqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdq_set_lcmd_wqe
_cmdq_set_lcmd_wqe:                     ; @cmdq_set_lcmd_wqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x19, x2
	mov	x21, x0
	ldr	w25, [x29, #16]
	cmp	w1, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _COMPLETE_SGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMPLETE_SGE@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	mov	x0, x21
	mov	x1, x3
	bl	_cmdq_set_sge_completion
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _COMPLETE_DIRECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMPLETE_DIRECT@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	str	wzr, [x21]
LBB0_3:
Lloh6:
	adrp	x8, _DATA_SGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DATA_SGE@GOTPAGEOFF]
Lloh8:
	ldr	w7, [x8]
Lloh9:
	adrp	x8, _BUFDESC_LCMD_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUFDESC_LCMD_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x25
	mov	x6, x26
	bl	_cmdq_prepare_wqe_ctrl
	mov	x0, x21
	mov	x1, x19
	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
	add	sp, sp, #96
	b	_cmdq_set_lcmd_bufdesc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COMPLETE_SGE,4,2               ; @COMPLETE_SGE
	.comm	_COMPLETE_DIRECT,4,2            ; @COMPLETE_DIRECT
	.comm	_DATA_SGE,4,2                   ; @DATA_SGE
	.comm	_BUFDESC_LCMD_LEN,4,2           ; @BUFDESC_LCMD_LEN
	.no_dead_strip	_cmdq_set_lcmd_wqe
.subsections_via_symbols
