	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function general_allocate_prompt
_general_allocate_prompt:               ## @general_allocate_prompt
	.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
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%r9, %r14
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	_UIT_PROMPT@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_8
## %bb.2:
	movq	_UIT_VERIFY@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_8
## %bb.3:
	testq	%r14, %r14
	jne	LBB0_9
## %bb.4:
	movq	_UIT_BOOLEAN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_9
LBB0_5:
	movq	_UI_F_GENERAL_ALLOCATE_PROMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UI_R_NO_RESULT_BUFFER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_UI_F_GENERAL_ALLOCATE_PROMPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_UIerr
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_8:
	testq	%r14, %r14
	je	LBB0_5
LBB0_9:
	movl	$32, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rbx, (%rax)
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.11:
	movq	_OUT_STRING_FREEABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_12:
	movl	%r12d, 24(%rax)
	movl	%r15d, 8(%rax)
	movl	%r13d, 12(%rax)
	movq	%r14, 16(%rax)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_F_GENERAL_ALLOCATE_PROMPT,4,2 ## @UI_F_GENERAL_ALLOCATE_PROMPT
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_UIT_PROMPT,4,2                 ## @UIT_PROMPT
	.comm	_UIT_VERIFY,4,2                 ## @UIT_VERIFY
	.comm	_UIT_BOOLEAN,4,2                ## @UIT_BOOLEAN
	.comm	_UI_R_NO_RESULT_BUFFER,4,2      ## @UI_R_NO_RESULT_BUFFER
	.comm	_OUT_STRING_FREEABLE,4,2        ## @OUT_STRING_FREEABLE
	.no_dead_strip	_general_allocate_prompt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function general_allocate_prompt
_general_allocate_prompt:               ; @general_allocate_prompt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
Lloh0:
	adrp	x8, _UIT_PROMPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UIT_PROMPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _UIT_VERIFY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UIT_VERIFY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w3
	ccmp	w9, w3, #4, ne
	b.ne	LBB0_4
; %bb.2:
	cbnz	x19, LBB0_8
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _UI_F_GENERAL_ALLOCATE_PROMPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UI_F_GENERAL_ALLOCATE_PROMPT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	cbnz	x19, LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _UIT_BOOLEAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UIT_BOOLEAN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_8
LBB0_6:
Lloh14:
	adrp	x8, _UI_F_GENERAL_ALLOCATE_PROMPT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UI_F_GENERAL_ALLOCATE_PROMPT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _UI_R_NO_RESULT_BUFFER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UI_R_NO_RESULT_BUFFER@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_UIerr
	mov	x0, #0
	b	LBB0_10
LBB0_8:
	mov	w0, #32
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_10
; %bb.9:
	str	x23, [x0]
Lloh19:
	adrp	x8, _OUT_STRING_FREEABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OUT_STRING_FREEABLE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w8, wzr, w8, eq
	str	w8, [x0, #24]
	stp	w21, w20, [x0, #8]
	str	x19, [x0, #16]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_F_GENERAL_ALLOCATE_PROMPT,4,2 ; @UI_F_GENERAL_ALLOCATE_PROMPT
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_UIT_PROMPT,4,2                 ; @UIT_PROMPT
	.comm	_UIT_VERIFY,4,2                 ; @UIT_VERIFY
	.comm	_UIT_BOOLEAN,4,2                ; @UIT_BOOLEAN
	.comm	_UI_R_NO_RESULT_BUFFER,4,2      ; @UI_R_NO_RESULT_BUFFER
	.comm	_OUT_STRING_FREEABLE,4,2        ; @OUT_STRING_FREEABLE
	.no_dead_strip	_general_allocate_prompt
.subsections_via_symbols
