	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PWM_TO_REG
_PWM_TO_REG:                            ## @PWM_TO_REG
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$255, %ecx
	subl	%edi, %ecx
	testl	%esi, %esi
	cmovel	%edi, %ecx
	movl	$255, %eax
	cmpl	$255, %ecx
	cmovgel	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovgl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_PWM_TO_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PWM_TO_REG
_PWM_TO_REG:                            ; @PWM_TO_REG
	.cfi_startproc
; %bb.0:
	mov	w8, #255
	sub	w9, w8, w0
	cmp	w1, #0
	csel	w9, w0, w9, eq
	cmp	w9, #255
	csel	w8, w9, w8, lt
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_PWM_TO_REG
.subsections_via_symbols
