	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_init_request            ## -- Begin function qed_sp_init_request
	.p2align	4, 0x90
_qed_sp_init_request:                   ## @qed_sp_init_request
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%r8, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r8), %r12d
	shll	$16, %r12d
	orl	4(%r8), %r12d
	callq	_qed_spq_get_entry
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movq	%r13, %r15
	movq	(%rbx), %r13
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movl	%eax, 56(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r13)
	movq	_QED_SPQ_PRIORITY_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movl	8(%r14), %edx
	movl	%edx, (%r13)
	movq	$0, 24(%r13)
	cmpl	$130, %edx
	je	LBB0_7
## %bb.4:
	cmpl	$129, %edx
	je	LBB0_9
## %bb.5:
	cmpl	$128, %edx
	jne	LBB0_13
## %bb.6:
	leaq	24(%r13), %rax
	movq	%rax, 16(%r13)
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_16
LBB0_7:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	8(%rax), %rax
	movq	%rax, 16(%r13)
	jmp	LBB0_12
LBB0_9:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movups	(%rax), %xmm0
	movups	%xmm0, 8(%r13)
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DP_NOTICE
LBB0_14:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_qed_sp_destroy_request
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	$0, 8(%r13)
LBB0_12:
	movq	_QED_MSG_SPQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addq	$4, %r13
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %r9
	movl	%edx, %edi
	movl	$128, %esi
	movl	$130, %edx
	callq	_D_TRINE
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	%r13
	callq	_DP_VERBOSE
	addq	$16, %rsp
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_16:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_QED_SPQ_PRIORITY_NORMAL,4,2    ## @QED_SPQ_PRIORITY_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown SPQE completion mode %d\n"

	.comm	_QED_MSG_SPQ,4,2                ## @QED_MSG_SPQ
L_.str.1:                               ## @.str.1
	.asciz	"Initialized: CID %08x cmd %02x protocol %02x data_addr %lu comp_mode [%s]\n"

L_.str.2:                               ## @.str.2
	.asciz	"MODE_EBLOCK"

L_.str.3:                               ## @.str.3
	.asciz	"MODE_BLOCK"

L_.str.4:                               ## @.str.4
	.asciz	"MODE_CB"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_init_request            ; -- Begin function qed_sp_init_request
	.p2align	2
_qed_sp_init_request:                   ; @qed_sp_init_request
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x24, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldp	w22, w25, [x4]
	bl	_qed_spq_get_entry
	cbnz	w0, LBB0_16
; %bb.2:
	orr	w22, w25, w22, lsl #16
	ldr	x23, [x23]
	mov	x0, x22
	bl	_cpu_to_le32
	str	w0, [x23, #56]
	stp	x20, x21, [x23, #40]
Lloh0:
	adrp	x8, _QED_SPQ_PRIORITY_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_SPQ_PRIORITY_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #32]
	ldr	w2, [x24, #8]
	str	w2, [x23]
	mov	x8, x23
	str	xzr, [x8, #24]!
	cmp	w2, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w2, #129
	b.eq	LBB0_10
; %bb.4:
	cmp	w2, #128
	b.ne	LBB0_12
; %bb.5:
	str	x8, [x23, #16]
	b	LBB0_15
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_8:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_13
; %bb.9:
	ldr	x8, [x8, #8]
	str	x8, [x23, #16]
	b	LBB0_15
LBB0_10:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	q0, [x8]
	stur	q0, [x23, #8]
	b	LBB0_15
LBB0_12:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
LBB0_13:
	mov	x0, x19
	mov	x1, x23
	bl	_qed_sp_destroy_request
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_14:
	str	xzr, [x23, #8]
LBB0_15:
Lloh9:
	adrp	x8, _QED_MSG_SPQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QED_MSG_SPQ@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
	add	x23, x23, #4
Lloh12:
	adrp	x3, l_.str.2@PAGE
Lloh13:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh14:
	adrp	x4, l_.str.3@PAGE
Lloh15:
	add	x4, x4, l_.str.3@PAGEOFF
Lloh16:
	adrp	x5, l_.str.4@PAGE
Lloh17:
	add	x5, x5, l_.str.4@PAGEOFF
	mov	x0, x2
	mov	w1, #128
	mov	w2, #130
	bl	_D_TRINE
	mov	x7, x0
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x24
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x23
	bl	_DP_VERBOSE
	mov	x0, x23
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_QED_SPQ_PRIORITY_NORMAL,4,2    ; @QED_SPQ_PRIORITY_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown SPQE completion mode %d\n"

	.comm	_QED_MSG_SPQ,4,2                ; @QED_MSG_SPQ
l_.str.1:                               ; @.str.1
	.asciz	"Initialized: CID %08x cmd %02x protocol %02x data_addr %lu comp_mode [%s]\n"

l_.str.2:                               ; @.str.2
	.asciz	"MODE_EBLOCK"

l_.str.3:                               ; @.str.3
	.asciz	"MODE_BLOCK"

l_.str.4:                               ; @.str.4
	.asciz	"MODE_CB"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
