	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_old
_test_old:                              ## @test_old
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movabsq	$7237970109966541168, %rax      ## imm = 0x64726F7773736170
	movq	%rax, -48(%rbp)
	movb	$0, -40(%rbp)
	movq	_test_pem_password_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_UI_UTIL_wrap_read_pem_callback
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_UI_new_method
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_UI_add_user_data
	movq	_UI_INPUT_FLAG_DEFAULT_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rcx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movl	$15, %r9d
	callq	_UI_add_input_string
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	callq	_UI_process
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$-2, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_TEST_info
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rdi
	callq	_UI_free
	movq	%r15, %rdi
	callq	_UI_destroy_method
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_TEST_str_eq
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.test_old.defpass:             ## @__const.test_old.defpass
	.asciz	"password"

	.comm	_test_pem_password_cb,4,2       ## @test_pem_password_cb
L_.str:                                 ## @.str
	.asciz	"prompt"

	.comm	_UI_INPUT_FLAG_DEFAULT_PWD,4,2  ## @UI_INPUT_FLAG_DEFAULT_PWD
L_.str.1:                               ## @.str.1
	.asciz	"test_old: UI process interrupted or cancelled"

	.no_dead_strip	_test_old
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_old
_test_old:                              ; @test_old
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, l___const.test_old.defpass@PAGE
Lloh4:
	add	x8, x8, l___const.test_old.defpass@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	strb	wzr, [sp, #32]
Lloh6:
	adrp	x8, _test_pem_password_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _test_pem_password_cb@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_UI_UTIL_wrap_read_pem_callback
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_UI_new_method
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_7
; %bb.2:
	add	x1, sp, #24
	mov	x0, x20
	bl	_UI_add_user_data
Lloh9:
	adrp	x8, _UI_INPUT_FLAG_DEFAULT_PWD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UI_INPUT_FLAG_DEFAULT_PWD@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x20
	mov	w4, #0
	mov	w5, #15
	bl	_UI_add_input_string
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_UI_process
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.4:
	cmn	w0, #2
	b.ne	LBB0_10
; %bb.5:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEST_info
	mov	w21, #0
	b	LBB0_8
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x20
	bl	_UI_free
	mov	x0, x19
	bl	_UI_destroy_method
	ldr	x8, [sp, #40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	add	x0, sp, #8
	add	x1, sp, #24
	bl	_TEST_str_eq
	cmp	x0, #0
	cset	w21, ne
	b	LBB0_8
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.test_old.defpass:             ; @__const.test_old.defpass
	.asciz	"password"

	.comm	_test_pem_password_cb,4,2       ; @test_pem_password_cb
l_.str:                                 ; @.str
	.asciz	"prompt"

	.comm	_UI_INPUT_FLAG_DEFAULT_PWD,4,2  ; @UI_INPUT_FLAG_DEFAULT_PWD
l_.str.1:                               ; @.str.1
	.asciz	"test_old: UI process interrupted or cancelled"

	.no_dead_strip	_test_old
.subsections_via_symbols
