	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_UTIL_wrap_read_pem_callback ## -- Begin function UI_UTIL_wrap_read_pem_callback
	.p2align	4, 0x90
_UI_UTIL_wrap_read_pem_callback:        ## @UI_UTIL_wrap_read_pem_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	$16, %edi
	callq	_OPENSSL_zalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_UI_create_method
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	movq	_ui_open@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_UI_method_set_opener
	testq	%rax, %rax
	js	LBB0_11
## %bb.3:
	movq	_ui_read@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_UI_method_set_reader
	testq	%rax, %rax
	js	LBB0_11
## %bb.4:
	movq	_ui_write@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_UI_method_set_writer
	testq	%rax, %rax
	js	LBB0_11
## %bb.5:
	movq	_ui_close@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_UI_method_set_closer
	testq	%rax, %rax
	js	LBB0_11
## %bb.6:
	movq	_ui_method_data_index_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_get_index_once@GOTPCREL(%rip), %rdi
	callq	_RUN_ONCE
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movq	_ui_method_data_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_UI_method_set_ex_data
	testq	%rax, %rax
	js	LBB0_11
## %bb.8:
	movl	%r12d, (%r14)
	movq	%r15, 8(%r14)
	jmp	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rdi
	callq	_UI_destroy_method
	movq	%r14, %rdi
	callq	_OPENSSL_free
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PEM password callback wrapper"

	.comm	_ui_open,4,2                    ## @ui_open
	.comm	_ui_read,4,2                    ## @ui_read
	.comm	_ui_write,4,2                   ## @ui_write
	.comm	_ui_close,4,2                   ## @ui_close
	.comm	_get_index_once,4,2             ## @get_index_once
	.comm	_ui_method_data_index_init,4,2  ## @ui_method_data_index_init
	.comm	_ui_method_data_index,4,2       ## @ui_method_data_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_UTIL_wrap_read_pem_callback ; -- Begin function UI_UTIL_wrap_read_pem_callback
	.p2align	2
_UI_UTIL_wrap_read_pem_callback:        ; @UI_UTIL_wrap_read_pem_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x21, x0
	mov	w0, #16
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UI_create_method
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.2:
Lloh2:
	adrp	x8, _ui_open@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ui_open@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_UI_method_set_opener
	tbnz	x0, #63, LBB0_10
; %bb.3:
Lloh5:
	adrp	x8, _ui_read@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ui_read@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_UI_method_set_reader
	tbnz	x0, #63, LBB0_10
; %bb.4:
Lloh8:
	adrp	x8, _ui_write@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ui_write@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_UI_method_set_writer
	tbnz	x0, #63, LBB0_10
; %bb.5:
Lloh11:
	adrp	x8, _ui_close@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ui_close@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_UI_method_set_closer
	tbnz	x0, #63, LBB0_10
; %bb.6:
Lloh14:
	adrp	x8, _ui_method_data_index_init@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ui_method_data_index_init@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x0, _get_index_once@GOTPAGE
Lloh18:
	ldr	x0, [x0, _get_index_once@GOTPAGEOFF]
	bl	_RUN_ONCE
	cbz	w0, LBB0_10
; %bb.7:
Lloh19:
	adrp	x8, _ui_method_data_index@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ui_method_data_index@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_UI_method_set_ex_data
	tbnz	x0, #63, LBB0_10
; %bb.8:
	str	w22, [x19]
	str	x21, [x19, #8]
	b	LBB0_11
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	bl	_UI_destroy_method
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PEM password callback wrapper"

	.comm	_ui_open,4,2                    ; @ui_open
	.comm	_ui_read,4,2                    ; @ui_read
	.comm	_ui_write,4,2                   ; @ui_write
	.comm	_ui_close,4,2                   ; @ui_close
	.comm	_get_index_once,4,2             ; @get_index_once
	.comm	_ui_method_data_index_init,4,2  ; @ui_method_data_index_init
	.comm	_ui_method_data_index,4,2       ; @ui_method_data_index
.subsections_via_symbols
