	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_password_callback              ## -- Begin function password_callback
	.p2align	4, 0x90
_password_callback:                     ## @password_callback
	.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	%rcx, %r13
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_ui_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_UI_new_method
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	testq	%r13, %r13
	je	LBB0_3
## %bb.4:
	movq	(%r13), %rdx
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_3:
	xorl	%edx, %edx
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_UI_construct_prompt
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	_UI_INPUT_FLAG_DEFAULT_PWD@GOTPCREL(%rip), %rax
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	(%rax), %r14d
	movq	_UI_CTRL_PRINT_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_UI_ctrl
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_UI_add_user_data
	movq	_PW_MIN_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	decl	%r12d
	movq	%rbx, %rdi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r14d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_UI_add_input_string
	movl	%eax, %r13d
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.9:
	testl	%r13d, %r13d
	movl	$0, %r15d
	js	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_app_malloc
	movq	%rax, %r15
	movq	_PW_MIN_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%r12d, %r9d
	callq	_UI_add_verify_string
	movl	%eax, %r13d
	jmp	LBB0_11
LBB0_6:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_BIO_printf
	movq	%rbx, %rdi
	callq	_UI_free
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_8:
	xorl	%r15d, %r15d
LBB0_11:
	testl	%r13d, %r13d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	js	LBB0_15
## %bb.12:
	movq	_UI_CTRL_IS_REDOABLE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_UI_process
	testl	%eax, %eax
	jns	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, %r13d
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_UI_ctrl
	testq	%rax, %rax
	jne	LBB0_13
LBB0_15:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_OPENSSL_clear_free
	xorl	%r14d, %r14d
	cmpl	$-2, %r13d
	je	LBB0_18
## %bb.16:
	cmpl	$-1, %r13d
	jne	LBB0_20
## %bb.17:
	movq	_bio_err@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_BIO_printf
	movl	(%r15), %edi
	callq	_ERR_print_errors
	jmp	LBB0_19
LBB0_22:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_OPENSSL_clear_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_18:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_BIO_printf
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_OPENSSL_cleanse
LBB0_20:
	movq	%rbx, %rdi
	callq	_UI_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_OPENSSL_free
LBB0_21:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ui_method,4,2                  ## @ui_method
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pass phrase"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"Out of memory\n"

	.comm	_UI_INPUT_FLAG_DEFAULT_PWD,4,2  ## @UI_INPUT_FLAG_DEFAULT_PWD
	.comm	_UI_CTRL_PRINT_ERRORS,4,2       ## @UI_CTRL_PRINT_ERRORS
	.comm	_PW_MIN_LENGTH,4,2              ## @PW_MIN_LENGTH
L_.str.2:                               ## @.str.2
	.asciz	"password buffer"

	.comm	_UI_CTRL_IS_REDOABLE,4,2        ## @UI_CTRL_IS_REDOABLE
L_.str.3:                               ## @.str.3
	.asciz	"User interface error\n"

L_.str.4:                               ## @.str.4
	.asciz	"aborted!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_password_callback              ; -- Begin function password_callback
	.p2align	2
_password_callback:                     ; @password_callback
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ui_method@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ui_method@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_UI_new_method
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	cbz	x24, LBB0_4
; %bb.2:
	ldr	x2, [x24]
	b	LBB0_5
LBB0_3:
	mov	w21, #0
	b	LBB0_22
LBB0_4:
	mov	x2, #0
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_UI_construct_prompt
	cbz	x0, LBB0_16
; %bb.6:
	mov	x20, x0
Lloh5:
	adrp	x8, _UI_INPUT_FLAG_DEFAULT_PWD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UI_INPUT_FLAG_DEFAULT_PWD@GOTPAGEOFF]
Lloh7:
	ldr	w25, [x8]
Lloh8:
	adrp	x8, _UI_CTRL_PRINT_ERRORS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UI_CTRL_PRINT_ERRORS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_UI_ctrl
	mov	x0, x19
	mov	x1, x24
	bl	_UI_add_user_data
Lloh11:
	adrp	x28, _PW_MIN_LENGTH@GOTPAGE
Lloh12:
	ldr	x28, [x28, _PW_MIN_LENGTH@GOTPAGEOFF]
	ldr	w4, [x28]
	sub	w27, w22, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x21
	mov	x5, x27
	bl	_UI_add_input_string
	mov	x26, x0
	mov	x24, #0
	cbz	w23, LBB0_9
; %bb.7:
	tbnz	w26, #31, LBB0_9
; %bb.8:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_app_malloc
	mov	x24, x0
	ldr	w4, [x28]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x24
	mov	x5, x27
	mov	x6, x21
	bl	_UI_add_verify_string
	mov	x26, x0
LBB0_9:
	tbnz	w26, #31, LBB0_13
; %bb.10:
Lloh15:
	adrp	x23, _UI_CTRL_IS_REDOABLE@GOTPAGE
Lloh16:
	ldr	x23, [x23, _UI_CTRL_IS_REDOABLE@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_UI_process
	tbz	w0, #31, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x26, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_UI_ctrl
	cbnz	x0, LBB0_11
LBB0_13:
	mov	x0, x24
	mov	x1, x22
	bl	_OPENSSL_clear_free
	cmn	w26, #2
	b.eq	LBB0_18
; %bb.14:
	cmn	w26, #1
	b.ne	LBB0_20
; %bb.15:
Lloh17:
	adrp	x23, _bio_err@GOTPAGE
Lloh18:
	ldr	x23, [x23, _bio_err@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x23]
	bl	_ERR_print_errors
	b	LBB0_19
LBB0_16:
Lloh21:
	adrp	x8, _bio_err@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	mov	x0, x19
	bl	_UI_free
	mov	w21, #0
	b	LBB0_22
LBB0_17:
	mov	x0, x24
	mov	x1, x22
	bl	_OPENSSL_clear_free
	mov	x0, x21
	bl	_strlen
	mov	x21, x0
	b	LBB0_21
LBB0_18:
Lloh26:
	adrp	x8, _bio_err@GOTPAGE
Lloh27:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_printf
LBB0_19:
	mov	x0, x21
	mov	x1, x22
	bl	_OPENSSL_cleanse
LBB0_20:
	mov	w21, #0
LBB0_21:
	mov	x0, x19
	bl	_UI_free
	mov	x0, x20
	bl	_OPENSSL_free
LBB0_22:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ui_method,4,2                  ; @ui_method
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pass phrase"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"Out of memory\n"

	.comm	_UI_INPUT_FLAG_DEFAULT_PWD,4,2  ; @UI_INPUT_FLAG_DEFAULT_PWD
	.comm	_UI_CTRL_PRINT_ERRORS,4,2       ; @UI_CTRL_PRINT_ERRORS
	.comm	_PW_MIN_LENGTH,4,2              ; @PW_MIN_LENGTH
l_.str.2:                               ; @.str.2
	.asciz	"password buffer"

	.comm	_UI_CTRL_IS_REDOABLE,4,2        ; @UI_CTRL_IS_REDOABLE
l_.str.3:                               ; @.str.3
	.asciz	"User interface error\n"

l_.str.4:                               ; @.str.4
	.asciz	"aborted!\n"

.subsections_via_symbols
