	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_hw_csum_setup
_ql_hw_csum_setup:                      ## @ql_hw_csum_setup
	.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, %r14
	movq	%rdi, %rbx
	callq	_ip_hdr
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_skb_network_offset
	movl	%eax, 8(%r14)
	movl	8(%r15), %eax
	movl	%eax, 4(%r14)
	movq	(%r15), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_OB_3032MAC_IOCB_REQ_TC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OB_3032MAC_IOCB_REQ_UC@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_OB_3032MAC_IOCB_REQ_IC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_OB_3032MAC_IOCB_REQ_TC,4,2     ## @OB_3032MAC_IOCB_REQ_TC
	.comm	_OB_3032MAC_IOCB_REQ_IC,4,2     ## @OB_3032MAC_IOCB_REQ_IC
	.comm	_OB_3032MAC_IOCB_REQ_UC,4,2     ## @OB_3032MAC_IOCB_REQ_UC
	.no_dead_strip	_ql_hw_csum_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_hw_csum_setup
_ql_hw_csum_setup:                      ; @ql_hw_csum_setup
	.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	x19, x1
	mov	x20, x0
	bl	_ip_hdr
	mov	x21, x0
	mov	x0, x20
	bl	_skb_network_offset
	ldr	w8, [x21, #8]
	stp	w8, w0, [x19, #4]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _OB_3032MAC_IOCB_REQ_TC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OB_3032MAC_IOCB_REQ_TC@GOTPAGEOFF]
Lloh5:
	adrp	x11, _OB_3032MAC_IOCB_REQ_UC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OB_3032MAC_IOCB_REQ_UC@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
Lloh7:
	adrp	x9, _OB_3032MAC_IOCB_REQ_IC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OB_3032MAC_IOCB_REQ_IC@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_OB_3032MAC_IOCB_REQ_TC,4,2     ; @OB_3032MAC_IOCB_REQ_TC
	.comm	_OB_3032MAC_IOCB_REQ_IC,4,2     ; @OB_3032MAC_IOCB_REQ_IC
	.comm	_OB_3032MAC_IOCB_REQ_UC,4,2     ; @OB_3032MAC_IOCB_REQ_UC
	.no_dead_strip	_ql_hw_csum_setup
.subsections_via_symbols
