	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gigaset_baud_rate
_gigaset_baud_rate:                     ## @gigaset_baud_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %edx
	movq	%rdi, %rbx
	movq	_CBAUD@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$10, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.gigaset_baud_rate(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
	movl	$9600, %ecx                     ## imm = 0x2580
LBB0_3:
	movl	$3686399, %eax                  ## imm = 0x383FFF
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_value                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CBAUD,4,2                      ## @CBAUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported baudrate request 0x%x, using default of B9600\n"

	.no_dead_strip	_gigaset_baud_rate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.gigaset_baud_rate
l_switch.table.gigaset_baud_rate:
	.long	9600                            ## 0x2580
	.long	600                             ## 0x258
	.long	57600                           ## 0xe100
	.long	4800                            ## 0x12c0
	.long	38400                           ## 0x9600
	.long	300                             ## 0x12c
	.long	2400                            ## 0x960
	.long	19200                           ## 0x4b00
	.long	1200                            ## 0x4b0
	.long	115200                          ## 0x1c200

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gigaset_baud_rate
_gigaset_baud_rate:                     ; @gigaset_baud_rate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _CBAUD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CBAUD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w2, w8, w1
	sub	w8, w2, #128
	cmp	w8, #10
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.gigaset_baud_rate@PAGE
Lloh4:
	add	x9, x9, l_switch.table.gigaset_baud_rate@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w8, #9600
LBB0_3:
	mov	w9, #16383
	movk	w9, #56, lsl #16
	udiv	w8, w9, w8
	add	w2, w8, #1
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_value
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CBAUD,4,2                      ; @CBAUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported baudrate request 0x%x, using default of B9600\n"

	.no_dead_strip	_gigaset_baud_rate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.gigaset_baud_rate
l_switch.table.gigaset_baud_rate:
	.long	9600                            ; 0x2580
	.long	600                             ; 0x258
	.long	57600                           ; 0xe100
	.long	4800                            ; 0x12c0
	.long	38400                           ; 0x9600
	.long	300                             ; 0x12c
	.long	2400                            ; 0x960
	.long	19200                           ; 0x4b00
	.long	1200                            ; 0x4b0
	.long	115200                          ; 0x1c200

.subsections_via_symbols
