	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function norm24
_norm24:                                ## @norm24
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_TRACE
	cmpl	$3, %r15d
	jae	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r15d, %ecx
	movl	$2863311531, %eax               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rax
	shrq	$33, %rax
	xorl	%ecx, %ecx
	movabsq	$1095216660735, %rdx            ## imm = 0xFF000000FF
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rbx,%rcx,4)
	movl	$128, %esi
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, 8(%rbx,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %eax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rcx,4), %esi
	cmpl	$-8388608, %esi                 ## imm = 0xFF800000
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8388608, %esi                  ## imm = 0x800000
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, (%rbx,%rcx,4)
	movl	$127, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, (%rbx,%rcx,4)
	movl	(%r14,%rcx,4), %esi
	sarl	$8, %esi
	movl	%esi, 4(%rbx,%rcx,4)
	movswl	2(%r14,%rcx,4), %esi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_norm24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function norm24
_norm24:                                ; @norm24
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_TRACE
	cmp	w21, #3
	b.hs	LBB0_2
LBB0_1:
	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_2:
	mov	w8, #43691
	movk	w8, #43690, lsl #16
	umull	x8, w21, w8
	lsr	x8, x8, #33
	movi	d0, #0x0000ff000000ff
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x19]
	mov	w9, #128
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w9, [x19, #8]
	add	x19, x19, #4
	add	x20, x20, #4
	cbz	w8, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	ldr	w9, [x20]
	cmn	w9, #2048, lsl #12              ; =8388608
	b.le	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #2048, lsl #12              ; =8388608
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	d0, [x19]
	mov	w9, #127
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w9, [x19]
	ldr	w9, [x20]
	asr	w9, w9, #8
	str	w9, [x19, #4]
	ldrsh	w9, [x20, #2]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_norm24
.subsections_via_symbols
