	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qsb_global_set
_qsb_global_set:                        ## @qsb_global_set
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_clk_get_fpi
	movq	%rax, %rdi
	callq	_clk_get_rate
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_qsb_tau@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_ICDV_TAU_SET
	movq	_QSB_ICDV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_qsb_srvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_SBL_SBL_SET
	movq	_QSB_SBL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_qsb_tstep@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	sarl	%edi
	callq	_QSB_CFG_TSTEPC_SET
	movq	_QSB_CFG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_ATM_PORT_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_QSB_SET_SCT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RTM_DM_SET
	movq	_QSB_RTM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, %edi
	callq	_QSB_RTD_TTV_SET
	movq	_QSB_RTD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_QSB_RAMAC_RW_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_RW_SET
	movl	%eax, %r12d
	movq	_QSB_RAMAC_TSEL_SCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_TSEL_SET
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_QSB_RAMAC_LH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_LH_SET
	movl	%eax, %r13d
	movl	%r14d, %r12d
	andl	$1, %r12d
	movl	%r12d, %edi
	callq	_QSB_RAMAC_TESEL_SET
	orl	%r13d, %eax
	orl	%ebx, %eax
	movq	_QSB_RAMAC@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	%eax, (%rcx)
	movq	_QSB_SET_SPT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RTM_DM_SET
	movq	_QSB_RTM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_QSB_SPT_SBV_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_QSB_SPT_PN_SET
	orl	%eax, %ebx
	movl	%r15d, %edi
	callq	_QSB_SPT_INTRATE_SET
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_QSB_RTD_TTV_SET
	movq	_QSB_RTD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_QSB_RAMAC_RW_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_RW_SET
	movl	%eax, %r15d
	movq	_QSB_RAMAC_TSEL_SPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_TSEL_SET
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_QSB_RAMAC_LH_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_QSB_RAMAC_LH_SET
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_QSB_RAMAC_TESEL_SET
	orl	%r15d, %eax
	orl	%ebx, %eax
	movq	(%r13), %rcx
	movl	%eax, (%rcx)
	movq	_ATM_PORT_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_g_atm_priv_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r14,4), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_qsb_tstep@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	shrl	%eax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %edx
	shrl	$6, %edx
	andl	$63, %eax
	incl	%eax
	xorl	%esi, %esi
	cmpl	$64, %eax
	sete	%bl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%bl, %sil
	movl	$1, %r15d
	movl	$1, %ebx
	addl	%esi, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %r15d
	movl	%ecx, %ebx
	jmp	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qsb_tau,4,2                    ## @qsb_tau
	.comm	_QSB_ICDV,8,3                   ## @QSB_ICDV
	.comm	_qsb_srvm,4,2                   ## @qsb_srvm
	.comm	_QSB_SBL,8,3                    ## @QSB_SBL
	.comm	_qsb_tstep,4,2                  ## @qsb_tstep
	.comm	_QSB_CFG,8,3                    ## @QSB_CFG
	.comm	_ATM_PORT_NUMBER,4,2            ## @ATM_PORT_NUMBER
	.comm	_g_atm_priv_data,8,3            ## @g_atm_priv_data
	.comm	_QSB_SET_SCT_MASK,4,2           ## @QSB_SET_SCT_MASK
	.comm	_QSB_RTM,8,3                    ## @QSB_RTM
	.comm	_QSB_RTD,8,3                    ## @QSB_RTD
	.comm	_QSB_RAMAC_RW_WRITE,4,2         ## @QSB_RAMAC_RW_WRITE
	.comm	_QSB_RAMAC_TSEL_SCT,4,2         ## @QSB_RAMAC_TSEL_SCT
	.comm	_QSB_RAMAC_LH_LOW,4,2           ## @QSB_RAMAC_LH_LOW
	.comm	_QSB_RAMAC,8,3                  ## @QSB_RAMAC
	.comm	_QSB_SET_SPT_MASK,4,2           ## @QSB_SET_SPT_MASK
	.comm	_QSB_SPT_SBV_VALID,4,2          ## @QSB_SPT_SBV_VALID
	.comm	_QSB_RAMAC_TSEL_SPT,4,2         ## @QSB_RAMAC_TSEL_SPT
	.no_dead_strip	_qsb_global_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qsb_global_set
_qsb_global_set:                        ; @qsb_global_set
	.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
	bl	_clk_get_fpi
	bl	_clk_get_rate
	mov	x19, x0
Lloh0:
	adrp	x8, _qsb_tau@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qsb_tau@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_QSB_ICDV_TAU_SET
Lloh3:
	adrp	x8, _QSB_ICDV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QSB_ICDV@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	w0, [x8]
Lloh6:
	adrp	x8, _qsb_srvm@GOTPAGE
