	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz_find_create_node
_lz_find_create_node:                   ## @lz_find_create_node
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rsi, -56(%rbp)
	movq	%rdx, -48(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_lz_find_node
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	%r13, (%rbx)
	movl	$1, %eax
	jmp	LBB0_13
LBB0_2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	movl	$32, %esi
	callq	_regional_alloc_zero
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %r13
	movq	%rax, 16(%rax)
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_regional_alloc_init
	movl	%eax, 24(%r13)
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	%r13, %rsi
	addq	$16, %rsi
	movq	%r15, (%r13)
	movl	%r12d, 8(%r13)
	leaq	4(%rbx), %rdi
	callq	_rbtree_insert
	testl	%eax, %eax
	movq	%rbx, %r14
	jne	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	callq	_log_assert
LBB0_6:
	cmpl	%r12d, (%r14)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_1
## %bb.7:
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dname_remove_label
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	decl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %ecx
	movq	%rbx, %r8
	callq	_lz_find_create_node
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	callq	_log_err
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory adding local data"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

	.no_dead_strip	_lz_find_create_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz_find_create_node
_lz_find_create_node:                   ; @lz_find_create_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	stp	x2, x1, [sp]
	bl	_lz_find_node
	mov	x22, x0
	cbz	x0, LBB0_2
LBB0_1:
	str	x22, [x19]
	mov	w0, #1
	b	LBB0_11
LBB0_2:
	ldr	w0, [x21, #8]
	mov	w1, #32
	bl	_regional_alloc_zero
	cbz	x0, LBB0_8
; %bb.3:
	mov	x22, x0
	str	x0, [x0, #16]
	ldr	w0, [x21, #8]
	mov	x1, x24
	mov	x2, x23
	bl	_regional_alloc_init
	str	w0, [x22, #24]
	cbz	w0, LBB0_9
; %bb.4:
	add	x1, x22, #16
	str	x23, [x22]
	str	w20, [x22, #8]
	add	x0, x21, #4
	bl	_rbtree_insert
	cbnz	w0, LBB0_6
; %bb.5:
	bl	_log_assert
LBB0_6:
	ldr	w8, [x21]
	cmp	w8, w20
	b.ge	LBB0_1
; %bb.7:
	add	x0, sp, #8
	mov	x1, sp
	bl	_dname_remove_label
	ldp	x2, x1, [sp]
	sub	w3, w20, #1
	mov	x0, x21
	mov	x4, x19
	bl	_lz_find_create_node
	cbnz	w0, LBB0_1
	b	LBB0_11
LBB0_8:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_log_err
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory adding local data"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

	.no_dead_strip	_lz_find_create_node
.subsections_via_symbols
