	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_termios_baud_rate          ## -- Begin function tty_termios_baud_rate
	.p2align	4, 0x90
_tty_termios_baud_rate:                 ## @tty_termios_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
	movl	(%rdi), %r8d
	movq	_CBAUD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r8d, %eax
	movq	_CBAUDEX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %eax
	je	LBB0_4
## %bb.1:
	notl	%edx
	andl	%edx, %eax
	je	LBB0_3
## %bb.2:
	leal	15(%rax), %esi
	movq	_n_baud_table@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jbe	LBB0_5
LBB0_3:
	andl	%edx, %r8d
	movl	%r8d, (%rdi)
LBB0_4:
	movl	%eax, %esi
LBB0_5:
	movq	_baud_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CBAUD,4,2                      ## @CBAUD
	.comm	_CBAUDEX,4,2                    ## @CBAUDEX
	.comm	_n_baud_table,4,2               ## @n_baud_table
	.comm	_baud_table,8,3                 ## @baud_table
	.comm	_BOTHER,4,2                     ## @BOTHER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tty_termios_baud_rate          ; -- Begin function tty_termios_baud_rate
	.p2align	2
_tty_termios_baud_rate:                 ; @tty_termios_baud_rate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CBAUD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CBAUD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _CBAUDEX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CBAUDEX@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x10]
	tst	w9, w11
	b.eq	LBB0_4
; %bb.1:
	bics	w10, w9, w11
	b.eq	LBB0_3
; %bb.2:
	add	w9, w10, #15
Lloh6:
	adrp	x12, _n_baud_table@GOTPAGE
Lloh7:
	ldr	x12, [x12, _n_baud_table@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	cmp	w9, w12
	b.ls	LBB0_4
LBB0_3:
	mvn	w9, w11
	and	w8, w8, w9
	str	w8, [x0]
	mov	x9, x10
LBB0_4:
Lloh9:
	adrp	x8, _baud_table@GOTPAGE
Lloh10:
	ldr	x8, [x8, _baud_table@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w0, [x8, w9, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CBAUD,4,2                      ; @CBAUD
	.comm	_CBAUDEX,4,2                    ; @CBAUDEX
	.comm	_n_baud_table,4,2               ; @n_baud_table
	.comm	_baud_table,8,3                 ; @baud_table
	.comm	_BOTHER,4,2                     ; @BOTHER
.subsections_via_symbols
