	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atc_get_pitch
_atc_get_pitch:                         ## @atc_get_pitch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r8d
                                        ## kill: def $edx killed $edx def $rdx
	imulq	$1374389535, %rdx, %rax         ## imm = 0x51EB851F
	shrq	$37, %rax
	movl	$25, %r9d
	movl	$-1, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	6(%r9), %ecx
	movl	%eax, %edi
	shrl	%cl, %edi
	decl	%r9d
	incl	%edx
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%edi, %edi
	je	LBB0_1
LBB0_3:
	shll	$24, %r8d
	testl	%ecx, %ecx
	js	LBB0_5
## %bb.4:
	leal	7(%r9), %edi
	movl	%esi, %ecx
	imulq	$1374389535, %rcx, %rsi         ## imm = 0x51EB851F
	shrq	$37, %rsi
	movl	%edx, %ecx
	shll	%cl, %eax
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %edx
	movl	%r9d, %ecx
	shll	%cl, %edx
	negb	%r9b
	movl	%r9d, %ecx
	shrl	%cl, %eax
	cmpl	$7, %edi
	cmovael	%edx, %eax
	orl	%eax, %r8d
LBB0_5:
	movl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_atc_get_pitch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atc_get_pitch
_atc_get_pitch:                         ; @atc_get_pitch
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	udiv	w10, w0, w1
	msub	w9, w10, w1, w0
	mov	w11, #34079
	movk	w11, #20971, lsl #16
	umull	x9, w9, w11
	lsr	x9, x9, #37
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w8, #31
	sub	w8, w8, #1
	tbnz	w11, #31, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	lsr	w12, w9, w11
	cbz	w12, LBB0_1
LBB0_3:
	lsl	w0, w10, #24
	tbnz	w11, #31, LBB0_5
; %bb.4:
	add	w10, w8, #32
	mov	w11, #34079
	movk	w11, #20971, lsl #16
	umull	x11, w1, w11
	lsr	x11, x11, #37
	mov	w12, #-25
	sub	w12, w12, w8
	mvn	w13, w8
	lsl	w9, w9, w13
	udiv	w9, w9, w11
	add	w8, w8, #25
	lsl	w8, w9, w8
	lsr	w9, w9, w12
	cmp	w10, #6
	csel	w8, w8, w9, hi
	orr	w0, w8, w0
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_atc_get_pitch
.subsections_via_symbols
