	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sig_cb
_sig_cb:                                ## @sig_cb
	.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	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TLS_MAX_SIGSTRING_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_NID_undef@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%eax, -52(%rbp)
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.1:
	movl	(%r15), %edx
	movq	_TLS_MAX_SIGALGCNT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_29
## %bb.2:
	decl	%r14d
	cmpl	%r13d, %r14d
	jl	LBB0_29
## %bb.3:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%r13d, %rax
	movb	$0, (%r12,%rax)
	movq	%r12, %rdi
	movl	$43, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %rbx
	movb	$0, (%rax)
	cmpb	$0, 1(%rax)
	je	LBB0_28
## %bb.5:
	incq	%rbx
	leaq	-56(%rbp), %r14
	leaq	-52(%rbp), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_get_sigorhash
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_get_sigorhash
	movq	_NID_undef@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, -56(%rbp)
	je	LBB0_28
## %bb.6:
	cmpl	%eax, -52(%rbp)
	movl	$0, %eax
	je	LBB0_29
## %bb.7:
	movq	_sigalg_lookup_tbl@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_OSSL_NELEM
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	addq	$12, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	movq	(%r14), %rdi
	callq	_OSSL_NELEM
	addq	$24, %rbx
	cmpq	%rax, %r15
	jae	LBB0_22
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %eax
	cmpl	-52(%rbp), %eax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %eax
	cmpl	-56(%rbp), %eax
	jne	LBB0_9
## %bb.12:
	movq	-12(%rbx), %rax
	jmp	LBB0_19
LBB0_13:
	movq	_sigalg_lookup_tbl@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_OSSL_NELEM
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:
	addq	$16, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	movq	(%r14), %rdi
	callq	_OSSL_NELEM
	addq	$24, %rbx
	cmpq	%rax, %r15
	jae	LBB0_22
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.18:
	movq	-16(%rbx), %rax
LBB0_19:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rcx
	movslq	(%rdi), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rdi)
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_22
LBB0_21:
	xorl	%r15d, %r15d
LBB0_22:
	movq	(%r14), %rdi
	callq	_OSSL_NELEM
	cmpq	%rax, %r15
	movl	$0, %eax
	je	LBB0_29
## %bb.23:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movslq	(%r8), %rdx
	leaq	-1(%rdx), %rbx
	movl	$1, %eax
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.24:
	movq	8(%r8), %rcx
	movq	-8(%rcx,%rdx,8), %rdx
	cmpq	$2, %rbx
	movl	$1, %esi
	cmovaeq	%rbx, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rdi,8)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	%rdi
	cmpq	%rdi, %rsi
	jne	LBB0_25
	jmp	LBB0_29
LBB0_27:
	movl	%ebx, (%r8)
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_31
## %bb.30:
                                        ## 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_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_MAX_SIGSTRING_LEN,4,2      ## @TLS_MAX_SIGSTRING_LEN
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_TLS_MAX_SIGALGCNT,4,2          ## @TLS_MAX_SIGALGCNT
	.comm	_sigalg_lookup_tbl,8,3          ## @sigalg_lookup_tbl
	.no_dead_strip	_sig_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sig_cb
_sig_cb:                                ; @sig_cb
	.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	x19, x2
	mov	x21, x1
	mov	x1, 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, _TLS_MAX_SIGSTRING_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLS_MAX_SIGSTRING_LEN@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	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
Lloh8:
	adrp	x22, _NID_undef@GOTPAGE
Lloh9:
	ldr	x22, [x22, _NID_undef@GOTPAGEOFF]
	ldr	w9, [x22]
	stp	w9, w9, [x29, #-64]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _TLS_MAX_SIGALGCNT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TLS_MAX_SIGALGCNT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	sub	w8, w8, #1
	cmp	w9, w10
	ccmp	w8, w21, #8, ne
	b.ge	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.4:
	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_5:
	mov	x0, x20
	mov	x2, x21
	bl	_memcpy
	strb	wzr, [x20, w21, sxtw]
	mov	x0, x20
	mov	w1, #43
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.6:
	mov	x21, x0
	strb	wzr, [x0]
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_2
; %bb.7:
	sub	x0, x29, #60
	sub	x1, x29, #64
	mov	x2, x20
	bl	_get_sigorhash
	sub	x0, x29, #60
	sub	x1, x29, #64
	mov	x2, x21
	bl	_get_sigorhash
	ldp	w10, w8, [x29, #-64]
	ldr	w9, [x22]
	cmp	w8, w9
	ccmp	w10, w9, #4, ne
	b.eq	LBB0_2
; %bb.8:
Lloh16:
	adrp	x21, _sigalg_lookup_tbl@GOTPAGE
Lloh17:
	ldr	x21, [x21, _sigalg_lookup_tbl@GOTPAGEOFF]
	ldr	x20, [x21]
	mov	x0, x20
	bl	_OSSL_NELEM
	mov	x22, #0
	cbz	x0, LBB0_14
; %bb.9:
	add	x20, x20, #12
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	ldr	x0, [x21]
	bl	_OSSL_NELEM
	add	x20, x20, #24
	cmp	x22, x0
	b.hs	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x20, #-4]
	ldur	w9, [x29, #-64]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x20]
	ldur	w9, [x29, #-60]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.13:
	ldur	x8, [x20, #-12]
	ldr	x9, [x19, #8]
	ldrsw	x10, [x19]
	add	w11, w10, #1
	str	w11, [x19]
	str	x8, [x9, x10, lsl #3]
LBB0_14:
	ldr	x0, [x21]
	bl	_OSSL_NELEM
	cmp	x22, x0
	b.eq	LBB0_2
	b	LBB0_22
LBB0_15:
Lloh18:
	adrp	x22, _sigalg_lookup_tbl@GOTPAGE
Lloh19:
	ldr	x22, [x22, _sigalg_lookup_tbl@GOTPAGEOFF]
	ldr	x21, [x22]
	mov	x0, x21
	bl	_OSSL_NELEM
	mov	x23, #0
	cbz	x0, LBB0_21
; %bb.16:
	add	x21, x21, #16
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_OSSL_NELEM
	add	x21, x21, #24
	cmp	x23, x0
	b.hs	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	cbz	x1, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_17
; %bb.20:
	ldur	x8, [x21, #-16]
	ldr	x9, [x19, #8]
	ldrsw	x10, [x19]
	add	w11, w10, #1
	str	w11, [x19]
	str	x8, [x9, x10, lsl #3]
LBB0_21:
	ldr	x0, [x22]
	bl	_OSSL_NELEM
	cmp	x23, x0
	b.eq	LBB0_2
LBB0_22:
	ldrsw	x8, [x19]
	sub	x8, x8, #1
	cbz	w8, LBB0_26
; %bb.23:
	ldr	x9, [x19, #8]
	ldr	x10, [x9, x8, lsl #3]
	cmp	x8, #1
	csinc	x11, x8, xzr, hi
	mov	w0, #1
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	cmp	x12, x10
	b.eq	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x9, x9, #8
	subs	x11, x11, #1
	b.ne	LBB0_24
	b	LBB0_3
LBB0_26:
	mov	w0, #1
	b	LBB0_3
LBB0_27:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_3
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_MAX_SIGSTRING_LEN,4,2      ; @TLS_MAX_SIGSTRING_LEN
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_TLS_MAX_SIGALGCNT,4,2          ; @TLS_MAX_SIGALGCNT
	.comm	_sigalg_lookup_tbl,8,3          ; @sigalg_lookup_tbl
	.no_dead_strip	_sig_cb
.subsections_via_symbols
