	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_draw_round_to_sub           ## -- Begin function ff_draw_round_to_sub
	.p2align	4, 0x90
_ff_draw_round_to_sub:                  ## @ff_draw_round_to_sub
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %eax
	xorl	%ecx, %ecx
	testl	%esi, %esi
	sete	%cl
	movl	(%rdi,%rcx,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	movl	$-1, %esi
	testl	%edx, %edx
	js	LBB0_2
## %bb.3:
	shll	%cl, %esi
	decb	%cl
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	testl	%edx, %edx
	movl	%esi, %ecx
	notl	%ecx
	cmovel	%edi, %ecx
	addl	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
LBB0_4:
	andl	%esi, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_draw_round_to_sub           ; -- Begin function ff_draw_round_to_sub
	.p2align	2
_ff_draw_round_to_sub:                  ; @ff_draw_round_to_sub
	.cfi_startproc
; %bb.0:
	cmp	w1, #0
	cset	w8, eq
	ldr	w8, [x0, w8, uxtw #2]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w9, #-1
	lsl	w9, w9, w8
	sub	w8, w8, #1
	mov	w10, #1
	lsl	w8, w10, w8
	cmp	w2, #0
	csinv	w8, w8, w9, eq
	add	w8, w8, w3
	tst	w2, #0x80000000
	csel	w9, w9, w9, eq
	csel	w8, w8, w3, eq
	and	w3, w8, w9
LBB0_2:
	mov	x0, x3
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
