	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smt_fill_state
_smt_fill_state:                        ## @smt_fill_state
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_SMT_P_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SMTSETPARA
	movq	$0, 8(%r14)
	xorl	%r12d, %r12d
	cmpq	$0, 16(%r15)
	movl	$0, %r13d
	je	LBB0_2
## %bb.1:
	movq	_SMT_ST_WRAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	movq	%r15, %rdi
	callq	_pcm_status_twisted
	movl	%eax, %ebx
	andl	$1, %eax
	negl	%eax
	movq	_SMT_ST_TWISTED_A@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	shll	$30, %ebx
	sarl	$31, %ebx
	movq	_SMT_ST_TWISTED_B@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	%eax, %ebx
	movq	%r15, %rdi
	callq	_pcm_rooted_station
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_SMT_ST_ROOTED_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	orl	%ecx, %ebx
	orl	%ebx, %r13d
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	movl	$0, %eax
	je	LBB0_6
## %bb.5:
	movq	_SMT_ST_SYNC_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%eax, %r13d
	movl	%r13d, (%r14)
	movq	(%r15), %rcx
	movq	_MAC0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	shlq	$4, %rdx
	cmpq	$0, 8(%rcx,%rdx)
	movl	$0, %eax
	je	LBB0_8
## %bb.7:
	movq	_SMT_ST_MY_DUPA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	cmpq	$0, (%rcx,%rdx)
	je	LBB0_10
## %bb.9:
	movq	_SMT_ST_UNA_DUPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_10:
	orl	%eax, %r12d
	movl	%r12d, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMT_P_STATE,4,2                ## @SMT_P_STATE
	.comm	_SMT_ST_WRAPPED,4,2             ## @SMT_ST_WRAPPED
	.comm	_SMT_ST_TWISTED_A,4,2           ## @SMT_ST_TWISTED_A
	.comm	_SMT_ST_TWISTED_B,4,2           ## @SMT_ST_TWISTED_B
	.comm	_SMT_ST_ROOTED_S,4,2            ## @SMT_ST_ROOTED_S
	.comm	_SMT_ST_SYNC_SERVICE,4,2        ## @SMT_ST_SYNC_SERVICE
	.comm	_MAC0,8,3                       ## @MAC0
	.comm	_SMT_ST_MY_DUPA,4,2             ## @SMT_ST_MY_DUPA
	.comm	_SMT_ST_UNA_DUPA,4,2            ## @SMT_ST_UNA_DUPA
	.comm	_SMT_ST_SRF,4,2                 ## @SMT_ST_SRF
	.comm	_SMT_ST_UNATTACHED,4,2          ## @SMT_ST_UNATTACHED
	.no_dead_strip	_smt_fill_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smt_fill_state
_smt_fill_state:                        ; @smt_fill_state
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SMT_P_STATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMT_P_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SMTSETPARA
	str	xzr, [x19, #8]
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _SMT_ST_WRAPPED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SMT_ST_WRAPPED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w21, wzr, w9, eq
	mov	x0, x20
	bl	_pcm_status_twisted
	sbfx	w8, w0, #0, #1
Lloh6:
	adrp	x9, _SMT_ST_TWISTED_A@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SMT_ST_TWISTED_A@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w8, w8, w21
	lsl	w9, w0, #30
Lloh9:
	adrp	x10, _SMT_ST_TWISTED_B@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SMT_ST_TWISTED_B@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w21, w8, w9
	mov	x0, x20
	bl	_pcm_rooted_station
Lloh12:
	adrp	x8, _SMT_ST_ROOTED_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SMT_ST_ROOTED_S@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w8, w21, w8
Lloh15:
	adrp	x9, _SMT_ST_SYNC_SERVICE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SMT_ST_SYNC_SERVICE@GOTPAGEOFF]
	ldp	x11, x10, [x20]
	ldr	x10, [x10]
Lloh17:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	str	w8, [x19]
Lloh18:
	adrp	x8, _MAC0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAC0@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x8, x11, x8, lsl #4
Lloh21:
	adrp	x9, _SMT_ST_MY_DUPA@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SMT_ST_MY_DUPA@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldp	x8, x10, [x8]
	cmp	x10, #0
Lloh24:
	adrp	x10, _SMT_ST_UNA_DUPA@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SMT_ST_UNA_DUPA@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh26:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w8, wzr, w10, eq
	orr	w8, w8, w9
	str	w8, [x19, #4]
	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
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMT_P_STATE,4,2                ; @SMT_P_STATE
	.comm	_SMT_ST_WRAPPED,4,2             ; @SMT_ST_WRAPPED
	.comm	_SMT_ST_TWISTED_A,4,2           ; @SMT_ST_TWISTED_A
	.comm	_SMT_ST_TWISTED_B,4,2           ; @SMT_ST_TWISTED_B
	.comm	_SMT_ST_ROOTED_S,4,2            ; @SMT_ST_ROOTED_S
	.comm	_SMT_ST_SYNC_SERVICE,4,2        ; @SMT_ST_SYNC_SERVICE
	.comm	_MAC0,8,3                       ; @MAC0
	.comm	_SMT_ST_MY_DUPA,4,2             ; @SMT_ST_MY_DUPA
	.comm	_SMT_ST_UNA_DUPA,4,2            ; @SMT_ST_UNA_DUPA
	.comm	_SMT_ST_SRF,4,2                 ; @SMT_ST_SRF
	.comm	_SMT_ST_UNATTACHED,4,2          ; @SMT_ST_UNATTACHED
	.no_dead_strip	_smt_fill_state
.subsections_via_symbols
