	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ext_hw_queue_schedule_job
_ext_hw_queue_schedule_job:             ## @ext_hw_queue_schedule_job
	.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	%rdi, %rdx
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	16(%rbx), %r15
	movq	(%rdi), %rax
	leaq	(%rax,%rax,2), %r12
	leaq	(%r15,%r12,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r15,%r12,8), %edi
	movq	_BD_CTL_SHADOW_INDEX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %esi
	shll	%cl, %esi
	movq	_BD_CTL_SHADOW_INDEX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rdx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rcx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_CQ_ENTRY_SHADOW_INDEX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_CQ_ENTRY_SHADOW_INDEX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	movq	_CQ_ENTRY_READY_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	8(%rbx), %r13
	movq	8(%r15,%r12,8), %rbx
	shlq	$4, %rbx
	movslq	(%r13,%rbx), %r14
	shlq	$2, %r14
	addq	8(%r13,%rbx), %r14
	movq	(%rcx), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_le32_to_cpu
	movq	8(%r15,%r12,8), %r9
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movq	16(%r15,%r12,8), %r14
	movl	(%r15,%r12,8), %edi
	callq	_hl_pi_2_offset
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r14,%rax,8)
	movl	(%r13,%rbx), %edi
	callq	_hl_cq_inc_ptr
	movl	%eax, (%r13,%rbx)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ext_queue_submit_bd            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BD_CTL_SHADOW_INDEX_SHIFT,4,2  ## @BD_CTL_SHADOW_INDEX_SHIFT
	.comm	_BD_CTL_SHADOW_INDEX_MASK,4,2   ## @BD_CTL_SHADOW_INDEX_MASK
	.comm	_CQ_ENTRY_SHADOW_INDEX_SHIFT,4,2 ## @CQ_ENTRY_SHADOW_INDEX_SHIFT
	.comm	_CQ_ENTRY_SHADOW_INDEX_MASK,4,2 ## @CQ_ENTRY_SHADOW_INDEX_MASK
	.comm	_CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT,4,2 ## @CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT
	.comm	_CQ_ENTRY_READY_SHIFT,4,2       ## @CQ_ENTRY_READY_SHIFT
	.no_dead_strip	_ext_hw_queue_schedule_job
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ext_hw_queue_schedule_job
_ext_hw_queue_schedule_job:             ; @ext_hw_queue_schedule_job
	.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	x19, x0
	ldp	x26, x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	x8, [x20, #16]
	ldr	x9, [x0]
	mov	w10, #24
	madd	x21, x9, x10, x8
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _BD_CTL_SHADOW_INDEX_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BD_CTL_SHADOW_INDEX_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _BD_CTL_SHADOW_INDEX_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BD_CTL_SHADOW_INDEX_MASK@GOTPAGEOFF]
	lsl	w9, w8, w9
Lloh5:
	ldr	w10, [x10]
	and	w23, w9, w10
	ldr	w22, [x0, #8]
Lloh6:
	adrp	x9, _CQ_ENTRY_SHADOW_INDEX_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CQ_ENTRY_SHADOW_INDEX_SHIFT@GOTPAGEOFF]
	ldr	x24, [x26, #8]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh9:
	adrp	x9, _CQ_ENTRY_SHADOW_INDEX_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CQ_ENTRY_SHADOW_INDEX_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh12:
	adrp	x9, _CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _CQ_ENTRY_READY_SHIFT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CQ_ENTRY_READY_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w0, w8, w9
	bl	_cpu_to_le32
	ldr	x8, [x21, #8]
	ldp	x10, x9, [x20]
	add	x27, x9, x8, lsl #4
	ldr	x8, [x27, #8]
	ldrsw	x9, [x27]
	add	x25, x8, x9, lsl #2
	ldr	x28, [x10]
	ldr	w26, [x26]
	bl	_le32_to_cpu
	mov	x4, x0
	ldr	x5, [x21, #8]
	mov	x0, x20
	mov	x1, x26
	mov	x2, x22
	mov	x3, x25
	blr	x28
	ldr	x25, [x21, #16]
	ldr	w0, [x21]
	bl	_hl_pi_2_offset
	str	x19, [x25, x0, lsl #3]
	ldr	w0, [x27]
	bl	_hl_cq_inc_ptr
	str	w0, [x27]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	mov	x4, x24
	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
	b	_ext_queue_submit_bd
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BD_CTL_SHADOW_INDEX_SHIFT,4,2  ; @BD_CTL_SHADOW_INDEX_SHIFT
	.comm	_BD_CTL_SHADOW_INDEX_MASK,4,2   ; @BD_CTL_SHADOW_INDEX_MASK
	.comm	_CQ_ENTRY_SHADOW_INDEX_SHIFT,4,2 ; @CQ_ENTRY_SHADOW_INDEX_SHIFT
	.comm	_CQ_ENTRY_SHADOW_INDEX_MASK,4,2 ; @CQ_ENTRY_SHADOW_INDEX_MASK
	.comm	_CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT,4,2 ; @CQ_ENTRY_SHADOW_INDEX_VALID_SHIFT
	.comm	_CQ_ENTRY_READY_SHIFT,4,2       ; @CQ_ENTRY_READY_SHIFT
	.no_dead_strip	_ext_hw_queue_schedule_job
.subsections_via_symbols
