	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_list
_add_to_list:                           ## @add_to_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rbp), %rsi
	leaq	12(%rdi), %rax
	cmpq	%rsi, %rax
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.3:
	leaq	8(%r15), %rax
	movl	%edx, %r12d
	movl	%ecx, %r13d
	cmpq	%rsi, %rax
	je	LBB0_4
## %bb.5:
	leaq	4(%r15), %rax
	cmpq	%rsi, %rax
	je	LBB0_6
## %bb.7:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_8
LBB0_1:
	movl	%edx, %r12d
	movl	%ecx, %r13d
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dbg_bld
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dbg_bld
	incl	(%r15)
LBB0_8:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_ubi_alloc_aeb
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	%r12d, (%rax)
	movl	%r13d, 4(%rax)
	addq	$8, %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.11:
	movq	%rax, %rdi
	movq	16(%rbp), %rsi
	callq	_list_add
	jmp	LBB0_13
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_12:
	movq	%rax, %rdi
	movq	16(%rbp), %rsi
	callq	_list_add_tail
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %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	"add to free: PEB %d, EC %d"

L_.str.1:                               ## @.str.1
	.asciz	"add to erase: PEB %d, EC %d"

L_.str.2:                               ## @.str.2
	.asciz	"add to alien: PEB %d, EC %d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_add_to_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_to_list
_add_to_list:                           ; @add_to_list
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
	add	x8, x0, #12
	cmp	x8, x6
	b.eq	LBB0_4
; %bb.1:
	add	x8, x25, #8
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.2:
	add	x8, x25, #4
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.3:
	bl	_BUG
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	x1, x24
	mov	x2, x23
	bl	_dbg_bld
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x24
	mov	x2, x23
	bl	_dbg_bld
	ldr	w8, [x25]
	add	w8, w8, #1
	str	w8, [x25]
LBB0_8:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_ubi_alloc_aeb
	cbz	x0, LBB0_11
; %bb.9:
	stp	w22, w21, [x0], #8
	mov	x1, x19
	cbz	w20, LBB0_12
; %bb.10:
	bl	_list_add
	b	LBB0_13
LBB0_11:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_12:
	bl	_list_add_tail
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add to free: PEB %d, EC %d"

l_.str.1:                               ; @.str.1
	.asciz	"add to erase: PEB %d, EC %d"

l_.str.2:                               ; @.str.2
	.asciz	"add to alien: PEB %d, EC %d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_add_to_list
.subsections_via_symbols
