	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_sig_level
_check_sig_level:                       ## @check_sig_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, -28(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	movq	_NUM_AUTH_LEVELS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	leaq	-28(%rbp), %rcx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_X509_get_signature_info
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	cmpl	%r15d, %r14d
	cmovll	%r14d, %r15d
	movl	-28(%rbp), %eax
	movq	_minbits_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r15d, %rdx
	xorl	%ebx, %ebx
	cmpl	-4(%rcx,%rdx,4), %eax
	setge	%bl
	jmp	LBB0_4
LBB0_1:
	movl	$1, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_sig_level
.subsections_via_symbols

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