	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwm_freq_from_reg
_pwm_freq_from_reg:                     ## @pwm_freq_from_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	%edi, %eax
	andl	$127, %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	testl	%eax, %eax
	movl	$256, %esi                      ## imm = 0x100
	cmovnel	%ecx, %esi
	testb	$-128, %dil
	movl	$24000000, %ecx                 ## imm = 0x16E3600
	movl	$180000, %eax                   ## imm = 0x2BF20
	cmovel	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pwm_freq_from_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pwm_freq_from_reg
_pwm_freq_from_reg:                     ; @pwm_freq_from_reg
	.cfi_startproc
; %bb.0:
	ands	w8, w0, #0x7f
	lsl	w8, w8, #8
	mov	w9, #256
	csel	w8, w9, w8, eq
	tst	w0, #0x80
	mov	w9, #48928
	movk	w9, #2, lsl #16
	mov	w10, #13824
	movk	w10, #366, lsl #16
	csel	w9, w10, w9, eq
	udiv	w0, w9, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pwm_freq_from_reg
.subsections_via_symbols
