	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peek_type_nid
_peek_type_nid:                         ## @peek_type_nid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_keytypes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_KEY_UNSPEC@GOTPCREL(%rip), %r14
	cmpl	$-1, (%rbx)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, 16(%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	cmpq	%r12, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	$-1, (%rdx)
	movl	(%rbx), %eax
	movq	_KEY_ECDSA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_KEY_ECDSA_CERT@GOTPCREL(%rip), %rcx
	movq	%rbx, %r14
	cmpl	(%rcx), %eax
	jne	LBB0_9
LBB0_7:
	movl	4(%rbx), %eax
	movl	%eax, (%rdx)
	movq	%rbx, %r14
LBB0_9:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keytypes,8,3                   ## @keytypes
	.comm	_KEY_ECDSA,4,2                  ## @KEY_ECDSA
	.comm	_KEY_ECDSA_CERT,4,2             ## @KEY_ECDSA_CERT
	.comm	_KEY_UNSPEC,4,2                 ## @KEY_UNSPEC
	.no_dead_strip	_peek_type_nid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peek_type_nid
_peek_type_nid:                         ; @peek_type_nid
	.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
Lloh0:
	adrp	x8, _keytypes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keytypes@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	w8, [x23]
	cmn	w8, #1
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh3:
	adrp	x24, _KEY_UNSPEC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _KEY_UNSPEC@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23, #16]!
	cmn	w8, #1
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x23, #8]
	cbz	x22, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_strlen
	cmp	x0, x20
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_memcmp
	cbnz	x0, LBB0_2
; %bb.6:
	mov	w8, #-1
	str	w8, [x19]
	ldr	w8, [x23]
Lloh5:
	adrp	x9, _KEY_ECDSA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KEY_ECDSA@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _KEY_ECDSA_CERT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _KEY_ECDSA_CERT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x23, #4]
	str	w8, [x19]
	b	LBB0_10
LBB0_8:
	mov	x23, x24
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x23, _KEY_UNSPEC@GOTPAGE
Lloh12:
	ldr	x23, [x23, _KEY_UNSPEC@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x23]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_keytypes,8,3                   ; @keytypes
	.comm	_KEY_ECDSA,4,2                  ; @KEY_ECDSA
	.comm	_KEY_ECDSA_CERT,4,2             ; @KEY_ECDSA_CERT
	.comm	_KEY_UNSPEC,4,2                 ; @KEY_UNSPEC
	.no_dead_strip	_peek_type_nid
.subsections_via_symbols
