	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hasproto                       ## -- Begin function hasproto
	.p2align	4, 0x90
_hasproto:                              ## @hasproto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	movl	$3105, %eax                     ## imm = 0xC21
	jmp	LBB0_2
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$266, %edx                      ## imm = 0x10A
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	leal	-128(%rdx), %ecx
	cmpl	$11, %ecx
	ja	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	btl	%ecx, %eax
	jb	LBB0_4
## %bb.6:
	movl	$862, %eax                      ## imm = 0x35E
	btl	%ecx, %eax
	jae	LBB0_7
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_10
LBB0_7:
	movq	8(%rbx), %rdi
	callq	_hasproto
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$0, 4(%rbx)
	setne	%r14b
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hasproto                       ; -- Begin function hasproto
	.p2align	2
_hasproto:                              ; @hasproto
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #1
	cbz	x19, LBB0_8
; %bb.1:
	mov	w8, #3105
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #266
	b.ne	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19]
	sub	w9, w10, #128
	cmp	w9, #11
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w10, w0, w9
	tst	w10, w8
	b.ne	LBB0_3
; %bb.6:
	mov	w8, #1
	lsl	w8, w8, w9
	mov	w9, #862
	tst	w8, w9
	b.eq	LBB0_10
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #0
	bl	_assert
	mov	w0, #0
	b	LBB0_8
LBB0_10:
	ldr	x0, [x19, #8]
	bl	_hasproto
	cbz	w0, LBB0_8
; %bb.11:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
