	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_lcnphy_qdiv_roundup
_wlc_lcnphy_qdiv_roundup:               ## @wlc_lcnphy_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
	movl	%edx, %r8d
	movl	%edi, %eax
	cltd
	idivl	%esi
	movl	%esi, %r10d
	andl	$1, %r10d
	sarl	%esi
	addl	%r10d, %esi
	testl	%r8d, %r8d
	je	LBB0_13
## %bb.1:
	movl	%r8d, %ecx
	testb	$1, %r8b
	je	LBB0_5
## %bb.2:
	leal	-1(%r8), %ecx
	addl	%eax, %eax
	movl	%edx, %r9d
	subl	%esi, %r9d
	jge	LBB0_3
## %bb.4:
	addl	%edx, %edx
LBB0_5:
	cmpl	$1, %r8d
	jne	LBB0_6
	jmp	LBB0_13
LBB0_3:
	orl	$1, %eax
	leal	(%r10,%r9,2), %edx
	cmpl	$1, %r8d
	jne	LBB0_6
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%edx, %edx
	testl	%ecx, %ecx
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	movl	%edx, %edi
	subl	%esi, %edi
	jge	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	%edx, %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	orl	$1, %eax
	leal	(%r10,%rdi,2), %edx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	addl	$-2, %ecx
	addl	%eax, %eax
	movl	%edx, %edi
	subl	%esi, %edi
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	orl	$1, %eax
	leal	(%r10,%rdi,2), %edx
	testl	%ecx, %ecx
	jne	LBB0_6
LBB0_13:
	xorl	%ecx, %ecx
	cmpl	%esi, %edx
	setge	%cl
	addl	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_lcnphy_qdiv_roundup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_lcnphy_qdiv_roundup
_wlc_lcnphy_qdiv_roundup:               ; @wlc_lcnphy_qdiv_roundup
	.cfi_startproc
; %bb.0:
	sdiv	w10, w0, w1
	msub	w9, w10, w1, w0
	and	w11, w1, #0x1
	add	w8, w11, w1, asr #1
	cbz	w2, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w10, w10, #1
	lsl	w12, w9, #1
	orr	w13, w10, #0x1
	subs	w9, w9, w8
	mov	x14, x11
	bfi	w14, w9, #1, #31
	csel	w9, w12, w14, lt
	csel	w10, w10, w13, lt
	sub	w2, w2, #1
	cbnz	w2, LBB0_1
LBB0_2:
	cmp	w9, w8
	cinc	w0, w10, ge
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_lcnphy_qdiv_roundup
.subsections_via_symbols
