	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_tso_csum_v1
_rtl8169_tso_csum_v1:                   ## @rtl8169_tso_csum_v1
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_skb_shinfo
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_3
## %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
	movq	_TD0_MSS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, (%r14)
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_TD0_IP_CS@GOTPCREL(%rip), %rax
	movq	_TD0_TCP_CS@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_7:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_TD0_IP_CS@GOTPCREL(%rip), %rax
	movq	_TD0_UDP_CS@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WARN_ON_ONCE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_LSO,4,2                     ## @TD_LSO
	.comm	_TD_MSS_MAX,4,2                 ## @TD_MSS_MAX
	.comm	_TD0_MSS_SHIFT,4,2              ## @TD0_MSS_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_TD0_IP_CS,4,2                  ## @TD0_IP_CS
	.comm	_TD0_TCP_CS,4,2                 ## @TD0_TCP_CS
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_TD0_UDP_CS,4,2                 ## @TD0_UDP_CS
	.no_dead_strip	_rtl8169_tso_csum_v1
.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_v1
_rtl8169_tso_csum_v1:                   ; @rtl8169_tso_csum_v1
	.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, x1
	mov	x20, x0
	bl	_skb_shinfo
	ldr	w0, [x0]
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _TD_LSO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TD_LSO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x8, _TD_MSS_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TD_MSS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_min
Lloh6:
	adrp	x8, _TD0_MSS_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TD0_MSS_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	ldr	w9, [x19]
	orr	w8, w9, w8
LBB0_2:
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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:
Lloh15:
	adrp	x8, _TD0_IP_CS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TD0_IP_CS@GOTPAGEOFF]
Lloh17:
	adrp	x9, _TD0_TCP_CS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TD0_TCP_CS@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh19:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
Lloh22:
	adrp	x8, _TD0_IP_CS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TD0_IP_CS@GOTPAGEOFF]
Lloh24:
	adrp	x9, _TD0_UDP_CS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TD0_UDP_CS@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	b	LBB0_2
LBB0_10:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_LSO,4,2                     ; @TD_LSO
	.comm	_TD_MSS_MAX,4,2                 ; @TD_MSS_MAX
	.comm	_TD0_MSS_SHIFT,4,2              ; @TD0_MSS_SHIFT
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_TD0_IP_CS,4,2                  ; @TD0_IP_CS
	.comm	_TD0_TCP_CS,4,2                 ; @TD0_TCP_CS
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_TD0_UDP_CS,4,2                 ; @TD0_UDP_CS
	.no_dead_strip	_rtl8169_tso_csum_v1
.subsections_via_symbols
