	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sec_parse_public_sig
_sec_parse_public_sig:                  ## @sec_parse_public_sig
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEC_MAX_MODULUS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(,%r14,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	cmpl	$72, %r15d
	jne	LBB0_1
## %bb.2:
	shll	$2, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	$64, %edx
	callq	_in_uint8a
	movq	_SEC_EXPONENT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_server_public_key_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SEC_MODULUS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_g_testkey@GOTPCREL(%rip), %rax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %r8
	pushq	(%rax)
	pushq	$64
	pushq	%r12
	callq	_rdssl_sign_ok
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_DEBUG_RDP5
LBB0_4:
	movl	%ebx, %edi
	callq	_s_check
	jmp	LBB0_5
LBB0_1:
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_MAX_MODULUS_SIZE,4,2       ## @SEC_MAX_MODULUS_SIZE
	.comm	_True,4,2                       ## @True
	.comm	_SEC_EXPONENT_SIZE,4,2          ## @SEC_EXPONENT_SIZE
	.comm	_g_server_public_key_len,4,2    ## @g_server_public_key_len
	.comm	_SEC_MODULUS_SIZE,4,2           ## @SEC_MODULUS_SIZE
	.comm	_g_testkey,8,3                  ## @g_testkey
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key signature doesn't match test key\n"

	.no_dead_strip	_sec_parse_public_sig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sec_parse_public_sig
_sec_parse_public_sig:                  ; @sec_parse_public_sig
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _SEC_MAX_MODULUS_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEC_MAX_MODULUS_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x22, x9, x13
	mov	sp, x22
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x13
	mov	sp, x23
	cmp	w1, #72
	b.ne	LBB0_4
; %bb.1:
	lsl	w2, w12, #2
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	mov	x1, x22
	mov	w2, #64
	bl	_in_uint8a
Lloh10:
	adrp	x8, _SEC_EXPONENT_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEC_EXPONENT_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _g_server_public_key_len@GOTPAGE
Lloh14:
	ldr	x8, [x8, _g_server_public_key_len@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x8, _SEC_MODULUS_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SEC_MODULUS_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x8]
Lloh19:
	adrp	x8, _g_testkey@GOTPAGE
Lloh20:
	ldr	x8, [x8, _g_testkey@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [sp, #-16]!
	mov	x0, x21
	mov	x2, x20
	mov	x4, x23
	mov	x6, x22
	mov	w7, #64
	bl	_rdssl_sign_ok
	add	sp, sp, #16
	cbz	x0, LBB0_3
; %bb.2:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG_RDP5
LBB0_3:
	mov	x0, x19
	bl	_s_check
	b	LBB0_5
LBB0_4:
Lloh24:
	adrp	x8, _True@GOTPAGE
Lloh25:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_MAX_MODULUS_SIZE,4,2       ; @SEC_MAX_MODULUS_SIZE
	.comm	_True,4,2                       ; @True
	.comm	_SEC_EXPONENT_SIZE,4,2          ; @SEC_EXPONENT_SIZE
	.comm	_g_server_public_key_len,4,2    ; @g_server_public_key_len
	.comm	_SEC_MODULUS_SIZE,4,2           ; @SEC_MODULUS_SIZE
	.comm	_g_testkey,8,3                  ; @g_testkey
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key signature doesn't match test key\n"

	.no_dead_strip	_sec_parse_public_sig
.subsections_via_symbols
