	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_tso
_e1000_set_tso:                         ## @e1000_set_tso
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	_e1000_82544@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_e1000_82547@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.3:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	xorl	%ecx, %ecx
	testq	%r15, %r15
	cmovel	%ecx, %eax
	jmp	LBB0_7
LBB0_5:
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	movl	$1, (%r14)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82544,8,3                ## @e1000_82544
	.comm	_e1000_82547,8,3                ## @e1000_82547
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TSO is %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Enabled"

L_.str.2:                               ## @.str.2
	.asciz	"Disabled"

	.no_dead_strip	_e1000_set_tso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_tso
_e1000_set_tso:                         ; @e1000_set_tso
	.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	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _e1000_82544@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_82544@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _e1000_82547@GOTPAGE
Lloh4:
	ldr	x10, [x10, _e1000_82547@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ge
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x21, #0
	csneg	w0, wzr, w8, eq
	b	LBB0_6
LBB0_2:
	mov	x19, x0
Lloh9:
	adrp	x8, _NETIF_F_TSO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_TSO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	x21, LBB0_4
; %bb.3:
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_5:
Lloh16:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20]
Lloh19:
	adrp	x8, _probe@GOTPAGE
Lloh20:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82544,8,3                ; @e1000_82544
	.comm	_e1000_82547,8,3                ; @e1000_82547
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TSO is %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Enabled"

l_.str.2:                               ; @.str.2
	.asciz	"Disabled"

	.no_dead_strip	_e1000_set_tso
.subsections_via_symbols
