	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_in
_sig_in:                                ## @sig_in
	.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
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_BIO_get_data
	movq	%rax, %rbx
	movq	40(%rax), %r15
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_md
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_EVP_MD_size
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_md_data
	movl	(%rbx), %ecx
	subl	8(%rbx), %ecx
	movq	%rax, %r14
	leal	(%r12,%r12), %edx
	movl	$1, %eax
	cmpl	%ecx, %edx
	jg	LBB0_11
## %bb.1:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	8(%rbx), %rsi
	shlq	$2, %rsi
	addq	24(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_longswap
	movslq	%r12d, %r13
	addq	%r13, 8(%rbx)
	movq	_WELLKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_strlen
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcmp
	addq	8(%rbx), %r13
	movq	%r13, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	$0, 16(%rbx)
	movl	$1, %eax
	jmp	LBB0_11
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_BIO_clear_retry_flags
	xorl	%eax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	$0, 32(%rbx)
	movq	(%rbx), %rdx
	subq	%r13, %rdx
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rax
	jmp	LBB0_8
LBB0_7:
	movq	24(%rbx), %rdi
	leaq	(%rdi,%r13,4), %rsi
	callq	_memmove
	movq	(%rbx), %r13
	movq	8(%rbx), %rax
LBB0_8:
	subq	%rax, %r13
	movq	%r13, (%rbx)
	movq	$0, 8(%rbx)
	movl	$1, %eax
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_WELLKNOWN,4,2                  ## @WELLKNOWN
	.no_dead_strip	_sig_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_in
_sig_in:                                ; @sig_in
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	bl	_BIO_get_data
	mov	x19, x0
	ldr	x23, [x0, #40]
	mov	x0, x23
	bl	_EVP_MD_CTX_md
	mov	x25, x0
	bl	_EVP_MD_size
	mov	x22, x0
	mov	x0, x23
	bl	_EVP_MD_CTX_md_data
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	sub	w8, w8, w9
	cmp	w8, w22, lsl #1
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_8
LBB0_2:
	mov	x24, x0
	mov	x0, x23
	mov	x1, x25
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #8]
	add	x1, x8, x9, lsl #2
	mov	x0, x24
	mov	x2, x22
	bl	_memcpy
	mov	x0, x24
	mov	x1, x22
	bl	_longswap
	sxtw	x25, w22
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	str	x8, [x19, #8]
Lloh8:
	adrp	x8, _WELLKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WELLKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_EVP_DigestUpdate
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x23
	mov	x1, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #8]
	add	x0, x8, x9, lsl #2
	mov	x1, x21
	mov	x2, x22
	bl	_memcmp
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	str	x8, [x19, #8]
	cbz	x0, LBB0_10
; %bb.6:
	str	xzr, [x19, #16]
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_BIO_clear_retry_flags
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.9:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	str	xzr, [x19, #32]
	ldr	x10, [x19]
	mov	x9, x8
	subs	x2, x10, x8
	b.eq	LBB0_12
; %bb.11:
	ldr	x0, [x19, #24]
	add	x1, x0, x8, lsl #2
	bl	_memmove
	ldp	x8, x9, [x19]
LBB0_12:
	sub	x8, x8, x9
	stp	x8, xzr, [x19]
	mov	w0, #1
	b	LBB0_8
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_WELLKNOWN,4,2                  ; @WELLKNOWN
	.no_dead_strip	_sig_in
.subsections_via_symbols
