	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_set_tso
_qlcnic_set_tso:                        ## @qlcnic_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	_QLCNIC_FW_CAPABILITY_TSO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	orl	%eax, (%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	notl	%eax
	andl	%eax, (%rbx)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_FW_CAPABILITY_TSO,4,2   ## @QLCNIC_FW_CAPABILITY_TSO
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.no_dead_strip	_qlcnic_set_tso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_set_tso
_qlcnic_set_tso:                        ; @qlcnic_set_tso
	.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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _QLCNIC_FW_CAPABILITY_TSO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_FW_CAPABILITY_TSO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _NETIF_F_TSO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_TSO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	mov	w0, #0
	cbz	x20, LBB0_4
; %bb.2:
	ldr	w9, [x19]
	orr	w8, w8, w9
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_5:
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_FW_CAPABILITY_TSO,4,2   ; @QLCNIC_FW_CAPABILITY_TSO
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.no_dead_strip	_qlcnic_set_tso
.subsections_via_symbols
