	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isprime
_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
	movl	$1, %r8d
	cmpq	$3, %rdi
	jb	LBB0_9
## %bb.1:
	movl	$3, %esi
	subq	%rdi, %rsi
	movl	$2, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rax
	xorl	%edx, %edx
	divq	%rcx
	testq	%rdx, %rdx
	jne	LBB0_7
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rdx, %rdx
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	imulq	%rcx, %rax
	cmpq	%rdi, %rax
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%rcx), %rax
	incq	%rcx
	cmpq	$2, %rax
	jne	LBB0_2
	jmp	LBB0_9
LBB0_6:
	xorl	%r8d, %r8d
LBB0_9:
	movq	%r8, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_isprime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isprime
_isprime:                               ; @isprime
	.cfi_startproc
; %bb.0:
	cmp	x0, #3
	b.lo	LBB0_6
; %bb.1:
	mov	x8, x0
	mov	w9, #3
	mov	w0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x9, #1
	udiv	x11, x8, x10
	msub	x11, x11, x10, x8
	cbz	x11, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	x10, x10, x10
	cmp	x10, x8
	b.hi	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x9, #1
	cmp	x8, x9
	mov	x9, x10
	b.ne	LBB0_2
LBB0_5:
	ret
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_isprime
.subsections_via_symbols
