	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sec_queue_hw_init
_sec_queue_hw_init:                     ## @sec_queue_hw_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_SEC_QUEUE_AR_FROCE_NOALLOC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_sec_queue_ar_alloc
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sec_queue_aw_alloc
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sec_queue_ar_pkgattr
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sec_queue_aw_pkgattr
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_sec_queue_reorder
	movq	_SEC_Q_PROC_NUM_CFG_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$1, %edi
	callq	_writel_relaxed
	movq	_SEC_QUEUE_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movq	%rbx, %rdi
	callq	_sec_queue_depth
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_sec_queue_cmdbase_addr
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_sec_queue_outorder_addr
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_sec_queue_errbase_addr
	movq	_SEC_Q_OT_TH_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$256, %edi                      ## imm = 0x100
	callq	_writel_relaxed
	movq	%rbx, %rdi
	callq	_sec_queue_abn_irq_disable
	movq	%rbx, %rdi
	callq	_sec_queue_irq_disable
	movq	_SEC_Q_INIT_AND_STAT_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SEC_Q_INIT_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_QUEUE_AR_FROCE_NOALLOC,4,2 ## @SEC_QUEUE_AR_FROCE_NOALLOC
	.comm	_SEC_Q_PROC_NUM_CFG_REG,8,3     ## @SEC_Q_PROC_NUM_CFG_REG
	.comm	_SEC_QUEUE_LEN,8,3              ## @SEC_QUEUE_LEN
	.comm	_SEC_Q_OT_TH_REG,8,3            ## @SEC_Q_OT_TH_REG
	.comm	_SEC_Q_INIT_AND_STAT_CLEAR,4,2  ## @SEC_Q_INIT_AND_STAT_CLEAR
	.comm	_SEC_Q_INIT_REG,8,3             ## @SEC_Q_INIT_REG
	.no_dead_strip	_sec_queue_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sec_queue_hw_init
_sec_queue_hw_init:                     ; @sec_queue_hw_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _SEC_QUEUE_AR_FROCE_NOALLOC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SEC_QUEUE_AR_FROCE_NOALLOC@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_sec_queue_ar_alloc
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sec_queue_aw_alloc
	mov	x0, x19
	mov	w1, #1
	bl	_sec_queue_ar_pkgattr
	mov	x0, x19
	mov	w1, #1
	bl	_sec_queue_aw_pkgattr
	mov	x0, x19
	mov	w1, #1
	bl	_sec_queue_reorder
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _SEC_Q_PROC_NUM_CFG_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SEC_Q_PROC_NUM_CFG_REG@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_writel_relaxed
Lloh5:
	adrp	x8, _SEC_QUEUE_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEC_QUEUE_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	x1, x8, #1
	mov	x0, x19
	bl	_sec_queue_depth
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_sec_queue_cmdbase_addr
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_sec_queue_outorder_addr
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_sec_queue_errbase_addr
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _SEC_Q_OT_TH_REG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SEC_Q_OT_TH_REG@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #256
	bl	_writel_relaxed
	mov	x0, x19
	bl	_sec_queue_abn_irq_disable
	mov	x0, x19
	bl	_sec_queue_irq_disable
Lloh11:
	adrp	x8, _SEC_Q_INIT_AND_STAT_CLEAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEC_Q_INIT_AND_STAT_CLEAR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _SEC_Q_INIT_REG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SEC_Q_INIT_REG@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_QUEUE_AR_FROCE_NOALLOC,4,2 ; @SEC_QUEUE_AR_FROCE_NOALLOC
	.comm	_SEC_Q_PROC_NUM_CFG_REG,8,3     ; @SEC_Q_PROC_NUM_CFG_REG
	.comm	_SEC_QUEUE_LEN,8,3              ; @SEC_QUEUE_LEN
	.comm	_SEC_Q_OT_TH_REG,8,3            ; @SEC_Q_OT_TH_REG
	.comm	_SEC_Q_INIT_AND_STAT_CLEAR,4,2  ; @SEC_Q_INIT_AND_STAT_CLEAR
	.comm	_SEC_Q_INIT_REG,8,3             ; @SEC_Q_INIT_REG
	.no_dead_strip	_sec_queue_hw_init
.subsections_via_symbols
