	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ASN1_STRING_to_text
_ASN1_STRING_to_text:                   ## @ASN1_STRING_to_text
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	_BIO_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_BIO_set_close
	movq	_ASN1_STRFLGS_RFC2253@GOTPCREL(%rip), %rax
	movq	_ASN1_STRFLGS_ESC_MSB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	(%rax), %edx
	movq	_ASN1_STRFLGS_UTF8_CONVERT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ASN1_STRING_print_ex
	movb	$0, -25(%rbp)
	leaq	-25(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_BIO_write
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_BIO_get_mem_data
	movq	-40(%rbp), %rdi
	leaq	-1(%rax), %rsi
	movq	_PG_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_pg_any_to_server
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cstring_to_text
	movq	%rax, %r14
	cmpq	-40(%rbp), %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_pfree
LBB0_4:
	movq	%r15, %rdi
	callq	_BIO_free
	cmpl	$1, %eax
	je	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_6:
	movq	%r14, %rdi
	callq	_PG_RETURN_TEXT_P
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not create OpenSSL BIO structure"

	.comm	_BIO_CLOSE,4,2                  ## @BIO_CLOSE
	.comm	_ASN1_STRFLGS_RFC2253,4,2       ## @ASN1_STRFLGS_RFC2253
	.comm	_ASN1_STRFLGS_ESC_MSB,4,2       ## @ASN1_STRFLGS_ESC_MSB
	.comm	_ASN1_STRFLGS_UTF8_CONVERT,4,2  ## @ASN1_STRFLGS_UTF8_CONVERT
	.comm	_PG_UTF8,4,2                    ## @PG_UTF8
L_.str.1:                               ## @.str.1
	.asciz	"could not free OpenSSL BIO structure"

	.no_dead_strip	_ASN1_STRING_to_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ASN1_STRING_to_text
_ASN1_STRING_to_text:                   ; @ASN1_STRING_to_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
Lloh8:
	adrp	x8, _BIO_CLOSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIO_CLOSE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BIO_set_close
Lloh11:
	adrp	x8, _ASN1_STRFLGS_RFC2253@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_STRFLGS_RFC2253@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ASN1_STRFLGS_ESC_MSB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ASN1_STRFLGS_ESC_MSB@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh17:
	adrp	x9, _ASN1_STRFLGS_UTF8_CONVERT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ASN1_STRFLGS_UTF8_CONVERT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_ASN1_STRING_print_ex
	strb	wzr, [sp, #15]
	add	x1, sp, #15
	mov	x0, x19
	mov	w2, #1
	bl	_BIO_write
	mov	x1, sp
	mov	x0, x19
	bl	_BIO_get_mem_data
	ldr	x8, [sp]
	sub	x1, x0, #1
Lloh20:
	adrp	x9, _PG_UTF8@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PG_UTF8@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x9]
	mov	x0, x8
	bl	_pg_any_to_server
	mov	x21, x0
	bl	_cstring_to_text
	mov	x20, x0
	ldr	x8, [sp]
	cmp	x21, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_pfree
LBB0_4:
	mov	x0, x19
	bl	_BIO_free
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.5:
Lloh23:
	adrp	x8, _ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_6:
	mov	x0, x20
	bl	_PG_RETURN_TEXT_P
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not create OpenSSL BIO structure"

	.comm	_BIO_CLOSE,4,2                  ; @BIO_CLOSE
	.comm	_ASN1_STRFLGS_RFC2253,4,2       ; @ASN1_STRFLGS_RFC2253
	.comm	_ASN1_STRFLGS_ESC_MSB,4,2       ; @ASN1_STRFLGS_ESC_MSB
	.comm	_ASN1_STRFLGS_UTF8_CONVERT,4,2  ; @ASN1_STRFLGS_UTF8_CONVERT
	.comm	_PG_UTF8,4,2                    ; @PG_UTF8
l_.str.1:                               ; @.str.1
	.asciz	"could not free OpenSSL BIO structure"

	.no_dead_strip	_ASN1_STRING_to_text
.subsections_via_symbols
