	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8153_set_rx_early_timeout
_r8153_set_rx_early_timeout:            ## @r8153_set_rx_early_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	leal	7(%rcx), %ebx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	leal	-130(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_2
## %bb.1:
	movq	_USB_RX_EARLY_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	addl	$-128, %eax
	cmpl	$1, %eax
	ja	LBB0_5
## %bb.3:
	movq	_MCU_TYPE_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_USB_RX_EARLY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$16, %ecx
	callq	_ocp_write_word
	movq	_USB_RX_EXTRA_AGGR_TMR@GOTPCREL(%rip), %rax
LBB0_4:
	sarl	$3, %ebx
	movq	_MCU_TYPE_USB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ocp_write_word                 ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_USB,4,2               ## @MCU_TYPE_USB
	.comm	_USB_RX_EARLY_TIMEOUT,4,2       ## @USB_RX_EARLY_TIMEOUT
	.comm	_USB_RX_EXTRA_AGGR_TMR,4,2      ## @USB_RX_EXTRA_AGGR_TMR
	.no_dead_strip	_r8153_set_rx_early_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r8153_set_rx_early_timeout
_r8153_set_rx_early_timeout:            ; @r8153_set_rx_early_timeout
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	w8, w9, [x0]
	add	w10, w8, #7
	cmp	w8, #0
	csel	w20, w10, w8, lt
Lloh0:
	adrp	x8, _USB_RX_EARLY_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_RX_EARLY_TIMEOUT@GOTPAGEOFF]
	sub	w10, w9, #130
Lloh2:
	adrp	x21, _MCU_TYPE_USB@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MCU_TYPE_USB@GOTPAGEOFF]
	cmp	w10, #4
	b.lo	LBB0_3
; %bb.1:
	sub	w9, w9, #128
	cmp	w9, #1
	b.hi	LBB0_4
; %bb.2:
	ldr	w1, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #16
	bl	_ocp_write_word
Lloh4:
	adrp	x8, _USB_RX_EXTRA_AGGR_TMR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _USB_RX_EXTRA_AGGR_TMR@GOTPAGEOFF]
LBB0_3:
	asr	w3, w20, #3
	ldr	w1, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ocp_write_word
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_USB,4,2               ; @MCU_TYPE_USB
	.comm	_USB_RX_EARLY_TIMEOUT,4,2       ; @USB_RX_EARLY_TIMEOUT
	.comm	_USB_RX_EXTRA_AGGR_TMR,4,2      ; @USB_RX_EXTRA_AGGR_TMR
	.no_dead_strip	_r8153_set_rx_early_timeout
.subsections_via_symbols