Lloh7:
	ldr	x8, [x8, _qsb_srvm@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_QSB_SBL_SBL_SET
Lloh9:
	adrp	x8, _QSB_SBL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QSB_SBL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	w0, [x8]
Lloh12:
	adrp	x8, _qsb_tstep@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qsb_tstep@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	asr	w0, w8, #1
	bl	_QSB_CFG_TSTEPC_SET
Lloh15:
	adrp	x8, _QSB_CFG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QSB_CFG@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	w0, [x8]
Lloh18:
	adrp	x8, _ATM_PORT_NUMBER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATM_PORT_NUMBER@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x24, #0
Lloh21:
	adrp	x27, _QSB_RTM@GOTPAGE
Lloh22:
	ldr	x27, [x27, _QSB_RTM@GOTPAGEOFF]
Lloh23:
	adrp	x28, _QSB_RTD@GOTPAGE
Lloh24:
	ldr	x28, [x28, _QSB_RTD@GOTPAGEOFF]
Lloh25:
	adrp	x22, _QSB_RAMAC_RW_WRITE@GOTPAGE
Lloh26:
	ldr	x22, [x22, _QSB_RAMAC_RW_WRITE@GOTPAGEOFF]
Lloh27:
	adrp	x26, _QSB_RAMAC_LH_LOW@GOTPAGE
Lloh28:
	ldr	x26, [x26, _QSB_RAMAC_LH_LOW@GOTPAGEOFF]
Lloh29:
	adrp	x23, _QSB_RAMAC@GOTPAGE
Lloh30:
	ldr	x23, [x23, _QSB_RAMAC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
Lloh31:
	adrp	x9, _g_atm_priv_data@GOTPAGE
Lloh32:
	ldr	x9, [x9, _g_atm_priv_data@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w9, [x9, x24, lsl #2]
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh34:
	adrp	x8, _qsb_tstep@GOTPAGE
Lloh35:
	ldr	x8, [x8, _qsb_tstep@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	mul	w8, w8, w19
	lsr	w8, w8, #1
	udiv	w8, w8, w9
	lsr	w9, w8, #6
	and	w8, w8, #0x3f
	add	w10, w8, #1
	cmp	w10, #64
	cinc	w9, w9, eq
	csinc	w8, wzr, w8, eq
	cmp	w9, #0
	csinc	w20, w9, wzr, ne
	csinc	w21, w8, wzr, ne
Lloh37:
	adrp	x8, _QSB_SET_SCT_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _QSB_SET_SCT_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_QSB_RTM_DM_SET
	ldr	x8, [x27]
	str	w0, [x8]
	mov	x0, x21
	bl	_QSB_RTD_TTV_SET
	ldr	x8, [x28]
	str	w0, [x8]
	ldr	w0, [x22]
	bl	_QSB_RAMAC_RW_SET
	mov	x21, x0
Lloh40:
	adrp	x8, _QSB_RAMAC_TSEL_SCT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _QSB_RAMAC_TSEL_SCT@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_QSB_RAMAC_TSEL_SET
	orr	w21, w0, w21
	ldr	w0, [x26]
	bl	_QSB_RAMAC_LH_SET
	orr	w25, w21, w0
	and	w21, w24, #0x1
	mov	x0, x21
	bl	_QSB_RAMAC_TESEL_SET
	orr	w8, w25, w0
	ldr	x9, [x23]
	str	w8, [x9]
Lloh43:
	adrp	x8, _QSB_SET_SPT_MASK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _QSB_SET_SPT_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_QSB_RTM_DM_SET
	ldr	x8, [x27]
	str	w0, [x8]
Lloh46:
	adrp	x8, _QSB_SPT_SBV_VALID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _QSB_SPT_SBV_VALID@GOTPAGEOFF]
Lloh48:
	ldr	w25, [x8]
	mov	x0, x21
	bl	_QSB_SPT_PN_SET
	orr	w25, w0, w25
	mov	x0, x20
	bl	_QSB_SPT_INTRATE_SET
	orr	w0, w25, w0
	bl	_QSB_RTD_TTV_SET
	ldr	x8, [x28]
	str	w0, [x8]
	ldr	w0, [x22]
	bl	_QSB_RAMAC_RW_SET
	mov	x20, x0
Lloh49:
	adrp	x8, _QSB_RAMAC_TSEL_SPT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _QSB_RAMAC_TSEL_SPT@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_QSB_RAMAC_TSEL_SET
	orr	w20, w0, w20
	ldr	w0, [x26]
	bl	_QSB_RAMAC_LH_SET
	orr	w20, w20, w0
	mov	x0, x21
	bl	_QSB_RAMAC_TESEL_SET
	orr	w8, w20, w0
	ldr	x9, [x23]
	str	w8, [x9]
Lloh52:
	adrp	x8, _ATM_PORT_NUMBER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ATM_PORT_NUMBER@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_qsb_tau,4,2                    ; @qsb_tau
	.comm	_QSB_ICDV,8,3                   ; @QSB_ICDV
	.comm	_qsb_srvm,4,2                   ; @qsb_srvm
	.comm	_QSB_SBL,8,3                    ; @QSB_SBL
	.comm	_qsb_tstep,4,2                  ; @qsb_tstep
	.comm	_QSB_CFG,8,3                    ; @QSB_CFG
	.comm	_ATM_PORT_NUMBER,4,2            ; @ATM_PORT_NUMBER
	.comm	_g_atm_priv_data,8,3            ; @g_atm_priv_data
	.comm	_QSB_SET_SCT_MASK,4,2           ; @QSB_SET_SCT_MASK
	.comm	_QSB_RTM,8,3                    ; @QSB_RTM
	.comm	_QSB_RTD,8,3                    ; @QSB_RTD
	.comm	_QSB_RAMAC_RW_WRITE,4,2         ; @QSB_RAMAC_RW_WRITE
	.comm	_QSB_RAMAC_TSEL_SCT,4,2         ; @QSB_RAMAC_TSEL_SCT
	.comm	_QSB_RAMAC_LH_LOW,4,2           ; @QSB_RAMAC_LH_LOW
	.comm	_QSB_RAMAC,8,3                  ; @QSB_RAMAC
	.comm	_QSB_SET_SPT_MASK,4,2           ; @QSB_SET_SPT_MASK
	.comm	_QSB_SPT_SBV_VALID,4,2          ; @QSB_SPT_SBV_VALID
	.comm	_QSB_RAMAC_TSEL_SPT,4,2         ; @QSB_RAMAC_TSEL_SPT
	.no_dead_strip	_qsb_global_set
.subsections_via_symbols
