	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_blob_header
_do_blob_header:                        ## @do_blob_header
	.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
	xorl	%r14d, %r14d
	cmpl	$16, %esi
	jb	LBB0_19
## %bb.1:
	movq	%r9, %rbx
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movb	(%rax), %cl
	movq	_MS_PUBLICKEYBLOB@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_5
## %bb.2:
	movl	$1, %ecx
	cmpl	$0, (%rbx)
	jne	LBB0_8
LBB0_3:
	movq	_PEM_F_DO_BLOB_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_EXPECTING_PRIVATE_KEY_BLOB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_MS_PRIVATEKEYBLOB@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_19
## %bb.6:
	xorl	%ecx, %ecx
	cmpl	$1, (%rbx)
	jne	LBB0_8
## %bb.7:
	movq	_PEM_F_DO_BLOB_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_EXPECTING_PUBLIC_KEY_BLOB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PEMerr
	xorl	%r14d, %r14d
	jmp	LBB0_19
LBB0_8:
	movl	%ecx, (%rbx)
	cmpb	$2, 1(%rax)
	jne	LBB0_9
## %bb.10:
	addq	$8, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	callq	_read_ledword
	movl	%eax, (%r13)
	leaq	-48(%rbp), %rdi
	callq	_read_ledword
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%r12)
	movl	$0, (%rdx)
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_18
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movl	$1, (%rdx)
LBB0_16:
	cmpl	$1, (%rbx)
	jne	LBB0_14
## %bb.17:
	movq	_PEM_F_DO_BLOB_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_EXPECTING_PUBLIC_KEY_BLOB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_PEM_F_DO_BLOB_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_BAD_VERSION_NUMBER@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_PEMerr
LBB0_19:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_PEM_F_DO_BLOB_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_BAD_MAGIC_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PEMerr
	movl	$-1, %r14d
	jmp	LBB0_19
LBB0_12:
	movl	$1, (%rdx)
LBB0_13:
	cmpl	$0, (%rbx)
	je	LBB0_3
LBB0_14:
	movq	-48(%rbp), %rax
	movq	%rax, (%r15)
	movl	$1, %r14d
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_MS_PUBLICKEYBLOB,1,0           ## @MS_PUBLICKEYBLOB
	.comm	_PEM_F_DO_BLOB_HEADER,4,2       ## @PEM_F_DO_BLOB_HEADER
	.comm	_PEM_R_EXPECTING_PRIVATE_KEY_BLOB,4,2 ## @PEM_R_EXPECTING_PRIVATE_KEY_BLOB
	.comm	_MS_PRIVATEKEYBLOB,1,0          ## @MS_PRIVATEKEYBLOB
	.comm	_PEM_R_EXPECTING_PUBLIC_KEY_BLOB,4,2 ## @PEM_R_EXPECTING_PUBLIC_KEY_BLOB
	.comm	_PEM_R_BAD_VERSION_NUMBER,4,2   ## @PEM_R_BAD_VERSION_NUMBER
	.comm	_PEM_R_BAD_MAGIC_NUMBER,4,2     ## @PEM_R_BAD_MAGIC_NUMBER
	.no_dead_strip	_do_blob_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_blob_header
_do_blob_header:                        ; @do_blob_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w1, #16
	b.lo	LBB0_20
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x22, x2
	mov	x19, x0
	ldr	x8, [x0]
	ldrb	w9, [x8]
Lloh0:
	adrp	x10, _MS_PUBLICKEYBLOB@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MS_PUBLICKEYBLOB@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x20]
	cbz	w9, LBB0_18
; %bb.3:
	mov	w9, #1
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x10, _MS_PRIVATEKEYBLOB@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MS_PRIVATEKEYBLOB@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_20
; %bb.5:
	ldr	w9, [x20]
	cmp	w9, #1
	b.eq	LBB0_12
; %bb.6:
	mov	w9, #0
LBB0_7:
	str	w9, [x20]
	ldrb	w9, [x8, #1]
	cmp	w9, #2
	b.ne	LBB0_13
; %bb.8:
	add	x8, x8, #8
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_read_ledword
	str	w0, [x22]
	add	x0, sp, #8
	bl	_read_ledword
	str	w0, [x23]
	str	wzr, [x21]
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.9:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	w8, #1
	str	w8, [x21]
LBB0_11:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_17
LBB0_12:
Lloh6:
	adrp	x8, _PEM_F_DO_BLOB_HEADER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PEM_F_DO_BLOB_HEADER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _PEM_R_EXPECTING_PUBLIC_KEY_BLOB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PEM_R_EXPECTING_PUBLIC_KEY_BLOB@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:
Lloh11:
	adrp	x8, _PEM_F_DO_BLOB_HEADER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PEM_F_DO_BLOB_HEADER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _PEM_R_BAD_VERSION_NUMBER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PEM_R_BAD_VERSION_NUMBER@GOTPAGEOFF]
	b	LBB0_19
LBB0_14:
Lloh16:
	adrp	x8, _PEM_F_DO_BLOB_HEADER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PEM_F_DO_BLOB_HEADER@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _PEM_R_BAD_MAGIC_NUMBER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PEM_R_BAD_MAGIC_NUMBER@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_PEMerr
	mov	w0, #-1
	b	LBB0_21
LBB0_15:
	mov	w8, #1
	str	w8, [x21]
LBB0_16:
	ldr	w8, [x20]
	cbz	w8, LBB0_18
LBB0_17:
	ldr	x8, [sp, #8]
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_21
LBB0_18:
Lloh22:
	adrp	x8, _PEM_F_DO_BLOB_HEADER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PEM_F_DO_BLOB_HEADER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _PEM_R_EXPECTING_PRIVATE_KEY_BLOB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PEM_R_EXPECTING_PRIVATE_KEY_BLOB@GOTPAGEOFF]
LBB0_19:
	ldr	w1, [x8]
	bl	_PEMerr
LBB0_20:
	mov	w0, #0
LBB0_21:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_16-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
                                        ; -- End function
	.comm	_MS_PUBLICKEYBLOB,1,0           ; @MS_PUBLICKEYBLOB
	.comm	_PEM_F_DO_BLOB_HEADER,4,2       ; @PEM_F_DO_BLOB_HEADER
	.comm	_PEM_R_EXPECTING_PRIVATE_KEY_BLOB,4,2 ; @PEM_R_EXPECTING_PRIVATE_KEY_BLOB
	.comm	_MS_PRIVATEKEYBLOB,1,0          ; @MS_PRIVATEKEYBLOB
	.comm	_PEM_R_EXPECTING_PUBLIC_KEY_BLOB,4,2 ; @PEM_R_EXPECTING_PUBLIC_KEY_BLOB
	.comm	_PEM_R_BAD_VERSION_NUMBER,4,2   ; @PEM_R_BAD_VERSION_NUMBER
	.comm	_PEM_R_BAD_MAGIC_NUMBER,4,2     ; @PEM_R_BAD_MAGIC_NUMBER
	.no_dead_strip	_do_blob_header
.subsections_via_symbols
