	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qec_init_once
_qec_init_once:                         ## @qec_init_once
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %r15d
	xorl	%eax, %eax
	callq	_sbus_can_burst64
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_DMA_BURST64@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_GLOB_CTRL_B64@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_DMA_BURST32@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_GLOB_CTRL_B16@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_GLOB_CTRL_B32@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	movq	_GLOB_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writel
	movq	_GLOB_PSIZE_2048@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GLOB_PSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writel
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_resource_size
	sarl	$2, %eax
	movq	_GLOB_MSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_sbus_writel
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_resource_size
	sarl	$3, %eax
	movq	_GLOB_TSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_sbus_writel
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_resource_size
	sarl	$3, %eax
	movq	_GLOB_RSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sbus_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_BURST64,4,2                ## @DMA_BURST64
	.comm	_GLOB_CTRL_B64,4,2              ## @GLOB_CTRL_B64
	.comm	_GLOB_CTRL,8,3                  ## @GLOB_CTRL
	.comm	_DMA_BURST32,4,2                ## @DMA_BURST32
	.comm	_GLOB_CTRL_B32,4,2              ## @GLOB_CTRL_B32
	.comm	_GLOB_CTRL_B16,4,2              ## @GLOB_CTRL_B16
	.comm	_GLOB_PSIZE_2048,4,2            ## @GLOB_PSIZE_2048
	.comm	_GLOB_PSIZE,8,3                 ## @GLOB_PSIZE
	.comm	_GLOB_MSIZE,8,3                 ## @GLOB_MSIZE
	.comm	_GLOB_TSIZE,8,3                 ## @GLOB_TSIZE
	.comm	_GLOB_RSIZE,8,3                 ## @GLOB_RSIZE
	.no_dead_strip	_qec_init_once
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qec_init_once
_qec_init_once:                         ; @qec_init_once
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w21, [x0]
	bl	_sbus_can_burst64
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _DMA_BURST64@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_BURST64@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _GLOB_CTRL_B64@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLOB_CTRL_B64@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _DMA_BURST32@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_BURST32@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _GLOB_CTRL_B32@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GLOB_CTRL_B32@GOTPAGEOFF]
Lloh10:
	adrp	x10, _GLOB_CTRL_B16@GOTPAGE
Lloh11:
	ldr	x10, [x10, _GLOB_CTRL_B16@GOTPAGEOFF]
	tst	w8, w21
	csel	x8, x10, x9, eq
LBB0_4:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _GLOB_CTRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GLOB_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
Lloh15:
	adrp	x8, _GLOB_PSIZE_2048@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GLOB_PSIZE_2048@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _GLOB_PSIZE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _GLOB_PSIZE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_resource_size
	asr	w0, w0, #2
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _GLOB_MSIZE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _GLOB_MSIZE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_resource_size
	asr	w0, w0, #3
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _GLOB_TSIZE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GLOB_TSIZE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_sbus_writel
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_resource_size
	asr	w0, w0, #3
	ldr	x8, [x19, #8]
Lloh27:
	adrp	x9, _GLOB_RSIZE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _GLOB_RSIZE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sbus_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_BURST64,4,2                ; @DMA_BURST64
	.comm	_GLOB_CTRL_B64,4,2              ; @GLOB_CTRL_B64
	.comm	_GLOB_CTRL,8,3                  ; @GLOB_CTRL
	.comm	_DMA_BURST32,4,2                ; @DMA_BURST32
	.comm	_GLOB_CTRL_B32,4,2              ; @GLOB_CTRL_B32
	.comm	_GLOB_CTRL_B16,4,2              ; @GLOB_CTRL_B16
	.comm	_GLOB_PSIZE_2048,4,2            ; @GLOB_PSIZE_2048
	.comm	_GLOB_PSIZE,8,3                 ; @GLOB_PSIZE
	.comm	_GLOB_MSIZE,8,3                 ; @GLOB_MSIZE
	.comm	_GLOB_TSIZE,8,3                 ; @GLOB_TSIZE
	.comm	_GLOB_RSIZE,8,3                 ; @GLOB_RSIZE
	.no_dead_strip	_qec_init_once
.subsections_via_symbols
