	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fst_global_add_ctrl            ## -- Begin function fst_global_add_ctrl
	.p2align	4, 0x90
_fst_global_add_ctrl:                   ## @fst_global_add_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movl	$16, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.3:
	xorl	%eax, %eax
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_os_free
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	(%r14), %rcx
LBB0_8:
	movq	%rcx, 8(%rbx)
	movq	_fst_global_ctrls_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_dl_list_add_tail
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fst_global_ctrls_list,4,2      ## @fst_global_ctrls_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fst_global_add_ctrl            ; -- Begin function fst_global_add_ctrl
	.p2align	2
_fst_global_add_ctrl:                   ; @fst_global_add_ctrl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	w0, #16
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.3:
	blr	x8
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_os_free
LBB0_5:
	mov	x19, #0
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20]
LBB0_7:
	str	x8, [x19, #8]
Lloh0:
	adrp	x0, _fst_global_ctrls_list@GOTPAGE
Lloh1:
	ldr	x0, [x0, _fst_global_ctrls_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_dl_list_add_tail
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fst_global_ctrls_list,4,2      ; @fst_global_ctrls_list
.subsections_via_symbols
