	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_baudv
_calc_baudv:                            ## @calc_baudv
	.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, %ecx
	shrl	$4, %ecx
	addl	$-2, %ecx
	movw	$372, %ax                       ## imm = 0x174
	cmpl	$11, %ecx
	ja	LBB0_2
## %bb.1:
	movslq	%ecx, %rax
	leaq	l_switch.table.calc_baudv(%rip), %rcx
	movzwl	(%rcx,%rax,2), %eax
LBB0_2:
	andl	$15, %edi
	addl	$-2, %edi
	movw	$1, %cx
	cmpl	$7, %edi
	ja	LBB0_4
## %bb.3:
	movslq	%edi, %rcx
	leaq	L_switch.table.calc_baudv.1(%rip), %rdx
	movzwl	(%rdx,%rcx,2), %ecx
LBB0_4:
	xorl	%edx, %edx
	divw	%cx
	movzwl	%ax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_calc_baudv
	.section	__TEXT,__const
	.p2align	1                               ## @switch.table.calc_baudv
l_switch.table.calc_baudv:
	.short	558                             ## 0x22e
	.short	744                             ## 0x2e8
	.short	1116                            ## 0x45c
	.short	1488                            ## 0x5d0
	.short	1860                            ## 0x744
	.short	372                             ## 0x174
	.short	372                             ## 0x174
	.short	512                             ## 0x200
	.short	768                             ## 0x300
	.short	1024                            ## 0x400
	.short	1536                            ## 0x600
	.short	2048                            ## 0x800

	.section	__TEXT,__literal16,16byte_literals
	.p2align	1                               ## @switch.table.calc_baudv.1
L_switch.table.calc_baudv.1:
	.short	2                               ## 0x2
	.short	4                               ## 0x4
	.short	8                               ## 0x8
	.short	16                              ## 0x10
	.short	32                              ## 0x20
	.short	1                               ## 0x1
	.short	12                              ## 0xc
	.short	20                              ## 0x14

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_baudv
_calc_baudv:                            ; @calc_baudv
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, w0
	lsr	x8, x8, #4
	sub	x8, x8, #2
	cmp	w8, #11
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.calc_baudv@PAGE
Lloh1:
	add	x9, x9, l_switch.table.calc_baudv@PAGEOFF
	ldrh	w8, [x9, x8, lsl #1]
	b	LBB0_3
LBB0_2:
	mov	w8, #372
LBB0_3:
	and	x9, x0, #0xf
	sub	x9, x9, #2
	cmp	w9, #7
	b.hi	LBB0_5
; %bb.4:
Lloh2:
	adrp	x10, l_switch.table.calc_baudv.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.calc_baudv.1@PAGEOFF
	ldrh	w9, [x10, x9, lsl #1]
	udiv	w0, w8, w9
	ret
LBB0_5:
	mov	w9, #1
	udiv	w0, w8, w9
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_calc_baudv
	.section	__TEXT,__const
	.p2align	1                               ; @switch.table.calc_baudv
l_switch.table.calc_baudv:
	.short	558                             ; 0x22e
	.short	744                             ; 0x2e8
	.short	1116                            ; 0x45c
	.short	1488                            ; 0x5d0
	.short	1860                            ; 0x744
	.short	372                             ; 0x174
	.short	372                             ; 0x174
	.short	512                             ; 0x200
	.short	768                             ; 0x300
	.short	1024                            ; 0x400
	.short	1536                            ; 0x600
	.short	2048                            ; 0x800

	.section	__TEXT,__literal16,16byte_literals
	.p2align	1                               ; @switch.table.calc_baudv.1
l_switch.table.calc_baudv.1:
	.short	2                               ; 0x2
	.short	4                               ; 0x4
	.short	8                               ; 0x8
	.short	16                              ; 0x10
	.short	32                              ; 0x20
	.short	1                               ; 0x1
	.short	12                              ; 0xc
	.short	20                              ; 0x14

.subsections_via_symbols
