	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function general_allocate_boolean
_general_allocate_boolean:              ## @general_allocate_boolean
	.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
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	testq	%r8, %r8
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movb	(%rcx), %al
	testb	%al, %al
	je	LBB0_8
## %bb.4:
	leaq	1(%r14), %r13
	movq	_UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPCREL(%rip), %r15
	movq	_UI_R_COMMON_OK_AND_CANCEL_CHARACTERS@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_UIerr
	jmp	LBB0_7
LBB0_1:
	movq	_UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UIerr
	movl	$-1, %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	16(%rbp), %ecx
	movl	24(%rbp), %r8d
	movq	32(%rbp), %r9
	callq	_general_allocate_prompt
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_allocate_string_stack
	testq	%rax, %rax
	js	LBB0_12
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	%r14, 8(%r13)
	movq	%rbx, 16(%r13)
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_sk_UI_STRING_push
	movl	%eax, %r12d
	testl	%eax, %eax
	jg	LBB0_13
## %bb.11:
	decl	%r12d
LBB0_12:
	movq	%r13, %rdi
	callq	_free_string
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_F_GENERAL_ALLOCATE_BOOLEAN,4,2 ## @UI_F_GENERAL_ALLOCATE_BOOLEAN
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_UI_R_COMMON_OK_AND_CANCEL_CHARACTERS,4,2 ## @UI_R_COMMON_OK_AND_CANCEL_CHARACTERS
	.no_dead_strip	_general_allocate_boolean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function general_allocate_boolean
_general_allocate_boolean:              ; @general_allocate_boolean
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x3, LBB0_7
; %bb.1:
	mov	x19, x4
	cbz	x4, LBB0_7
; %bb.2:
	mov	x23, x7
	mov	x24, x6
	mov	x25, x5
	mov	x20, x3
	mov	x26, x1
	mov	x21, x0
	str	x2, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [x29, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldrb	w8, [x3]
	cbz	w8, LBB0_10
; %bb.3:
	add	x28, x20, #1
Lloh0:
	adrp	x27, _UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPAGEOFF]
Lloh2:
	adrp	x22, _UI_R_COMMON_OK_AND_CANCEL_CHARACTERS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UI_R_COMMON_OK_AND_CANCEL_CHARACTERS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x28], #1
	cbz	w8, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	mov	x0, x19
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	ldr	w1, [x22]
	bl	_UIerr
	b	LBB0_4
LBB0_7:
Lloh4:
	adrp	x8, _UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UI_F_GENERAL_ALLOCATE_BOOLEAN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_UIerr
LBB0_8:
	mov	w19, #-1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	mov	x0, x21
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
	bl	_general_allocate_prompt
	cbz	x0, LBB0_8
; %bb.11:
	mov	x23, x0
	mov	x0, x21
	bl	_allocate_string_stack
	tbnz	x0, #63, LBB0_14
; %bb.12:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	stp	x8, x20, [x23]
	str	x19, [x23, #16]
	ldr	w0, [x21]
	mov	x1, x23
	bl	_sk_UI_STRING_push
	mov	x19, x0
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.13:
	sub	w19, w19, #1
	mov	x0, x23
	bl	_free_string
	b	LBB0_9
LBB0_14:
	mov	x0, x23
	bl	_free_string
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_F_GENERAL_ALLOCATE_BOOLEAN,4,2 ; @UI_F_GENERAL_ALLOCATE_BOOLEAN
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_UI_R_COMMON_OK_AND_CANCEL_CHARACTERS,4,2 ; @UI_R_COMMON_OK_AND_CANCEL_CHARACTERS
	.no_dead_strip	_general_allocate_boolean
.subsections_via_symbols
