	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function app_get_pass
_app_get_pass:                          ## @app_get_pass
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_APP_PASS_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	movq	_app_get_pass.pwdbio(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
LBB0_19:
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_BIO_gets
	movl	%eax, %ebx
	cmpl	$1, %r15d
	je	LBB0_21
## %bb.20:
	movq	_app_get_pass.pwdbio(%rip), %rdi
	callq	_BIO_free_all
	movq	$0, _app_get_pass.pwdbio(%rip)
LBB0_21:
	testl	%ebx, %ebx
	jle	LBB0_22
## %bb.29:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movb	$0, (%rax)
LBB0_31:
	movq	%r14, %rdi
	callq	_OPENSSL_strdup
	movq	%rax, %r14
	jmp	LBB0_32
LBB0_1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_34
## %bb.2:
	addq	$5, %rbx
	movq	%rbx, %rdi
	jmp	LBB0_9
LBB0_4:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_34
## %bb.8:
	movq	%rax, %rdi
LBB0_9:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OPENSSL_strdup                 ## TAILCALL
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.24:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.28:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_6
LBB0_22:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
LBB0_27:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_32
LBB0_5:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_13:
	addq	$5, %rbx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_BIO_new_file
	movq	%rax, %rdi
	movq	%rax, _app_get_pass.pwdbio(%rip)
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_6
LBB0_16:
	addq	$3, %rbx
	movq	%rbx, %rdi
	callq	_atoi
	testl	%eax, %eax
	js	LBB0_23
## %bb.17:
	movq	_BIO_NOCLOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_BIO_new_fd
	movq	%rax, _app_get_pass.pwdbio(%rip)
	testq	%rax, %rax
	je	LBB0_23
## %bb.18:
	xorl	%eax, %eax
	callq	_BIO_f_buffer
	movl	%eax, %edi
	callq	_BIO_new
	movq	_app_get_pass.pwdbio(%rip), %rsi
	movq	%rax, %rdi
	callq	_BIO_push
	movq	%rax, %rdi
	movq	%rax, _app_get_pass.pwdbio(%rip)
	jmp	LBB0_19
LBB0_25:
	movq	_FORMAT_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dup_bio_in
	movq	%rax, %rdi
	movq	%rax, _app_get_pass.pwdbio(%rip)
	testq	%rax, %rax
	jne	LBB0_19
## %bb.26:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_27
LBB0_23:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
LBB0_6:
	xorl	%r14d, %r14d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	movq	%r14, %rax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_APP_PASS_LEN,4,2               ## @APP_PASS_LEN
.zerofill __DATA,__bss,_app_get_pass.pwdbio,8,3 ## @app_get_pass.pwdbio
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pass:"

L_.str.1:                               ## @.str.1
	.asciz	"env:"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.2:                               ## @.str.2
	.asciz	"Can't read environment variable %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"file:"

L_.str.4:                               ## @.str.4
	.asciz	"r"

L_.str.5:                               ## @.str.5
	.asciz	"Can't open file %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"fd:"

	.comm	_BIO_NOCLOSE,4,2                ## @BIO_NOCLOSE
L_.str.7:                               ## @.str.7
	.asciz	"Can't access file descriptor %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"stdin"

	.comm	_FORMAT_TEXT,4,2                ## @FORMAT_TEXT
L_.str.9:                               ## @.str.9
	.asciz	"Can't open BIO for stdin\n"

L_.str.10:                              ## @.str.10
	.asciz	"Invalid password argument \"%s\"\n"

L_.str.11:                              ## @.str.11
	.asciz	"Error reading password from BIO\n"

	.no_dead_strip	_app_get_pass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function app_get_pass
_app_get_pass:                          ; @app_get_pass
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _APP_PASS_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _APP_PASS_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.1:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_12
; %bb.2:
	adrp	x23, _app_get_pass.pwdbio@PAGE
	cbz	w20, LBB0_15
; %bb.3:
	ldr	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	cbz	x0, LBB0_15
LBB0_4:
	ldr	w2, [x22]
	mov	x1, x19
	bl	_BIO_gets
	mov	x21, x0
	cmp	w20, #1
	b.eq	LBB0_6
; %bb.5:
	ldr	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	bl	_BIO_free_all
	str	xzr, [x23, _app_get_pass.pwdbio@PAGEOFF]
LBB0_6:
	cmp	w21, #0
	b.le	LBB0_19
; %bb.7:
	mov	x0, x19
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.8:
	strb	wzr, [x0]
LBB0_9:
	mov	x0, x19
	bl	_OPENSSL_strdup
	b	LBB0_32
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.11:
	add	x0, x21, #5
	b	LBB0_14
LBB0_12:
	add	x19, x21, #4
	mov	x0, x19
	bl	_getenv
	cbz	x0, LBB0_21
; %bb.13:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
LBB0_14:
	sub	sp, x29, #48
	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
	b	_OPENSSL_strdup
LBB0_15:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_22
; %bb.16:
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_24
; %bb.17:
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_27
; %bb.18:
Lloh23:
	adrp	x8, _bio_err@GOTPAGE
Lloh24:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_30
LBB0_19:
Lloh28:
	adrp	x8, _bio_err@GOTPAGE
Lloh29:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.11@PAGE
Lloh32:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_20:
	bl	_BIO_printf
	b	LBB0_31
LBB0_21:
Lloh33:
	adrp	x8, _bio_err@GOTPAGE
Lloh34:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	str	x19, [sp, #-16]!
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_22:
	add	x21, x21, #5
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_BIO_new_file
	str	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	cbnz	x0, LBB0_4
; %bb.23:
Lloh40:
	adrp	x8, _bio_err@GOTPAGE
Lloh41:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.5@PAGE
Lloh44:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_24:
	add	x21, x21, #3
	mov	x0, x21
	bl	_atoi
	tbnz	w0, #31, LBB0_29
; %bb.25:
Lloh45:
	adrp	x8, _BIO_NOCLOSE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BIO_NOCLOSE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_BIO_new_fd
	str	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	cbz	x0, LBB0_29
; %bb.26:
	bl	_BIO_f_buffer
	bl	_BIO_new
	ldr	x1, [x23, _app_get_pass.pwdbio@PAGEOFF]
	bl	_BIO_push
	str	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	b	LBB0_4
LBB0_27:
Lloh48:
	adrp	x8, _FORMAT_TEXT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FORMAT_TEXT@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_dup_bio_in
	str	x0, [x23, _app_get_pass.pwdbio@PAGEOFF]
	cbnz	x0, LBB0_4
; %bb.28:
Lloh51:
	adrp	x8, _bio_err@GOTPAGE
Lloh52:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x1, l_.str.9@PAGE
Lloh55:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_20
LBB0_29:
Lloh56:
	adrp	x8, _bio_err@GOTPAGE
Lloh57:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh59:
	adrp	x1, l_.str.7@PAGE
Lloh60:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_30:
	bl	_BIO_printf
	add	sp, sp, #16
LBB0_31:
	mov	x0, #0
LBB0_32:
	ldur	x8, [x29, #-56]
Lloh61:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh62:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #48
	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
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_APP_PASS_LEN,4,2               ; @APP_PASS_LEN
.zerofill __DATA,__bss,_app_get_pass.pwdbio,8,3 ; @app_get_pass.pwdbio
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pass:"

l_.str.1:                               ; @.str.1
	.asciz	"env:"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.2:                               ; @.str.2
	.asciz	"Can't read environment variable %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"file:"

l_.str.4:                               ; @.str.4
	.asciz	"r"

l_.str.5:                               ; @.str.5
	.asciz	"Can't open file %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"fd:"

	.comm	_BIO_NOCLOSE,4,2                ; @BIO_NOCLOSE
l_.str.7:                               ; @.str.7
	.asciz	"Can't access file descriptor %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"stdin"

	.comm	_FORMAT_TEXT,4,2                ; @FORMAT_TEXT
l_.str.9:                               ; @.str.9
	.asciz	"Can't open BIO for stdin\n"

l_.str.10:                              ; @.str.10
	.asciz	"Invalid password argument \"%s\"\n"

l_.str.11:                              ; @.str.11
	.asciz	"Error reading password from BIO\n"

	.no_dead_strip	_app_get_pass
.subsections_via_symbols
