	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usc_set_txidle
_usc_set_txidle:                        ## @usc_set_txidle
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.usc_set_txidle(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IDLEMODE_FLAGS@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rdx
	movq	%rdx, 24(%rbx)
	movq	_IDLEMODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	16(%rbx), %eax
	addl	%eax, %edx
	movl	%edx, 16(%rbx)
	movq	_TCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_usc_OutReg
	movq	8(%rbx), %rax
	movq	_MGSL_MODE_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movl	(%rbx), %eax
	leal	-1040(,%rax,8), %ecx
                                        ## kill: def $eax killed $eax killed $rax
	addl	$-130, %eax
	movabsq	$731578826751, %rdx             ## imm = 0xAA557EFFFF
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %rdx
	xorl	%ecx, %ecx
	cmpl	$5, %eax
	cmovael	%ecx, %edx
	movzbl	%dl, %edx
	movq	%rbx, %rdi
	movl	%edx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_usc_SetTransmitSyncChars       ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDLEMODE_FLAGS,8,3             ## @IDLEMODE_FLAGS
	.comm	_IDLEMODE_ALT_ONE_ZERO,8,3      ## @IDLEMODE_ALT_ONE_ZERO
	.comm	_IDLEMODE_ZERO,8,3              ## @IDLEMODE_ZERO
	.comm	_IDLEMODE_ONE,8,3               ## @IDLEMODE_ONE
	.comm	_IDLEMODE_ALT_MARK_SPACE,8,3    ## @IDLEMODE_ALT_MARK_SPACE
	.comm	_IDLEMODE_SPACE,8,3             ## @IDLEMODE_SPACE
	.comm	_IDLEMODE_MARK,8,3              ## @IDLEMODE_MARK
	.comm	_IDLEMODE_MASK,4,2              ## @IDLEMODE_MASK
	.comm	_TCSR,4,2                       ## @TCSR
	.comm	_MGSL_MODE_RAW,8,3              ## @MGSL_MODE_RAW
	.no_dead_strip	_usc_set_txidle
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.usc_set_txidle
l_switch.table.usc_set_txidle:
	.quad	_IDLEMODE_ZERO
	.quad	_IDLEMODE_SPACE
	.quad	_IDLEMODE_ONE
	.quad	_IDLEMODE_MARK
	.quad	_IDLEMODE_FLAGS
	.quad	_IDLEMODE_ALT_ONE_ZERO
	.quad	_IDLEMODE_ALT_MARK_SPACE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usc_set_txidle
_usc_set_txidle:                        ; @usc_set_txidle
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.usc_set_txidle@PAGE
Lloh1:
	add	x9, x9, l_switch.table.usc_set_txidle@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _IDLEMODE_FLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDLEMODE_FLAGS@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh4:
	adrp	x9, _IDLEMODE_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IDLEMODE_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	ldr	w10, [x19, #16]
	bic	w9, w10, w9
	add	w2, w9, w8
	str	w2, [x19, #16]
Lloh7:
	adrp	x8, _TCSR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TCSR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_OutReg
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _MGSL_MODE_RAW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MGSL_MODE_RAW@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x19]
	sub	w8, w8, #130
	lsl	x9, x8, #3
	mov	x10, #65535
	movk	x10, #21886, lsl #16
	movk	x10, #170, lsl #32
	lsr	x9, x10, x9
	cmp	w8, #5
	csel	w8, w9, wzr, lo
	and	w1, w8, #0xff
	mov	x0, x19
	mov	x2, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usc_SetTransmitSyncChars
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IDLEMODE_FLAGS,8,3             ; @IDLEMODE_FLAGS
	.comm	_IDLEMODE_ALT_ONE_ZERO,8,3      ; @IDLEMODE_ALT_ONE_ZERO
	.comm	_IDLEMODE_ZERO,8,3              ; @IDLEMODE_ZERO
	.comm	_IDLEMODE_ONE,8,3               ; @IDLEMODE_ONE
	.comm	_IDLEMODE_ALT_MARK_SPACE,8,3    ; @IDLEMODE_ALT_MARK_SPACE
	.comm	_IDLEMODE_SPACE,8,3             ; @IDLEMODE_SPACE
	.comm	_IDLEMODE_MARK,8,3              ; @IDLEMODE_MARK
	.comm	_IDLEMODE_MASK,4,2              ; @IDLEMODE_MASK
	.comm	_TCSR,4,2                       ; @TCSR
	.comm	_MGSL_MODE_RAW,8,3              ; @MGSL_MODE_RAW
	.no_dead_strip	_usc_set_txidle
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.usc_set_txidle
l_switch.table.usc_set_txidle:
	.quad	_IDLEMODE_ZERO
	.quad	_IDLEMODE_SPACE
	.quad	_IDLEMODE_ONE
	.quad	_IDLEMODE_MARK
	.quad	_IDLEMODE_FLAGS
	.quad	_IDLEMODE_ALT_ONE_ZERO
	.quad	_IDLEMODE_ALT_MARK_SPACE

.subsections_via_symbols
