	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-28(%rbp), %r15
	movq	%r15, %rdi
	callq	_br_skey_decoder_init
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_br_skey_decoder_push
	movq	%r15, %rdi
	callq	_br_skey_decoder_last_error
	testl	%eax, %eax
	je	LBB0_5
## %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	-40(%rbp), %rsi
	movl	%ebx, %edi
	callq	_find_error_name
	movl	(%r14), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_5:
	leaq	-28(%rbp), %rdi
	callq	_br_skey_decoder_key_type
	cmpl	$129, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.7:
	leaq	-28(%rbp), %rdi
	callq	_br_skey_decoder_get_rsa
	movq	%rax, %r14
	movl	$120, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	$128, (%rax)
	movl	40(%r14), %eax
	movl	%eax, 112(%rbx)
	movl	32(%r14), %esi
	movl	36(%r14), %edi
	callq	_xblobdup
	movq	%rax, 104(%rbx)
	movl	32(%r14), %eax
	movl	%eax, 96(%rbx)
	movl	24(%r14), %esi
	movl	28(%r14), %edi
	callq	_xblobdup
	movq	%rax, 88(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 80(%rbx)
	movl	16(%r14), %esi
	movl	20(%r14), %edi
	callq	_xblobdup
	movq	%rax, 72(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 64(%rbx)
	movl	8(%r14), %esi
	movl	12(%r14), %edi
	callq	_xblobdup
	movq	%rax, 56(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 48(%rbx)
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_xblobdup
	movq	%rax, 40(%rbx)
	movl	(%r14), %eax
	movl	%eax, 32(%rbx)
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:
	leaq	-28(%rbp), %rdi
	callq	_br_skey_decoder_get_ec
	movq	%rax, %r14
	movl	$120, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	$129, (%rax)
	movl	8(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_xblobdup
	movq	%rax, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_10
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-28(%rbp), %rdi
	callq	_br_skey_decoder_key_type
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	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	"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, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	sub	x0, x29, #20
	bl	_br_skey_decoder_init
	sub	x0, x29, #20
	mov	x1, x20
	mov	x2, x19
	bl	_br_skey_decoder_push
	sub	x0, x29, #20
	bl	_br_skey_decoder_last_error
	cbz	w0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _stderr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	str	x19, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	add	x1, sp, #16
	mov	x0, x19
	bl	_find_error_name
	mov	x8, x0
	ldr	w0, [x20]
	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:
	sub	x0, x29, #20
	bl	_br_skey_decoder_key_type
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.5:
	sub	x0, x29, #20
	bl	_br_skey_decoder_get_rsa
	mov	x20, x0
	mov	w0, #120
	bl	_xmalloc
	mov	x19, x0
	mov	w8, #128
	str	w8, [x0]
	ldr	w8, [x20, #40]
	str	w8, [x0, #112]
	ldp	w1, w0, [x20, #32]
	bl	_xblobdup
	str	x0, [x19, #104]
	ldr	w8, [x20, #32]
	str	w8, [x19, #96]
	ldp	w1, w0, [x20, #24]
	bl	_xblobdup
	str	x0, [x19, #88]
	ldr	w8, [x20, #24]
	str	w8, [x19, #80]
	ldp	w1, w0, [x20, #16]
	bl	_xblobdup
	str	x0, [x19, #72]
	ldr	w8, [x20, #16]
	str	w8, [x19, #64]
	ldp	w1, w0, [x20, #8]
	bl	_xblobdup
	str	x0, [x19, #56]
	ldr	w8, [x20, #8]
	str	w8, [x19, #48]
	ldp	w1, w0, [x20]
	bl	_xblobdup
	str	x0, [x19, #40]
	ldr	w8, [x20]
	str	w8, [x19, #32]
	b	LBB0_10
LBB0_6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:
	sub	x0, x29, #20
	bl	_br_skey_decoder_get_ec
	mov	x20, x0
	mov	w0, #120
	bl	_xmalloc
	mov	x19, x0
	mov	w8, #129
	str	w8, [x0]
	ldr	w8, [x20, #8]
	str	w8, [x0, #24]
	ldp	w1, w0, [x20]
	bl	_xblobdup
	str	x0, [x19, #16]
	ldr	w8, [x20]
	str	w8, [x19, #8]
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	sub	x0, x29, #20
	bl	_br_skey_decoder_key_type
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
LBB0_9:
	bl	_fprintf
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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	"Unknown key type: %d\n"

	.no_dead_strip	_decode_key
.subsections_via_symbols
