	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_b2i
_do_b2i:                                ## @do_b2i
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	%edx, -12(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-36(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	leaq	-16(%rbp), %r8
	leaq	-12(%rbp), %r9
	callq	_do_blob_header
	testq	%rax, %rax
	jle	LBB0_1
## %bb.3:
	addl	$-16, %ebx
	movl	-20(%rbp), %edi
	movl	-16(%rbp), %esi
	movl	-12(%rbp), %edx
	callq	_blob_length
	cmpl	%eax, %ebx
	jae	LBB0_5
## %bb.4:
	movq	_PEM_F_DO_B2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_KEYBLOB_TOO_SHORT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_PEM_F_DO_B2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_KEYBLOB_HEADER_PARSE_ERROR@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_PEMerr
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	cmpl	$0, -16(%rbp)
	movl	-20(%rbp), %esi
	movl	-12(%rbp), %edx
	leaq	-32(%rbp), %rdi
	je	LBB0_7
## %bb.6:
	callq	_b2i_dss
	jmp	LBB0_8
LBB0_7:
	callq	_b2i_rsa
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PEM_F_DO_B2I,4,2               ## @PEM_F_DO_B2I
	.comm	_PEM_R_KEYBLOB_HEADER_PARSE_ERROR,4,2 ## @PEM_R_KEYBLOB_HEADER_PARSE_ERROR
	.comm	_PEM_R_KEYBLOB_TOO_SHORT,4,2    ## @PEM_R_KEYBLOB_TOO_SHORT
	.no_dead_strip	_do_b2i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_b2i
_do_b2i:                                ; @do_b2i
	.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
	stur	w2, [x29, #-20]
	ldr	x8, [x0]
	str	x8, [sp, #16]
	add	x0, sp, #16
	add	x2, sp, #8
	add	x3, sp, #12
	add	x4, sp, #4
	sub	x5, x29, #20
	bl	_do_blob_header
	cmp	x0, #0
	b.le	LBB0_3
; %bb.1:
	sub	w19, w19, #16
	ldr	w0, [sp, #12]
	ldr	w1, [sp, #4]
	ldur	w2, [x29, #-20]
	bl	_blob_length
	cmp	w19, w0
	b.hs	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _PEM_F_DO_B2I@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEM_F_DO_B2I@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PEM_R_KEYBLOB_TOO_SHORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PEM_R_KEYBLOB_TOO_SHORT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _PEM_F_DO_B2I@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PEM_F_DO_B2I@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PEM_R_KEYBLOB_HEADER_PARSE_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PEM_R_KEYBLOB_HEADER_PARSE_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	bl	_PEMerr
	mov	x0, #0
	b	LBB0_8
LBB0_5:
	ldr	w8, [sp, #4]
	ldr	w1, [sp, #12]
	ldur	w2, [x29, #-20]
	add	x0, sp, #16
	cbz	w8, LBB0_7
; %bb.6:
	bl	_b2i_dss
	b	LBB0_8
LBB0_7:
	bl	_b2i_rsa
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PEM_F_DO_B2I,4,2               ; @PEM_F_DO_B2I
	.comm	_PEM_R_KEYBLOB_HEADER_PARSE_ERROR,4,2 ; @PEM_R_KEYBLOB_HEADER_PARSE_ERROR
	.comm	_PEM_R_KEYBLOB_TOO_SHORT,4,2    ; @PEM_R_KEYBLOB_TOO_SHORT
	.no_dead_strip	_do_b2i
.subsections_via_symbols
