	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpphy_qdiv_roundup
_lpphy_qdiv_roundup:                    ## @lpphy_qdiv_roundup
	.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:
	movq	%rdx, %r8
	movl	%edi, %eax
	cltd
	idivl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	testq	%r8, %r8
	jle	LBB0_3
## %bb.4:
	movq	%r8, %r9
                                        ## implicit-def: $edi
	testb	$1, %r8b
	je	LBB0_6
## %bb.5:
	leal	(%rdx,%rdx), %edi
	xorl	%ecx, %ecx
	subl	%esi, %edi
	setge	%cl
	leal	(%rcx,%rax,2), %eax
	cmovll	%edx, %edi
	leaq	-1(%r8), %r9
	movl	%edi, %edx
LBB0_6:
	cmpq	$1, %r8
	je	LBB0_9
## %bb.7:
	decq	%r9
	movl	%edx, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdi,%rdi), %edx
	xorl	%ecx, %ecx
	subl	%esi, %edx
	setge	%cl
	cmovll	%edi, %edx
	addl	%ecx, %ecx
	leal	(%rcx,%rax,4), %ecx
	leal	(%rdx,%rdx), %edi
	xorl	%eax, %eax
	subl	%esi, %edi
	setge	%al
	cmovll	%edx, %edi
	orl	%ecx, %eax
	addq	$-2, %r9
	jb	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_3:
	movl	%edx, %edi
LBB0_9:
	addl	%edi, %edi
	xorl	%ecx, %ecx
	cmpl	%esi, %edi
	setge	%cl
	addl	%eax, %ecx
LBB0_10:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lpphy_qdiv_roundup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpphy_qdiv_roundup
_lpphy_qdiv_roundup:                    ; @lpphy_qdiv_roundup
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
	sdiv	w10, w0, w1
	msub	w8, w10, w1, w0
	cmp	x2, #1
	b.lt	LBB0_5
; %bb.2:
	add	x9, x2, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w8, #1
	subs	w12, w11, w1
	cset	w11, ge
	bfi	w11, w10, #1, #31
	csel	w8, w8, w12, lt
	sub	x9, x9, #1
	mov	x10, x11
	cmp	x9, #1
	b.hi	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
	mov	x11, x10
LBB0_6:
	cmp	w1, w8, lsl #1
	cinc	w0, w11, le
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lpphy_qdiv_roundup
.subsections_via_symbols
