	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_key_level
_check_key_level:                       ## @check_key_level
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_X509_get0_pubkey
	movq	(%rbx), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_NUM_AUTH_LEVELS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	cmpl	%ebx, %ecx
	cmovll	%ecx, %ebx
	movq	%rax, %rdi
	callq	_EVP_PKEY_security_bits
	movq	%rax, %rcx
	movq	_minbits_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%ebx, %rsi
	xorl	%eax, %eax
	cmpq	-8(%rdx,%rsi,8), %rcx
	setge	%al
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_AUTH_LEVELS,4,2            ## @NUM_AUTH_LEVELS
	.comm	_minbits_table,8,3              ## @minbits_table
	.no_dead_strip	_check_key_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_key_level
_check_key_level:                       ; @check_key_level
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_X509_get0_pubkey
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _NUM_AUTH_LEVELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUM_AUTH_LEVELS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w19, w8, w9, lt
	bl	_EVP_PKEY_security_bits
Lloh3:
	adrp	x8, _minbits_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _minbits_table@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	w9, w19, #1
	ldr	x8, [x8, w9, sxtw #3]
	cmp	x0, x8
	cset	w0, ge
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_AUTH_LEVELS,4,2            ; @NUM_AUTH_LEVELS
	.comm	_minbits_table,8,3              ; @minbits_table
	.no_dead_strip	_check_key_level
.subsections_via_symbols
