	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tluni_set_nat_var              ## -- Begin function tluni_set_nat_var
	.p2align	4, 0x90
_tluni_set_nat_var:                     ## @tluni_set_nat_var
	.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
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	(%rcx,%r12,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_DEC_REF
LBB0_2:
	movq	$0, (%r14,%r12,8)
	movq	-8(%r15), %rdi
	callq	_var_nat_const_to_int
	addq	8(%rbx), %rax
	movq	%rax, %rdi
	callq	_int_to_var_nat_const
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_var_nat_const_to_int
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	%rbx, (%r14,%r12,8)
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_DEC_REF
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLUNI_NEXT,4,2                 ## @TLUNI_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tluni_set_nat_var              ; -- Begin function tluni_set_nat_var
	.p2align	2
_tluni_set_nat_var:                     ; @tluni_set_nat_var
	.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, x3
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0]
	ldr	x0, [x3, x22, lsl #3]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_DEC_REF
LBB0_2:
	str	xzr, [x19, x22, lsl #3]
	ldur	x0, [x21, #-8]
	bl	_var_nat_const_to_int
	ldr	x8, [x20, #8]
	add	x0, x0, x8
	bl	_int_to_var_nat_const
	mov	x20, x0
	bl	_var_nat_const_to_int
	tbnz	x0, #63, LBB0_4
; %bb.3:
	str	x20, [x19, x22, lsl #3]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_DEC_REF
LBB0_5:
	mov	x0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_TLUNI_NEXT,4,2                 ; @TLUNI_NEXT
.subsections_via_symbols
