	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isprime                        ## -- Begin function isprime
	.p2align	4, 0x90
_isprime:                               ## @isprime
	.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
	movq	%rdi, %rbx
	movl	$2, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.1:
	movl	$1, %r14d
	cmpq	$2047, %rbx                     ## imm = 0x7FF
	jb	LBB0_30
## %bb.2:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.3:
	cmpq	$1373653, %rbx                  ## imm = 0x14F5D5
	jb	LBB0_30
## %bb.4:
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.5:
	cmpq	$25326001, %rbx                 ## imm = 0x18271B1
	jb	LBB0_30
## %bb.6:
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.7:
	movl	$3215031751, %eax               ## imm = 0xBFA17DC7
	cmpq	%rax, %rbx
	jb	LBB0_30
## %bb.8:
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.9:
	movabsq	$2152302898747, %rax            ## imm = 0x1F51F3FEE3B
	cmpq	%rax, %rbx
	jb	LBB0_30
## %bb.10:
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.11:
	movabsq	$3474749660383, %rax            ## imm = 0x32907381CDF
	cmpq	%rax, %rbx
	jb	LBB0_30
## %bb.12:
	movq	%rbx, %rdi
	movl	$17, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.13:
	movabsq	$341550071728321, %rax          ## imm = 0x136A352B2C8C1
	cmpq	%rax, %rbx
	jb	LBB0_30
## %bb.14:
	movq	%rbx, %rdi
	movl	$19, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.15:
	movq	%rbx, %rdi
	movl	$23, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.16:
	movabsq	$3825123056546413051, %rax      ## imm = 0x351591274F9AF9FB
	cmpq	%rax, %rbx
	jb	LBB0_30
## %bb.17:
	movq	%rbx, %rdi
	movl	$29, %esi
	callq	_spsp
	testl	%eax, %eax
	je	LBB0_29
## %bb.18:
	movq	%rbx, %rdi
	movl	$31, %esi
	callq	_spsp
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_30
## %bb.19:
	movq	%rbx, %rdi
	movl	$37, %esi
	callq	_spsp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_30
LBB0_29:
	xorl	%r14d, %r14d
LBB0_30:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isprime                        ; -- Begin function isprime
	.p2align	2
_isprime:                               ; @isprime
	.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	w1, #2
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.1:
	cmp	x19, #2047
	b.lo	LBB0_14
; %bb.2:
	mov	x0, x19
	mov	w1, #3
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.3:
	mov	w8, #62933
	movk	w8, #20, lsl #16
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.4:
	mov	x0, x19
	mov	w1, #5
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.5:
	mov	w8, #29105
	movk	w8, #386, lsl #16
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.6:
	mov	x0, x19
	mov	w1, #7
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.7:
	mov	w8, #32199
	movk	w8, #49057, lsl #16
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.8:
	mov	x0, x19
	mov	w1, #11
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.9:
	mov	x8, #60987
	movk	x8, #7999, lsl #16
	movk	x8, #501, lsl #32
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.10:
	mov	x0, x19
	mov	w1, #13
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.11:
	mov	x8, #7391
	movk	x8, #1848, lsl #16
	movk	x8, #809, lsl #32
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.12:
	mov	x0, x19
	mov	w1, #17
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.13:
	mov	x8, #51393
	movk	x8, #21170, lsl #16
	movk	x8, #13987, lsl #32
	movk	x8, #1, lsl #48
	cmp	x19, x8
	b.hs	LBB0_16
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x0, x19
	mov	w1, #19
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.17:
	mov	x0, x19
	mov	w1, #23
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.18:
	mov	x8, #63995
	movk	x8, #20378, lsl #16
	movk	x8, #37159, lsl #32
	movk	x8, #13589, lsl #48
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.19:
	mov	x0, x19
	mov	w1, #29
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.20:
	mov	x0, x19
	mov	w1, #31
	bl	_spsp
	cbz	w0, LBB0_15
; %bb.21:
	mov	x0, x19
	mov	w1, #37
	bl	_spsp
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_15
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
