	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function find_pir_table
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_find_pir_table
	.p2align	4, 0x90
_find_pir_table:                        ## @find_pir_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PIR_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	testq	%r15, %r15
	jle	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	addq	%rdi, %r15
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_2
	jmp	LBB0_13
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.7:
	cmpl	$1, (%rbx)
	jne	LBB0_14
## %bb.8:
	cmpq	$0, 8(%rbx)
	jne	LBB0_14
## %bb.9:
	movl	16(%rbx), %eax
	cmpl	$33, %eax
	jl	LBB0_14
## %bb.10:
	movl	%eax, %ecx
	andl	$15, %ecx
	jne	LBB0_14
## %bb.11:
	leaq	-1(%rax), %rcx
	cmpq	$8, %rcx
	jae	LBB0_15
## %bb.12:
	leaq	1(%rbx), %rcx
	movl	$1, %edx
	jmp	LBB0_23
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%rcx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.16:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	pxor	%xmm1, %xmm1
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	xorl	%edi, %edi
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	pmovzxbd	1(%rbx,%rdi), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm0, %xmm2
	pmovzxbd	5(%rbx,%rdi), %xmm3             ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm1, %xmm3
	pmovzxbd	9(%rbx,%rdi), %xmm0             ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	13(%rbx,%rdi), %xmm1            ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	addq	$16, %rdi
	addq	$-2, %rsi
	jne	LBB0_17
	jmp	LBB0_19
LBB0_18:
	pxor	%xmm1, %xmm1
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	xorl	%edi, %edi
LBB0_19:
	testb	$1, %dl
	je	LBB0_21
## %bb.20:
	pmovzxbd	1(%rdi,%rbx), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	pmovzxbd	5(%rdi,%rbx), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm1
LBB0_21:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpq	%r8, %rcx
	je	LBB0_25
## %bb.22:
	leaq	(%rbx,%r8), %rcx
	incq	%rcx
LBB0_23:
	addq	%rbx, %rax
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %esi
	addl	%esi, %edx
	incq	%rcx
	cmpq	%rax, %rcx
	jb	LBB0_24
LBB0_25:
	testb	%dl, %dl
	je	LBB0_14
## %bb.26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_PIR_SIZE,4,2                   ## @PIR_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$PIR"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"WARNING: PIR table checksum is invalid.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function find_pir_table
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
lCPI0_1:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_4:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_find_pir_table
	.p2align	2
_find_pir_table:                        ; @find_pir_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _PIR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIR_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	add	x22, x0, x8
	add	x21, x0, #17
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x21, #17
	mov	x1, x20
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #16
	sub	x8, x21, #1
	add	x21, x21, #16
	cmp	x8, x22
	b.lo	LBB0_2
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	subs	x19, x21, #17
	b.eq	LBB0_5
; %bb.7:
	ldur	w8, [x21, #-17]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.8:
	ldur	x8, [x21, #-9]
	cbnz	x8, LBB0_5
; %bb.9:
	ldur	w8, [x21, #-1]
	cmp	w8, #33
	b.lt	LBB0_5
; %bb.10:
	and	w9, w8, #0xf
	cbnz	w9, LBB0_5
; %bb.11:
	sub	x9, x8, #1
	cmp	x9, #8
	b.hs	LBB0_13
; %bb.12:
	sub	x13, x21, #16
	mov	w14, #1
	b	LBB0_23
LBB0_13:
	adrp	x11, lCPI0_1@PAGE
	adrp	x12, lCPI0_2@PAGE
	cmp	x9, #32
	b.hs	LBB0_15
; %bb.14:
	mov	x10, #0
	mov	w14, #1
	b	LBB0_19
LBB0_15:
	mov	x13, #0
Lloh5:
	adrp	x10, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
Lloh7:
	adrp	x10, lCPI0_3@PAGE
Lloh8:
	ldr	q1, [x10, lCPI0_3@PAGEOFF]
Lloh9:
	adrp	x10, lCPI0_4@PAGE
Lloh10:
	ldr	q4, [x10, lCPI0_4@PAGEOFF]
	and	x10, x9, #0xffffffffffffffe0
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	ldr	q16, [x11, lCPI0_1@PAGEOFF]
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	ldr	q18, [x12, lCPI0_2@PAGEOFF]
	movi.2d	v17, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x21, x13
	ldp	q20, q24, [x14, #-16]
	tbl.16b	v21, { v20 }, v16
	tbl.16b	v22, { v20 }, v18
	tbl.16b	v23, { v20 }, v1
	tbl.16b	v20, { v20 }, v4
	tbl.16b	v25, { v24 }, v16
	tbl.16b	v26, { v24 }, v18
	tbl.16b	v27, { v24 }, v1
	tbl.16b	v24, { v24 }, v4
	add.4s	v5, v5, v20
	add.4s	v3, v3, v23
	add.4s	v2, v2, v22
	add.4s	v0, v0, v21
	add.4s	v19, v19, v24
	add.4s	v7, v7, v27
	add.4s	v17, v17, v26
	add.4s	v6, v6, v25
	add	x13, x13, #32
	cmp	x10, x13
	b.ne	LBB0_16
; %bb.17:
	add.4s	v1, v17, v2
	add.4s	v2, v19, v5
	add.4s	v0, v6, v0
	add.4s	v3, v7, v3
	add.4s	v0, v0, v3
	add.4s	v1, v1, v2
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w14, s0
	cmp	x9, x10
	b.eq	LBB0_25
; %bb.18:
	tst	x9, #0x18
	b.eq	LBB0_22
LBB0_19:
	and	x15, x9, #0xfffffffffffffff8
	add	x13, x21, x15
	sub	x13, x13, #16
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w14
	ldr	q2, [x11, lCPI0_1@PAGEOFF]
	ldr	q3, [x12, lCPI0_2@PAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x11, x21, x10
	ldur	d4, [x11, #-16]
	tbl.16b	v5, { v4 }, v2
	tbl.16b	v4, { v4 }, v3
	add.4s	v0, v0, v4
	add.4s	v1, v1, v5
	add	x10, x10, #8
	cmp	x15, x10
	b.ne	LBB0_20
; %bb.21:
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w14, s0
	cmp	x9, x15
	b.ne	LBB0_23
	b	LBB0_25
LBB0_22:
	add	x9, x21, x10
	sub	x13, x9, #16
LBB0_23:
	add	x8, x21, x8
	sub	x8, x8, #17
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x13], #1
	add	w14, w14, w9
	cmp	x13, x8
	b.lo	LBB0_24
LBB0_25:
	tst	w14, #0xff
	b.eq	LBB0_5
; %bb.26:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpAdrp	Lloh7, Lloh9
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PIR_SIZE,4,2                   ; @PIR_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$PIR"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"WARNING: PIR table checksum is invalid.\n"

.subsections_via_symbols
