	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_tso_csum
_rtl8169_tso_csum:                      ## @rtl8169_tso_csum
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	_tx_desc_info@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movslq	(%rdi), %rbx
	movq	%rsi, %rdi
	callq	_skb_shinfo
	movl	(%rax), %edi
	shlq	$4, %rbx
	movslq	(%r15,%rbx), %r13
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	_TD_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	_TD_MSS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_min
	movb	4(%r15,%rbx), %cl
	shll	%cl, %eax
LBB0_7:
	orl	%eax, (%r14,%r13,4)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r12), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movq	%r12, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	8(%r15,%rbx), %eax
	jmp	LBB0_7
LBB0_5:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movl	12(%r15,%rbx), %eax
	jmp	LBB0_7
LBB0_9:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON_ONCE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_desc_info,8,3               ## @tx_desc_info
	.comm	_TD_LSO,4,2                     ## @TD_LSO
	.comm	_TD_MSS_MAX,4,2                 ## @TD_MSS_MAX
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.no_dead_strip	_rtl8169_tso_csum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_tso_csum
_rtl8169_tso_csum:                      ; @rtl8169_tso_csum
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _tx_desc_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_desc_info@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldrsw	x23, [x0]
	mov	x0, x1
	bl	_skb_shinfo
	ldr	w0, [x0]
	lsl	x8, x23, #4
	ldrsw	x22, [x21, x8]
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _TD_LSO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TD_LSO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x8, _TD_MSS_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TD_MSS_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_min
	add	x8, x21, x23, lsl #4
	ldr	w8, [x8, #4]
	lsl	w8, w0, w8
LBB0_2:
	lsl	x9, x22, #2
	ldr	w10, [x19, x9]
	orr	w8, w10, w8
	str	w8, [x19, x9]
LBB0_3:
	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
LBB0_4:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.5:
	mov	x0, x20
	bl	_ip_hdr
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	add	x8, x21, x23, lsl #4
	ldr	w8, [x8, #8]
	b	LBB0_2
LBB0_7:
Lloh15:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	add	x8, x21, x23, lsl #4
	ldr	w8, [x8, #12]
	b	LBB0_2
LBB0_9:
	mov	w0, #1
	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
	b	_WARN_ON_ONCE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_desc_info,8,3               ; @tx_desc_info
	.comm	_TD_LSO,4,2                     ; @TD_LSO
	.comm	_TD_MSS_MAX,4,2                 ; @TD_MSS_MAX
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.no_dead_strip	_rtl8169_tso_csum
.subsections_via_symbols
