	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t3_tp_set_coalescing_size
_t3_tp_set_coalescing_size:             ## @t3_tp_set_coalescing_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_RX_COALESCING_LEN@GOTPCREL(%rip), %r13
	cmpl	%esi, (%r13)
	jae	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_A_TP_PARA_REG3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t3_read_reg
	movq	_F_RXCOALESCEENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_F_RXCOALESCEPSHEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %ebx
	orl	%ecx, %ebx
	notl	%ebx
	andl	%eax, %ebx
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	testl	%r12d, %r12d
	cmovel	%r12d, %edx
	orl	%ecx, %edx
	orl	%edx, %ebx
	movl	(%r13), %edi
	movl	%r15d, %esi
	callq	_min
	movq	_A_TP_PARA_REG2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%eax, %edi
	callq	_V_RXCOALESCESIZE
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_V_MAXRXDATA
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_t3_write_reg
LBB0_4:
	movq	_A_TP_PARA_REG3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_t3_write_reg
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RX_COALESCING_LEN,4,2      ## @MAX_RX_COALESCING_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_A_TP_PARA_REG3,4,2             ## @A_TP_PARA_REG3
	.comm	_F_RXCOALESCEENABLE,4,2         ## @F_RXCOALESCEENABLE
	.comm	_F_RXCOALESCEPSHEN,4,2          ## @F_RXCOALESCEPSHEN
	.comm	_A_TP_PARA_REG2,4,2             ## @A_TP_PARA_REG2
	.no_dead_strip	_t3_tp_set_coalescing_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t3_tp_set_coalescing_size
_t3_tp_set_coalescing_size:             ; @t3_tp_set_coalescing_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x24, _MAX_RX_COALESCING_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_RX_COALESCING_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w1
	b.hs	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh5:
	adrp	x23, _A_TP_PARA_REG3@GOTPAGE
Lloh6:
	ldr	x23, [x23, _A_TP_PARA_REG3@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_t3_read_reg
Lloh7:
	adrp	x8, _F_RXCOALESCEENABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _F_RXCOALESCEENABLE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _F_RXCOALESCEPSHEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _F_RXCOALESCEPSHEN@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w20, w0, w10
	cbz	w21, LBB0_4
; %bb.3:
	cmp	w22, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	orr	w20, w8, w20
	ldr	w0, [x24]
	mov	x1, x21
	bl	_min
Lloh13:
	adrp	x8, _A_TP_PARA_REG2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _A_TP_PARA_REG2@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
	bl	_V_RXCOALESCESIZE
	mov	x22, x0
	ldr	w0, [x24]
	bl	_V_MAXRXDATA
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
LBB0_4:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_t3_write_reg
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RX_COALESCING_LEN,4,2      ; @MAX_RX_COALESCING_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_A_TP_PARA_REG3,4,2             ; @A_TP_PARA_REG3
	.comm	_F_RXCOALESCEENABLE,4,2         ; @F_RXCOALESCEENABLE
	.comm	_F_RXCOALESCEPSHEN,4,2          ; @F_RXCOALESCEPSHEN
	.comm	_A_TP_PARA_REG2,4,2             ; @A_TP_PARA_REG2
	.no_dead_strip	_t3_tp_set_coalescing_size
.subsections_via_symbols
