	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_st_object
_add_st_object:                         ## @add_st_object
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	_soft_token@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	testl	%r12d, %r12d
	js	LBB0_4
## %bb.2:
	movq	8(%r14), %rdi
	leal	8(,%r12,8), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, 8(%r14)
	movslq	(%r14), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r14)
	movq	%rbx, (%rax,%rcx,8)
	movl	%r12d, %r15d
LBB0_4:
	xorl	%eax, %eax
	callq	_random
	movq	_OBJECT_ID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%r15d, %ecx
	movq	8(%r14), %rax
	movl	%r15d, %edx
	movq	(%rax,%rdx,8), %rax
	movl	%ecx, (%rax)
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_soft_token,16,3                ## @soft_token
	.comm	_OBJECT_ID_MASK,4,2             ## @OBJECT_ID_MASK
	.no_dead_strip	_add_st_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_st_object
_add_st_object:                         ; @add_st_object
	.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	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x20, _soft_token@GOTPAGE
Lloh1:
	ldr	x20, [x20, _soft_token@GOTPAGEOFF]
	ldr	w21, [x20]
	tbnz	w21, #31, LBB0_4
; %bb.2:
	ldr	x0, [x20, #8]
	lsl	w8, w21, #3
	add	w1, w8, #8
	bl	_realloc
	cbz	x0, LBB0_6
; %bb.3:
	str	x0, [x20, #8]
	ldrsw	x8, [x20]
	add	w9, w8, #1
	str	w9, [x20]
	str	x19, [x0, x8, lsl #3]
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	bl	_random
Lloh2:
	adrp	x8, _OBJECT_ID_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OBJECT_ID_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
	orr	w8, w8, w21
	ldr	x9, [x20, #8]
	ldr	x9, [x9, w21, uxtw #3]
	str	w8, [x9]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_soft_token,16,3                ; @soft_token
	.comm	_OBJECT_ID_MASK,4,2             ; @OBJECT_ID_MASK
	.no_dead_strip	_add_st_object
.subsections_via_symbols
