	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ARQ_Init                       ## -- Begin function ARQ_Init
	.p2align	4, 0x90
_ARQ_Init:                              ## @ARQ_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	___ARQInitFlag@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	__CPU_ISR_Disable
	movq	___ARQReqPendingLo@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___ARQReqPendingHi@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___ARQCallbackLo@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	___ARQCallbackHi@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ARQ_DEF_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___ARQChunkSize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	___ARQSyncQueue@GOTPCREL(%rip), %rdi
	callq	_LWP_InitQueue
	movq	___ARQReqQueueLo@GOTPCREL(%rip), %rdi
	callq	___lwp_queue_init_empty
	movq	___ARQReqQueueHi@GOTPCREL(%rip), %rdi
	callq	___lwp_queue_init_empty
	movq	___ARInterruptServiceRoutine@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AR_RegisterCallback
	movl	$1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__CPU_ISR_Restore               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___ARQInitFlag,4,2              ## @__ARQInitFlag
	.comm	___ARQReqPendingLo,8,3          ## @__ARQReqPendingLo
	.comm	___ARQReqPendingHi,8,3          ## @__ARQReqPendingHi
	.comm	___ARQCallbackLo,8,3            ## @__ARQCallbackLo
	.comm	___ARQCallbackHi,8,3            ## @__ARQCallbackHi
	.comm	_ARQ_DEF_CHUNK_SIZE,4,2         ## @ARQ_DEF_CHUNK_SIZE
	.comm	___ARQChunkSize,4,2             ## @__ARQChunkSize
	.comm	___ARQSyncQueue,4,2             ## @__ARQSyncQueue
	.comm	___ARQReqQueueLo,4,2            ## @__ARQReqQueueLo
	.comm	___ARQReqQueueHi,4,2            ## @__ARQReqQueueHi
	.comm	___ARInterruptServiceRoutine,4,2 ## @__ARInterruptServiceRoutine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ARQ_Init                       ; -- Begin function ARQ_Init
	.p2align	2
_ARQ_Init:                              ; @ARQ_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
Lloh0:
	adrp	x19, ___ARQInitFlag@GOTPAGE
Lloh1:
	ldr	x19, [x19, ___ARQInitFlag@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	__CPU_ISR_Disable
Lloh2:
	adrp	x8, ___ARQReqPendingLo@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___ARQReqPendingLo@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, ___ARQReqPendingHi@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___ARQReqPendingHi@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
Lloh8:
	adrp	x8, ___ARQCallbackLo@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___ARQCallbackLo@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
Lloh11:
	adrp	x8, ___ARQCallbackHi@GOTPAGE
Lloh12:
	ldr	x8, [x8, ___ARQCallbackHi@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
Lloh14:
	adrp	x8, _ARQ_DEF_CHUNK_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARQ_DEF_CHUNK_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, ___ARQChunkSize@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___ARQChunkSize@GOTPAGEOFF]
Lloh19:
	str	w8, [x9]
Lloh20:
	adrp	x0, ___ARQSyncQueue@GOTPAGE
Lloh21:
	ldr	x0, [x0, ___ARQSyncQueue@GOTPAGEOFF]
	bl	_LWP_InitQueue
Lloh22:
	adrp	x0, ___ARQReqQueueLo@GOTPAGE
Lloh23:
	ldr	x0, [x0, ___ARQReqQueueLo@GOTPAGEOFF]
	bl	___lwp_queue_init_empty
Lloh24:
	adrp	x0, ___ARQReqQueueHi@GOTPAGE
Lloh25:
	ldr	x0, [x0, ___ARQReqQueueHi@GOTPAGEOFF]
	bl	___lwp_queue_init_empty
Lloh26:
	adrp	x8, ___ARInterruptServiceRoutine@GOTPAGE
Lloh27:
	ldr	x8, [x8, ___ARInterruptServiceRoutine@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_AR_RegisterCallback
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__CPU_ISR_Restore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___ARQInitFlag,4,2              ; @__ARQInitFlag
	.comm	___ARQReqPendingLo,8,3          ; @__ARQReqPendingLo
	.comm	___ARQReqPendingHi,8,3          ; @__ARQReqPendingHi
	.comm	___ARQCallbackLo,8,3            ; @__ARQCallbackLo
	.comm	___ARQCallbackHi,8,3            ; @__ARQCallbackHi
	.comm	_ARQ_DEF_CHUNK_SIZE,4,2         ; @ARQ_DEF_CHUNK_SIZE
	.comm	___ARQChunkSize,4,2             ; @__ARQChunkSize
	.comm	___ARQSyncQueue,4,2             ; @__ARQSyncQueue
	.comm	___ARQReqQueueLo,4,2            ; @__ARQReqQueueLo
	.comm	___ARQReqQueueHi,4,2            ; @__ARQReqQueueHi
	.comm	___ARInterruptServiceRoutine,4,2 ; @__ARInterruptServiceRoutine
.subsections_via_symbols
