	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_htt_rx_get_csum_state
_ath10k_htt_rx_get_csum_state:          ## @ath10k_htt_rx_get_csum_state
	.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	(%rdi), %rbx
	movl	-4(%rbx), %edi
	callq	___le32_to_cpu
	movl	%eax, %r14d
	movl	-8(%rbx), %edi
	callq	___le32_to_cpu
	movq	_RX_MSDU_START_INFO1_IPV4_PROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_RX_MSDU_START_INFO1_IPV6_PROTO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rcx
	testl	%eax, %edx
	je	LBB0_5
## %bb.1:
	movq	_RX_MSDU_START_INFO1_UDP_PROTO@GOTPCREL(%rip), %rdx
	movq	_RX_MSDU_START_INFO1_TCP_PROTO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%eax, %esi
	je	LBB0_5
## %bb.2:
	movq	_RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL@GOTPCREL(%rip), %rax
	movq	_RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_MSDU_START_INFO1_IPV4_PROTO,4,2 ## @RX_MSDU_START_INFO1_IPV4_PROTO
	.comm	_RX_MSDU_START_INFO1_IPV6_PROTO,4,2 ## @RX_MSDU_START_INFO1_IPV6_PROTO
	.comm	_RX_MSDU_START_INFO1_TCP_PROTO,4,2 ## @RX_MSDU_START_INFO1_TCP_PROTO
	.comm	_RX_MSDU_START_INFO1_UDP_PROTO,4,2 ## @RX_MSDU_START_INFO1_UDP_PROTO
	.comm	_RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL,4,2 ## @RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL
	.comm	_RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL,4,2 ## @RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.no_dead_strip	_ath10k_htt_rx_get_csum_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_htt_rx_get_csum_state
_ath10k_htt_rx_get_csum_state:          ; @ath10k_htt_rx_get_csum_state
	.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
	ldr	x20, [x0]
	ldur	w0, [x20, #-4]
	bl	___le32_to_cpu
	mov	x19, x0
	ldur	w0, [x20, #-8]
	bl	___le32_to_cpu
Lloh0:
	adrp	x8, _RX_MSDU_START_INFO1_IPV4_PROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_MSDU_START_INFO1_IPV4_PROTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RX_MSDU_START_INFO1_IPV6_PROTO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_MSDU_START_INFO1_IPV6_PROTO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _RX_MSDU_START_INFO1_UDP_PROTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_MSDU_START_INFO1_UDP_PROTO@GOTPAGEOFF]
Lloh8:
	adrp	x9, _RX_MSDU_START_INFO1_TCP_PROTO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RX_MSDU_START_INFO1_TCP_PROTO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh12:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
	tst	w9, w0
	b.eq	LBB0_4
; %bb.2:
Lloh14:
	adrp	x9, _RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w9, w9, w19
Lloh17:
	adrp	x10, _RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	and	w10, w10, w19
	orr	w9, w9, w10
Lloh20:
	adrp	x10, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh21:
	ldr	x10, [x10, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	b	LBB0_4
LBB0_3:
Lloh22:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_MSDU_START_INFO1_IPV4_PROTO,4,2 ; @RX_MSDU_START_INFO1_IPV4_PROTO
	.comm	_RX_MSDU_START_INFO1_IPV6_PROTO,4,2 ; @RX_MSDU_START_INFO1_IPV6_PROTO
	.comm	_RX_MSDU_START_INFO1_TCP_PROTO,4,2 ; @RX_MSDU_START_INFO1_TCP_PROTO
	.comm	_RX_MSDU_START_INFO1_UDP_PROTO,4,2 ; @RX_MSDU_START_INFO1_UDP_PROTO
	.comm	_RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL,4,2 ; @RX_ATTENTION_FLAGS_IP_CHKSUM_FAIL
	.comm	_RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL,4,2 ; @RX_ATTENTION_FLAGS_TCP_UDP_CHKSUM_FAIL
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.no_dead_strip	_ath10k_htt_rx_get_csum_state
.subsections_via_symbols
