	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ub_ctx_add_ta                  ## -- Begin function ub_ctx_add_ta
	.p2align	4, 0x90
_ub_ctx_add_ta:                         ## @ub_ctx_add_ta
	.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
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	movq	%r14, %rdi
	callq	_free
	movq	_UB_AFTERFINAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_cfg_strlist_insert
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	testl	%r14d, %r14d
	jne	LBB0_4
LBB0_5:
	movq	_UB_NOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_UB_NOERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UB_NOMEM,4,2                   ## @UB_NOMEM
	.comm	_UB_AFTERFINAL,4,2              ## @UB_AFTERFINAL
	.comm	_UB_NOERROR,4,2                 ## @UB_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ub_ctx_add_ta                  ; -- Begin function ub_ctx_add_ta
	.p2align	2
_ub_ctx_add_ta:                         ; @ub_ctx_add_ta
	.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, x0
	mov	x0, x1
	bl	_strdup
Lloh0:
	adrp	x21, _UB_NOMEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UB_NOMEM@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_lock_basic_lock
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_lock_basic_unlock
	mov	x0, x20
	bl	_free
Lloh2:
	adrp	x21, _UB_AFTERFINAL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _UB_AFTERFINAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_cfg_strlist_insert
	mov	x20, x0
	mov	x0, x19
	bl	_lock_basic_unlock
Lloh4:
	adrp	x8, _UB_NOERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UB_NOERROR@GOTPAGEOFF]
	cmp	w20, #0
	csel	x21, x21, x8, eq
LBB0_4:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UB_NOMEM,4,2                   ; @UB_NOMEM
	.comm	_UB_AFTERFINAL,4,2              ; @UB_AFTERFINAL
	.comm	_UB_NOERROR,4,2                 ; @UB_NOERROR
.subsections_via_symbols
