	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_EC_KEY_print
_do_EC_KEY_print:                       ## @do_EC_KEY_print
	.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	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_EC_KEY_get0_group
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_EC_KEY_PRINT_PARAM@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_EC_KEY_get0_public_key
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_EC_KEY_get_conv_form
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_EC_KEY_key2buf
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_22
LBB0_4:
	movq	_EC_F_DO_EC_KEY_PRINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_EC_KEY_PRINT_PRIVATE@GOTPCREL(%rip), %rbx
	cmpq	%r13, (%rbx)
	jne	LBB0_12
## %bb.9:
	movq	%r12, %rdi
	callq	_EC_KEY_get0_private_key
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_EC_KEY_priv2buf
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	(%rbx), %r12
	movq	_EC_KEY_PRINT_PUBLIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$128, %edx
	callq	_BIO_indent
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:
	cmpq	%r13, %rbx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rax, %rcx
	cmpq	%r13, %r12
	leaq	L_.str(%rip), %rbx
	cmovneq	%rcx, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_EC_GROUP_order_bits
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%rax, %rax
	jle	LBB0_22
## %bb.15:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%rax, %rax
	jle	LBB0_22
## %bb.17:
	movq	-64(%rbp), %rsi
	leal	4(%r15), %ecx
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_ASN1_buf_print
	testq	%rax, %rax
	je	LBB0_22
LBB0_18:
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.19:
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%rax, %rax
	jle	LBB0_22
## %bb.20:
	movq	-56(%rbp), %rsi
	leal	4(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_ASN1_buf_print
	testq	%rax, %rax
	je	LBB0_22
LBB0_21:
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_ECPKParameters_print
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_23
LBB0_22:
	movq	_EC_F_DO_EC_KEY_PRINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EC_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%ebx, %ebx
LBB0_23:
	movq	-64(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_OPENSSL_clear_free
	movq	-56(%rbp), %rdi
	callq	_OPENSSL_free
LBB0_24:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_DO_EC_KEY_PRINT,4,2       ## @EC_F_DO_EC_KEY_PRINT
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_EC_KEY_PRINT_PARAM,8,3         ## @EC_KEY_PRINT_PARAM
	.comm	_EC_KEY_PRINT_PRIVATE,8,3       ## @EC_KEY_PRINT_PRIVATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Private-Key"

	.comm	_EC_KEY_PRINT_PUBLIC,8,3        ## @EC_KEY_PRINT_PUBLIC
L_.str.1:                               ## @.str.1
	.asciz	"Public-Key"

L_.str.2:                               ## @.str.2
	.asciz	"ECDSA-Parameters"

L_.str.3:                               ## @.str.3
	.asciz	"%s: (%d bit)\n"

L_.str.4:                               ## @.str.4
	.asciz	"%*spriv:\n"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"%*spub:\n"

	.comm	_ERR_R_EC_LIB,4,2               ## @ERR_R_EC_LIB
	.no_dead_strip	_do_EC_KEY_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_EC_KEY_print
_do_EC_KEY_print:                       ; @do_EC_KEY_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	stp	xzr, xzr, [sp, #16]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x24, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_EC_KEY_get0_group
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x8, _EC_KEY_PRINT_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_KEY_PRINT_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x24
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x22
	bl	_EC_KEY_get0_public_key
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x22
	bl	_EC_KEY_get_conv_form
	mov	x1, x0
	add	x2, sp, #16
	mov	x0, x22
	mov	x3, #0
	bl	_EC_KEY_key2buf
	mov	x23, x0
	cbnz	x0, LBB0_8
; %bb.5:
	mov	x22, #0
	b	LBB0_22
LBB0_6:
Lloh3:
	adrp	x8, _EC_F_DO_EC_KEY_PRINT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EC_F_DO_EC_KEY_PRINT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w19, #0
	b	LBB0_24
LBB0_7:
	mov	x23, #0
LBB0_8:
Lloh9:
	adrp	x25, _EC_KEY_PRINT_PRIVATE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _EC_KEY_PRINT_PRIVATE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x24
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x22
	bl	_EC_KEY_get0_private_key
	cbz	x0, LBB0_11
; %bb.10:
	add	x1, sp, #24
	mov	x0, x22
	bl	_EC_KEY_priv2buf
	mov	x22, x0
	cbnz	x0, LBB0_12
	b	LBB0_22
LBB0_11:
	mov	x22, #0
LBB0_12:
	ldr	x25, [x25]
Lloh11:
	adrp	x8, _EC_KEY_PRINT_PUBLIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EC_KEY_PRINT_PUBLIC@GOTPAGEOFF]
Lloh13:
	ldr	x26, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #128
	bl	_BIO_indent
	cbz	w0, LBB0_22
; %bb.13:
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, l_.str.1@PAGE
Lloh17:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x26, x24
	csel	x8, x9, x8, eq
Lloh18:
	adrp	x9, l_.str@PAGE
Lloh19:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x25, x24
	csel	x24, x9, x8, eq
	mov	x0, x21
	bl	_EC_GROUP_order_bits
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.14:
	cbz	x22, LBB0_17
; %bb.15:
Lloh22:
	adrp	x8, l_.str.5@PAGE
Lloh23:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x19, x8, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.16:
	ldr	x1, [sp, #24]
	add	w3, w19, #4
	mov	x0, x20
	mov	x2, x22
	bl	_ASN1_buf_print
	cbz	x0, LBB0_22
LBB0_17:
	cbz	x23, LBB0_20
; %bb.18:
Lloh26:
	adrp	x8, l_.str.5@PAGE
Lloh27:
	add	x8, x8, l_.str.5@PAGEOFF
	mov	x9, x19
	stp	x9, x8, [sp]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.19:
	ldr	x1, [sp, #16]
	add	w3, w19, #4
	mov	x0, x20
	mov	x2, x23
	bl	_ASN1_buf_print
	cbz	x0, LBB0_22
LBB0_20:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_ECPKParameters_print
	cbz	w0, LBB0_22
; %bb.21:
	mov	w19, #1
	b	LBB0_23
LBB0_22:
Lloh30:
	adrp	x8, _EC_F_DO_EC_KEY_PRINT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EC_F_DO_EC_KEY_PRINT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _ERR_R_EC_LIB@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ERR_R_EC_LIB@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w19, #0
LBB0_23:
	ldr	x0, [sp, #24]
	mov	x1, x22
	bl	_OPENSSL_clear_free
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
LBB0_24:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_DO_EC_KEY_PRINT,4,2       ; @EC_F_DO_EC_KEY_PRINT
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_EC_KEY_PRINT_PARAM,8,3         ; @EC_KEY_PRINT_PARAM
	.comm	_EC_KEY_PRINT_PRIVATE,8,3       ; @EC_KEY_PRINT_PRIVATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Private-Key"

	.comm	_EC_KEY_PRINT_PUBLIC,8,3        ; @EC_KEY_PRINT_PUBLIC
l_.str.1:                               ; @.str.1
	.asciz	"Public-Key"

l_.str.2:                               ; @.str.2
	.asciz	"ECDSA-Parameters"

l_.str.3:                               ; @.str.3
	.asciz	"%s: (%d bit)\n"

l_.str.4:                               ; @.str.4
	.asciz	"%*spriv:\n"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"%*spub:\n"

	.comm	_ERR_R_EC_LIB,4,2               ; @ERR_R_EC_LIB
	.no_dead_strip	_do_EC_KEY_print
.subsections_via_symbols
