	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function div_ratio
_div_ratio:                             ## @div_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rcx
	shlq	$16, %rcx
	cmpq	%rdi, %rcx
	movl	$4294901760, %eax               ## imm = 0xFFFF0000
	cmovgeq	%rcx, %rax
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_5
## %bb.2:
	cqto
	idivq	%rsi
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_div_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function div_ratio
_div_ratio:                             ; @div_ratio
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	lsl	x8, x0, #16
	mov	w9, #-65536
	cmp	x8, x0
	csel	x8, x9, x8, lt
	sdiv	x0, x8, x1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_div_ratio
.subsections_via_symbols
