	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_xmit_type
_bnx2x_xmit_type:                       ## @bnx2x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rsi), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_vlan_get_protocol
	movq	%rax, %rbx
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.3:
	movq	_XMIT_CSUM_V6@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ipv6_hdr
	jmp	LBB0_5
LBB0_1:
	movq	_XMIT_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	movq	_XMIT_CSUM_V4@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_ip_hdr
LBB0_5:
	movq	(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_XMIT_CSUM_TCP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_skb_is_gso_v6
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_XMIT_GSO_V6@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_XMIT_GSO_V4@GOTPCREL(%rip), %rax
LBB0_11:
	movq	_XMIT_CSUM_TCP@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_XMIT_PLAIN,4,2                 ## @XMIT_PLAIN
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_XMIT_CSUM_V6,4,2               ## @XMIT_CSUM_V6
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_XMIT_CSUM_TCP,4,2              ## @XMIT_CSUM_TCP
	.comm	_XMIT_CSUM_V4,4,2               ## @XMIT_CSUM_V4
	.comm	_XMIT_GSO_V6,4,2                ## @XMIT_GSO_V6
	.comm	_XMIT_GSO_V4,4,2                ## @XMIT_GSO_V4
	.no_dead_strip	_bnx2x_xmit_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_xmit_type
_bnx2x_xmit_type:                       ; @bnx2x_xmit_type
	.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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_vlan_get_protocol
	mov	x20, x0
Lloh3:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _XMIT_CSUM_V6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XMIT_CSUM_V6@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ipv6_hdr
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x8, _XMIT_PLAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XMIT_PLAIN@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x8, _XMIT_CSUM_V4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XMIT_CSUM_V4@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_ip_hdr
LBB0_5:
	ldr	x8, [x0]
Lloh15:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _XMIT_CSUM_TCP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XMIT_CSUM_TCP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_7:
	mov	x0, x19
	bl	_skb_is_gso_v6
	cbz	x0, LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _XMIT_GSO_V6@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XMIT_GSO_V6@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_12
; %bb.10:
Lloh23:
	adrp	x8, _XMIT_GSO_V4@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XMIT_GSO_V4@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _XMIT_CSUM_TCP@GOTPAGE
Lloh26:
	ldr	x9, [x9, _XMIT_CSUM_TCP@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_XMIT_PLAIN,4,2                 ; @XMIT_PLAIN
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_XMIT_CSUM_V6,4,2               ; @XMIT_CSUM_V6
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_XMIT_CSUM_TCP,4,2              ; @XMIT_CSUM_TCP
	.comm	_XMIT_CSUM_V4,4,2               ; @XMIT_CSUM_V4
	.comm	_XMIT_GSO_V6,4,2                ; @XMIT_GSO_V6
	.comm	_XMIT_GSO_V4,4,2                ; @XMIT_GSO_V4
	.no_dead_strip	_bnx2x_xmit_type
.subsections_via_symbols
