	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normalize
_normalize:                             ## @normalize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movl	(%rsi), %eax
	cmpl	%edx, %eax
	jge	LBB0_1
## %bb.2:
	testl	%eax, %eax
	js	LBB0_3
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	cltd
	idivl	%ecx
	addl	%eax, (%rdi)
	movl	(%rsi), %eax
	cltd
	idivl	%ecx
LBB0_5:
	movl	%edx, (%rsi)
	popq	%rbp
	retq
LBB0_3:
	decl	(%rdi)
	movl	(%rsi), %eax
	addl	%ecx, %eax
	movl	%eax, (%rsi)
	jns	LBB0_6
## %bb.4:
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movl	(%rdi), %edx
	addl	%edx, %eax
	decl	%eax
	movl	%eax, (%rdi)
	movl	(%rsi), %eax
	cltd
	idivl	%ecx
	addl	%ecx, %edx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normalize
_normalize:                             ; @normalize
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, w2
	b.ge	LBB0_3
; %bb.1:
	tbnz	w8, #31, LBB0_4
LBB0_2:
	ret
LBB0_3:
	sdiv	w8, w8, w2
	ldr	w9, [x0]
	add	w8, w9, w8
	str	w8, [x0]
	ldr	w8, [x1]
	sdiv	w9, w8, w2
	msub	w8, w9, w2, w8
	str	w8, [x1]
	ret
LBB0_4:
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	ldr	w8, [x1]
	adds	w8, w8, w2
	str	w8, [x1]
	b.pl	LBB0_2
; %bb.5:
	sdiv	w8, w8, w2
	ldr	w9, [x0]
	add	w8, w8, w9
	sub	w8, w8, #1
	str	w8, [x0]
	ldr	w8, [x1]
	sdiv	w9, w8, w2
	msub	w8, w9, w2, w8
	add	w8, w8, w2
	str	w8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_normalize
.subsections_via_symbols
