	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rate
_set_rate:                              ## @set_rate
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
	testl	%edx, %edx
	sete	%dl
	cmpl	%esi, %ecx
	setae	%cl
	andb	%dl, %cl
	movzbl	%cl, %ecx
	subl	%ecx, %eax
	movq	_BDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzwl	%ax, %edx
	popq	%rbp
	jmp	_wr_reg16                       ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BDR,4,2                        ## @BDR
	.no_dead_strip	_set_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rate
_set_rate:                              ; @set_rate
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w8, [x0]
	udiv	w9, w8, w1
	msub	w10, w9, w1, w8
	cmp	w8, w1
	ccmp	w10, #0, #0, hs
	cset	w8, eq
Lloh0:
	adrp	x10, _BDR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BDR@GOTPAGEOFF]
	sub	w8, w9, w8
Lloh2:
	ldr	w1, [x10]
	and	w2, w8, #0xffff
	b	_wr_reg16
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BDR,4,2                        ; @BDR
	.no_dead_strip	_set_rate
.subsections_via_symbols
