	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_set_features
_ax88179_set_features:                  ## @ax88179_set_features
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	xorl	(%rbx), %r15d
	movq	%rax, %r14
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_AX_TXCOE_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-44(%rbp), %r12
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_read_cmd
	movq	_AX_TXCOE_TCP@GOTPCREL(%rip), %rax
	movq	_AX_TXCOE_UDP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%ecx, -44(%rbp)
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_write_cmd
LBB0_2:
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_AX_TXCOE_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-44(%rbp), %r12
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_read_cmd
	movq	_AX_TXCOE_TCPV6@GOTPCREL(%rip), %rax
	movq	_AX_TXCOE_UDPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%ecx, -44(%rbp)
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r12, %r9
	callq	_ax88179_write_cmd
LBB0_4:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_AX_ACCESS_MAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_AX_RXCOE_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-44(%rbp), %r15
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r15, %r9
	callq	_ax88179_read_cmd
	movq	_AX_RXCOE_IP@GOTPCREL(%rip), %rax
	movq	_AX_RXCOE_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AX_RXCOE_UDP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AX_RXCOE_TCPV6@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_AX_RXCOE_UDPV6@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	xorl	%ecx, -44(%rbp)
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	movq	%r15, %r9
	callq	_ax88179_write_cmd
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_AX_ACCESS_MAC,4,2              ## @AX_ACCESS_MAC
	.comm	_AX_TXCOE_CTL,4,2               ## @AX_TXCOE_CTL
	.comm	_AX_TXCOE_TCP,4,2               ## @AX_TXCOE_TCP
	.comm	_AX_TXCOE_UDP,4,2               ## @AX_TXCOE_UDP
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_AX_TXCOE_TCPV6,4,2             ## @AX_TXCOE_TCPV6
	.comm	_AX_TXCOE_UDPV6,4,2             ## @AX_TXCOE_UDPV6
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_AX_RXCOE_CTL,4,2               ## @AX_RXCOE_CTL
	.comm	_AX_RXCOE_IP,4,2                ## @AX_RXCOE_IP
	.comm	_AX_RXCOE_TCP,4,2               ## @AX_RXCOE_TCP
	.comm	_AX_RXCOE_UDP,4,2               ## @AX_RXCOE_UDP
	.comm	_AX_RXCOE_TCPV6,4,2             ## @AX_RXCOE_TCPV6
	.comm	_AX_RXCOE_UDPV6,4,2             ## @AX_RXCOE_UDPV6
	.no_dead_strip	_ax88179_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_set_features
_ax88179_set_features:                  ; @ax88179_set_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x21]
	eor	w21, w8, w20
Lloh0:
	adrp	x8, _NETIF_F_IP_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, _AX_ACCESS_MAC@GOTPAGE
Lloh4:
	ldr	x20, [x20, _AX_ACCESS_MAC@GOTPAGEOFF]
Lloh5:
	adrp	x22, _AX_TXCOE_CTL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _AX_TXCOE_CTL@GOTPAGEOFF]
	tst	w21, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd
Lloh7:
	adrp	x8, _AX_TXCOE_TCP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AX_TXCOE_TCP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _AX_TXCOE_UDP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AX_TXCOE_UDP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	eor	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd
LBB0_2:
Lloh13:
	adrp	x8, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x20]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd
Lloh16:
	adrp	x8, _AX_TXCOE_TCPV6@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AX_TXCOE_TCPV6@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _AX_TXCOE_UDPV6@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AX_TXCOE_UDPV6@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [sp, #12]
	eor	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [x22]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd
LBB0_4:
Lloh22:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x20]
Lloh25:
	adrp	x21, _AX_RXCOE_CTL@GOTPAGE
Lloh26:
	ldr	x21, [x21, _AX_RXCOE_CTL@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_read_cmd
Lloh27:
	adrp	x8, _AX_RXCOE_IP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AX_RXCOE_IP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _AX_RXCOE_TCP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AX_RXCOE_TCP@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _AX_RXCOE_UDP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AX_RXCOE_UDP@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _AX_RXCOE_TCPV6@GOTPAGE
Lloh37:
	ldr	x10, [x10, _AX_RXCOE_TCPV6@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh38:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _AX_RXCOE_UDPV6@GOTPAGE
Lloh40:
	ldr	x9, [x9, _AX_RXCOE_UDPV6@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [sp, #12]
	eor	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x5, sp, #12
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	bl	_ax88179_write_cmd
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_AX_ACCESS_MAC,4,2              ; @AX_ACCESS_MAC
	.comm	_AX_TXCOE_CTL,4,2               ; @AX_TXCOE_CTL
	.comm	_AX_TXCOE_TCP,4,2               ; @AX_TXCOE_TCP
	.comm	_AX_TXCOE_UDP,4,2               ; @AX_TXCOE_UDP
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_AX_TXCOE_TCPV6,4,2             ; @AX_TXCOE_TCPV6
	.comm	_AX_TXCOE_UDPV6,4,2             ; @AX_TXCOE_UDPV6
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_AX_RXCOE_CTL,4,2               ; @AX_RXCOE_CTL
	.comm	_AX_RXCOE_IP,4,2                ; @AX_RXCOE_IP
	.comm	_AX_RXCOE_TCP,4,2               ; @AX_RXCOE_TCP
	.comm	_AX_RXCOE_UDP,4,2               ; @AX_RXCOE_UDP
	.comm	_AX_RXCOE_TCPV6,4,2             ; @AX_RXCOE_TCPV6
	.comm	_AX_RXCOE_UDPV6,4,2             ; @AX_RXCOE_UDPV6
	.no_dead_strip	_ax88179_set_features
.subsections_via_symbols
