	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_nic_set_priv_ops
_hns_nic_set_priv_ops:                  ## @hns_nic_set_priv_ops
	.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	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %r14
	movl	16(%rax), %edi
	callq	_AE_IS_VER1
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	_fill_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_get_rx_desc_bnum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_hns_nic_maybe_stop_tx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_get_v2rx_desc_bnum@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	(%r15), %eax
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_3:
	movq	_fill_tso_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_hns_nic_maybe_stop_tso@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	movl	$28672, %esi                    ## imm = 0x7000
	callq	_netif_set_gso_max_size
LBB0_5:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%r14, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movq	_fill_v2_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_hns_nic_maybe_stop_tx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_fill_desc,4,2                  ## @fill_desc
	.comm	_get_rx_desc_bnum,4,2           ## @get_rx_desc_bnum
	.comm	_hns_nic_maybe_stop_tx,8,3      ## @hns_nic_maybe_stop_tx
	.comm	_get_v2rx_desc_bnum,4,2         ## @get_v2rx_desc_bnum
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_fill_tso_desc,4,2              ## @fill_tso_desc
	.comm	_hns_nic_maybe_stop_tso,8,3     ## @hns_nic_maybe_stop_tso
	.comm	_fill_v2_desc,4,2               ## @fill_v2_desc
	.no_dead_strip	_hns_nic_set_priv_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_nic_set_priv_ops
_hns_nic_set_priv_ops:                  ; @hns_nic_set_priv_ops
	.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, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #24]
	ldr	w0, [x0, #16]
	bl	_AE_IS_VER1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _fill_desc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fill_desc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _get_rx_desc_bnum@GOTPAGE
Lloh4:
	ldr	x9, [x9, _get_rx_desc_bnum@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [x20, #8]
Lloh6:
	adrp	x8, _hns_nic_maybe_stop_tx@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hns_nic_maybe_stop_tx@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x20]
	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
LBB0_2:
Lloh9:
	adrp	x8, _get_v2rx_desc_bnum@GOTPAGE
Lloh10:
	ldr	x8, [x8, _get_v2rx_desc_bnum@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
Lloh18:
	adrp	x8, _fill_tso_desc@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fill_tso_desc@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh21:
	adrp	x8, _hns_nic_maybe_stop_tso@GOTPAGE
Lloh22:
	ldr	x8, [x8, _hns_nic_maybe_stop_tso@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x21
	mov	w1, #28672
	bl	_netif_set_gso_max_size
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x2, [x8]
	mov	x0, x19
	mov	w1, #1
	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
	br	x2
LBB0_6:
Lloh24:
	adrp	x8, _fill_v2_desc@GOTPAGE
Lloh25:
	ldr	x8, [x8, _fill_v2_desc@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh27:
	adrp	x8, _hns_nic_maybe_stop_tx@GOTPAGE
Lloh28:
	ldr	x8, [x8, _hns_nic_maybe_stop_tx@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_fill_desc,4,2                  ; @fill_desc
	.comm	_get_rx_desc_bnum,4,2           ; @get_rx_desc_bnum
	.comm	_hns_nic_maybe_stop_tx,8,3      ; @hns_nic_maybe_stop_tx
	.comm	_get_v2rx_desc_bnum,4,2         ; @get_v2rx_desc_bnum
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_fill_tso_desc,4,2              ; @fill_tso_desc
	.comm	_hns_nic_maybe_stop_tso,8,3     ; @hns_nic_maybe_stop_tso
	.comm	_fill_v2_desc,4,2               ; @fill_v2_desc
	.no_dead_strip	_hns_nic_set_priv_ops
.subsections_via_symbols
