	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e82545_transmit_checksum
_e82545_transmit_checksum:              ## @e82545_transmit_checksum
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdx), %edx
	movl	4(%rbx), %ecx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTF
	movl	8(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edx
	subl	%edx, %ecx
	incl	%ecx
	jmp	LBB0_3
LBB0_2:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %edx
LBB0_3:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_e82545_iov_checksum
	notl	%eax
	movq	(%r14), %rcx
	movslq	4(%rbx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx cksum: iovcnt/s/off/len %d/%d/%d/%d\r\n"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_e82545_transmit_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e82545_transmit_checksum
_e82545_transmit_checksum:              ; @e82545_transmit_checksum
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w2, [x2]
	ldp	w3, w4, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTF
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w2, [x19]
	sub	w8, w8, w2
	add	w3, w8, #1
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	ldr	w2, [x19]
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_e82545_iov_checksum
	mvn	w8, w0
	ldr	x9, [x20]
	ldrsw	x10, [x19, #4]
	str	w8, [x9, x10, lsl #2]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx cksum: iovcnt/s/off/len %d/%d/%d/%d\r\n"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_e82545_transmit_checksum
.subsections_via_symbols
