	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmod
_pmod:                                  ## @pmod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r8d
	movl	$1, %r9d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ecx
	sarl	%ecx
	imull	%edi, %edi
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movl	%edx, %edi
	cmpl	$1, %esi
	movl	%ecx, %esi
	jbe	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %sil
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	imull	%edi, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%r8d
	movl	%edx, %r9d
	jmp	LBB0_5
LBB0_1:
	movl	$1, %r9d
LBB0_6:
	movl	%r9d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pmod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmod
_pmod:                                  ; @pmod
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mul	w9, w8, w0
	sdiv	w10, w9, w2
	msub	w9, w10, w2, w9
	tst	w1, #0x1
	csel	w0, w0, w9, eq
	asr	w9, w1, #1
	mul	w8, w8, w8
	sdiv	w10, w8, w2
	msub	w8, w10, w2, w8
	cmp	w1, #1
	mov	x1, x9
	b.hi	LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pmod
.subsections_via_symbols
