	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r8153_set_rx_early_size
_r8153_set_rx_early_size:               ## @r8153_set_rx_early_size
	.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), %ebx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_rx_reserved_size
	subl	%eax, %ebx
	movl	4(%r14), %eax
	leal	-130(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.3:
	movq	_MCU_TYPE_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_USB_RX_EARLY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	3(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$2, %ecx
	jmp	LBB0_4
LBB0_1:
	addl	$-128, %eax
	cmpl	$2, %eax
	jae	LBB0_5
## %bb.2:
	movq	_MCU_TYPE_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_USB_RX_EARLY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	7(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$3, %ecx
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ocp_write_word                 ## TAILCALL
LBB0_5:
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WARN_ON_ONCE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCU_TYPE_USB,4,2               ## @MCU_TYPE_USB
	.comm	_USB_RX_EARLY_SIZE,4,2          ## @USB_RX_EARLY_SIZE
	.no_dead_strip	_r8153_set_rx_early_size
.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_size
_r8153_set_rx_early_size:               ; @r8153_set_rx_early_size
	.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	w20, [x0]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_rx_reserved_size
	sub	w8, w20, w0
	ldr	w9, [x19, #4]
	sub	w10, w9, #130
	cmp	w10, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _MCU_TYPE_USB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCU_TYPE_USB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _USB_RX_EARLY_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USB_RX_EARLY_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w3, w8, #2
	b	LBB0_4
LBB0_2:
	sub	w9, w9, #128
	cmp	w9, #2
	b.hs	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, _MCU_TYPE_USB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MCU_TYPE_USB@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _USB_RX_EARLY_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _USB_RX_EARLY_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x9]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w3, w8, #3
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ocp_write_word
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN_ON_ONCE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCU_TYPE_USB,4,2               ; @MCU_TYPE_USB
	.comm	_USB_RX_EARLY_SIZE,4,2          ; @USB_RX_EARLY_SIZE
	.no_dead_strip	_r8153_set_rx_early_size
.subsections_via_symbols
