	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NETSCAPE_SPKI_print            ## -- Begin function NETSCAPE_SPKI_print
	.p2align	4, 0x90
_NETSCAPE_SPKI_print:                   ## @NETSCAPE_SPKI_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	16(%r14), %rax
	movl	8(%rax), %r8d
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_X509_PUBKEY_get0_param
	movq	-64(%rbp), %rdi
	callq	_OBJ_obj2nid
	movq	_NID_undef@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	movl	%eax, %edi
	callq	_OBJ_nid2ln
	movq	%rax, %rdx
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	16(%r14), %rax
	movl	8(%rax), %edi
	callq	_X509_PUBKEY_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_EVP_PKEY_print_public
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_6:
	movq	16(%r14), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.7:
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_8:
	movq	8(%r14), %rdi
	callq	_OBJ_obj2nid
	cmpl	(%r12), %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %edi
	callq	_OBJ_nid2ln
	movq	%rax, %rdx
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rbx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%r14), %rax
	movl	(%rax), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.12:
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	-1(%rax), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r13), %edx
	leaq	1(%r13), %r12
	cmpq	%r13, %r14
	leaq	L_.str.9(%rip), %rcx
	leaq	L_.str.8(%rip), %rax
	cmoveq	%rax, %rcx
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	decl	%r15d
	movq	%r12, %r13
	cmpq	%r12, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	imulq	$954437177, %rax, %rax          ## imm = 0x38E38E39
	shrq	$34, %rax
	leal	(%rax,%rax,8), %eax
	addl	%eax, %eax
	addl	%r15d, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$7, %edx
	callq	_BIO_write
	jmp	LBB0_15
LBB0_16:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_BIO_write
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Netscape SPKI:\n"

L_.str.1:                               ## @.str.1
	.asciz	"  Public Key Algorithm: %s\n"

	.comm	_NID_undef,4,2                  ## @NID_undef
L_.str.2:                               ## @.str.2
	.asciz	"UNKNOWN"

L_.str.3:                               ## @.str.3
	.asciz	"  Unable to load public key\n"

L_.str.4:                               ## @.str.4
	.asciz	"  Challenge String: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"  Signature Algorithm: %s"

L_.str.6:                               ## @.str.6
	.asciz	"\n      "

L_.str.7:                               ## @.str.7
	.asciz	"%02x%s"

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

L_.str.9:                               ## @.str.9
	.asciz	":"

L_.str.10:                              ## @.str.10
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NETSCAPE_SPKI_print            ; -- Begin function NETSCAPE_SPKI_print
	.p2align	2
_NETSCAPE_SPKI_print:                   ; @NETSCAPE_SPKI_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	ldr	x8, [x20, #16]
	ldr	w4, [x8, #8]
	add	x0, sp, #24
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_X509_PUBKEY_get0_param
	ldr	x0, [sp, #24]
	bl	_OBJ_obj2nid
Lloh2:
	adrp	x22, _NID_undef@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NID_undef@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:
	bl	_OBJ_nid2ln
LBB0_3:
	str	x0, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_BIO_printf
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #8]
	bl	_X509_PUBKEY_get
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	mov	x3, #0
	bl	_EVP_PKEY_print_public
	mov	x0, x21
	bl	_EVP_PKEY_free
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_BIO_printf
LBB0_6:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.7:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_BIO_printf
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_OBJ_obj2nid
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.9:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_10:
	bl	_OBJ_nid2ln
LBB0_11:
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_BIO_printf
	ldr	x8, [x20]
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.12:
	mov	w23, #0
	mov	w24, #0
	ldr	x25, [x8, #8]
	mov	w26, #36409
	movk	w26, #14563, lsl #16
	mov	w27, #18
Lloh16:
	adrp	x28, l_.str.9@PAGE
Lloh17:
	add	x28, x28, l_.str.9@PAGEOFF
Lloh18:
	adrp	x20, l_.str.8@PAGE
Lloh19:
	add	x20, x20, l_.str.8@PAGEOFF
Lloh20:
	adrp	x21, l_.str.7@PAGE
Lloh21:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldrb	w8, [x25], #1
	subs	x22, x22, #1
	csel	x9, x20, x28, eq
	stp	x8, x9, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_BIO_printf
	sub	w24, w24, #1
	add	w23, w23, #1
	cbz	x22, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	umull	x8, w23, w26
	lsr	x8, x8, #34
	madd	w8, w8, w27, w24
	cbnz	w8, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #7
	bl	_BIO_write
	b	LBB0_13
LBB0_16:
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_BIO_write
	mov	w0, #1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Netscape SPKI:\n"

l_.str.1:                               ; @.str.1
	.asciz	"  Public Key Algorithm: %s\n"

	.comm	_NID_undef,4,2                  ; @NID_undef
l_.str.2:                               ; @.str.2
	.asciz	"UNKNOWN"

l_.str.3:                               ; @.str.3
	.asciz	"  Unable to load public key\n"

l_.str.4:                               ; @.str.4
	.asciz	"  Challenge String: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"  Signature Algorithm: %s"

l_.str.6:                               ; @.str.6
	.asciz	"\n      "

l_.str.7:                               ; @.str.7
	.asciz	"%02x%s"

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

l_.str.9:                               ; @.str.9
	.asciz	":"

l_.str.10:                              ; @.str.10
	.asciz	"\n"

.subsections_via_symbols
