	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcmd_ua                        ## -- Begin function tcmd_ua
	.p2align	4, 0x90
_tcmd_ua:                               ## @tcmd_ua
	.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	_CAM_TARGET_WILDCARD@GOTPCREL(%rip), %rax
	movq	_MAX_INITIATORS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	decq	%r15
	xorl	%ebx, %ebx
	cmpq	%rdi, (%rax)
	cmovneq	%rdi, %rbx
	cmovneq	%rdi, %r15
	cmpq	%r15, %rbx
	jg	LBB0_4
## %bb.1:
	movl	%esi, %r14d
	incq	%r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_tcmd_get_istate
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, (%rax)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAM_TARGET_WILDCARD,8,3        ## @CAM_TARGET_WILDCARD
	.comm	_MAX_INITIATORS,8,3             ## @MAX_INITIATORS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcmd_ua                        ; -- Begin function tcmd_ua
	.p2align	2
_tcmd_ua:                               ; @tcmd_ua
	.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
Lloh0:
	adrp	x8, _CAM_TARGET_WILDCARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAM_TARGET_WILDCARD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MAX_INITIATORS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_INITIATORS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x9, x9, #1
	cmp	x8, x0
	csel	x20, xzr, x0, eq
	csel	x8, x9, x0, eq
	cmp	x20, x8
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x1
	add	x21, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_tcmd_get_istate
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w19, [x0]
	add	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_2
LBB0_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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CAM_TARGET_WILDCARD,8,3        ; @CAM_TARGET_WILDCARD
	.comm	_MAX_INITIATORS,8,3             ; @MAX_INITIATORS
.subsections_via_symbols
