	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_xmit_type
_qede_xmit_type:                        ## @qede_xmit_type
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_XMIT_L4_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_vlan_get_protocol
	movq	%rax, %r12
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_ipv6_hdr
	movq	(%rax), %rax
	movq	_NEXTHDR_IPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	$1, (%r15)
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.6:
	movq	_XMIT_ENC@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movzwl	(%rax), %eax
	movq	_SKB_GSO_UDP_TUNNEL_CSUM@GOTPCREL(%rip), %rcx
	testw	%ax, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	_SKB_GSO_GRE_CSUM@GOTPCREL(%rip), %rcx
	testw	%ax, (%rcx)
	je	LBB0_10
LBB0_9:
	movq	_XMIT_ENC_GSO_L4_CSUM@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_10:
	movq	_XMIT_LSO@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_14
LBB0_1:
	movq	_XMIT_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_14
LBB0_11:
	movq	%rbx, %rdi
	callq	_skb_is_gso
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_XMIT_LSO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:
	orl	%ecx, %r14d
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XMIT_L4_CSUM,4,2               ## @XMIT_L4_CSUM
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_XMIT_PLAIN,4,2                 ## @XMIT_PLAIN
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_NEXTHDR_IPV6,8,3               ## @NEXTHDR_IPV6
	.comm	_XMIT_ENC,4,2                   ## @XMIT_ENC
	.comm	_SKB_GSO_UDP_TUNNEL_CSUM,2,1    ## @SKB_GSO_UDP_TUNNEL_CSUM
	.comm	_SKB_GSO_GRE_CSUM,2,1           ## @SKB_GSO_GRE_CSUM
	.comm	_XMIT_ENC_GSO_L4_CSUM,4,2       ## @XMIT_ENC_GSO_L4_CSUM
	.comm	_XMIT_LSO,4,2                   ## @XMIT_LSO
	.no_dead_strip	_qede_xmit_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_xmit_type
_qede_xmit_type:                        ; @qede_xmit_type
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh3:
	adrp	x8, _XMIT_L4_CSUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XMIT_L4_CSUM@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	bl	_vlan_get_protocol
	mov	x21, x0
Lloh6:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_ipv6_hdr
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _NEXTHDR_IPV6@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NEXTHDR_IPV6@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.5:
Lloh12:
	adrp	x8, _XMIT_ENC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XMIT_ENC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_skb_shinfo
	ldrh	w8, [x0]
Lloh15:
	adrp	x9, _SKB_GSO_UDP_TUNNEL_CSUM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SKB_GSO_UDP_TUNNEL_CSUM@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
Lloh17:
	adrp	x9, _SKB_GSO_GRE_CSUM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SKB_GSO_GRE_CSUM@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_8:
Lloh19:
	adrp	x8, _XMIT_ENC_GSO_L4_CSUM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XMIT_ENC_GSO_L4_CSUM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_9:
Lloh22:
	adrp	x8, _XMIT_LSO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XMIT_LSO@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	b	LBB0_12
LBB0_10:
Lloh25:
	adrp	x8, _XMIT_PLAIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _XMIT_PLAIN@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_skb_is_gso
Lloh28:
	adrp	x8, _XMIT_LSO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _XMIT_LSO@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
LBB0_12:
	orr	w0, w8, w22
LBB0_13:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_XMIT_L4_CSUM,4,2               ; @XMIT_L4_CSUM
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_XMIT_PLAIN,4,2                 ; @XMIT_PLAIN
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_NEXTHDR_IPV6,8,3               ; @NEXTHDR_IPV6
	.comm	_XMIT_ENC,4,2                   ; @XMIT_ENC
	.comm	_SKB_GSO_UDP_TUNNEL_CSUM,2,1    ; @SKB_GSO_UDP_TUNNEL_CSUM
	.comm	_SKB_GSO_GRE_CSUM,2,1           ; @SKB_GSO_GRE_CSUM
	.comm	_XMIT_ENC_GSO_L4_CSUM,4,2       ; @XMIT_ENC_GSO_L4_CSUM
	.comm	_XMIT_LSO,4,2                   ; @XMIT_LSO
	.no_dead_strip	_qede_xmit_type
.subsections_via_symbols
