	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_key
_decode_key:                            ## @decode_key
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-36(%rbp), %r12
	movq	%r12, %rdi
	callq	_br_skey_decoder_init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_br_skey_decoder_push
	movq	%r12, %rdi
	callq	_br_skey_decoder_last_error
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edi
	callq	_find_error_name
	movl	(%r14), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_9
LBB0_4:
	leaq	-36(%rbp), %rdi
	callq	_br_skey_decoder_key_type
	cmpl	$129, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.6:
	leaq	-36(%rbp), %rdi
	callq	_br_skey_decoder_get_rsa
	movq	%rax, %rbx
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_print_rsa
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_9
LBB0_7:
	leaq	-36(%rbp), %rdi
	callq	_br_skey_decoder_get_ec
	movq	%rax, %r15
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ec_curve_name
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_print_ec
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-36(%rbp), %rdi
	callq	_br_skey_decoder_key_type
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR (decoding): err=%d\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"  (unknown)\n"

L_.str.3:                               ## @.str.3
	.asciz	"RSA key (%lu bits)\n"

L_.str.4:                               ## @.str.4
	.asciz	"EC key (curve = %d: %s)\n"

L_.str.5:                               ## @.str.5
	.asciz	"Unknown key type: %d\n"

	.no_dead_strip	_decode_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_key
_decode_key:                            ; @decode_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #28
	bl	_br_skey_decoder_init
	add	x0, sp, #28
	mov	x1, x21
	mov	x2, x20
	bl	_br_skey_decoder_push
	add	x0, sp, #28
	bl	_br_skey_decoder_last_error
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x19, _stderr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	add	x1, sp, #16
	mov	x0, x20
	bl	_find_error_name
	mov	x8, x0
	ldr	w0, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x9, [sp, #16]
	stp	x8, x9, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_3:
	add	x0, sp, #28
	bl	_br_skey_decoder_key_type
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.5:
	add	x0, sp, #28
	bl	_br_skey_decoder_get_rsa
	mov	x20, x0
	ldr	w1, [x0]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	mov	x0, x20
	mov	x1, x19
	bl	_print_rsa
	b	LBB0_10
LBB0_6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	add	x0, sp, #28
	bl	_br_skey_decoder_get_ec
	mov	x20, x0
	ldr	w21, [x0]
	mov	x0, x21
	bl	_ec_curve_name
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	bl	_printf
	mov	x0, x20
	mov	x1, x19
	bl	_print_ec
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	add	x0, sp, #28
	bl	_br_skey_decoder_key_type
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
LBB0_9:
	bl	_fprintf
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR (decoding): err=%d\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"  (unknown)\n"

l_.str.3:                               ; @.str.3
	.asciz	"RSA key (%lu bits)\n"

l_.str.4:                               ; @.str.4
	.asciz	"EC key (curve = %d: %s)\n"

l_.str.5:                               ; @.str.5
	.asciz	"Unknown key type: %d\n"

	.no_dead_strip	_decode_key
.subsections_via_symbols
