	.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	%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
	movq	(%rsi), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %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), %r12d
	movq	%r14, %rdi
	callq	_ipv6_hdr
	jmp	LBB0_5
LBB0_1:
	movq	_XMIT_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_21
LBB0_4:
	movq	_XMIT_CSUM_V4@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_ip_hdr
LBB0_5:
	movq	(%rax), %r13
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	je	LBB0_6
LBB0_12:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movq	_XMIT_CSUM_TCP@GOTPCREL(%rip), %r15
	cmpq	(%rax), %r13
	jne	LBB0_14
## %bb.13:
	movl	(%r15), %ebx
LBB0_14:
	orl	%r12d, %ebx
	movq	%r14, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	%r14, %rdi
	callq	_skb_is_gso_v6
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_XMIT_GSO_V6@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r15), %ebx
	movq	_XMIT_CSUM_ENC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_21
## %bb.17:
	movq	_XMIT_GSO_ENC_V6@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_6:
	cmpq	$0, 8(%r14)
	je	LBB0_12
## %bb.7:
	movq	%r14, %rdi
	callq	_inner_ip_hdr
	cmpl	$6, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_XMIT_CSUM_ENC_V6@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_inner_ipv6_hdr
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_18:
	movq	_XMIT_GSO_V4@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r15), %ebx
	movq	_XMIT_CSUM_ENC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_21
## %bb.19:
	movq	_XMIT_GSO_ENC_V4@GOTPCREL(%rip), %rax
LBB0_20:
	orl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_XMIT_CSUM_ENC_V4@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_inner_ip_hdr
	movq	8(%rax), %rax
LBB0_10:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	_XMIT_CSUM_TCP@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_12
	.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	_XMIT_CSUM_V4,4,2               ## @XMIT_CSUM_V4
	.comm	_XMIT_CSUM_ENC_V6,4,2           ## @XMIT_CSUM_ENC_V6
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_XMIT_CSUM_TCP,4,2              ## @XMIT_CSUM_TCP
	.comm	_XMIT_CSUM_ENC_V4,4,2           ## @XMIT_CSUM_ENC_V4
	.comm	_XMIT_GSO_V6,4,2                ## @XMIT_GSO_V6
	.comm	_XMIT_CSUM_ENC,4,2              ## @XMIT_CSUM_ENC
	.comm	_XMIT_GSO_ENC_V6,4,2            ## @XMIT_GSO_ENC_V6
	.comm	_XMIT_GSO_V4,4,2                ## @XMIT_GSO_V4
	.comm	_XMIT_GSO_ENC_V4,4,2            ## @XMIT_GSO_ENC_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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_vlan_get_protocol
	mov	x21, x0
Lloh3:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _XMIT_CSUM_V6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XMIT_CSUM_V6@GOTPAGEOFF]
Lloh8:
	ldr	w21, [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_16
LBB0_4:
Lloh12:
	adrp	x8, _XMIT_CSUM_V4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XMIT_CSUM_V4@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_ip_hdr
LBB0_5:
	ldr	x23, [x0]
	mov	x0, x20
	bl	_CHIP_IS_E1x
Lloh15:
	adrp	x20, _IPPROTO_TCP@GOTPAGE
Lloh16:
	ldr	x20, [x20, _IPPROTO_TCP@GOTPAGEOFF]
Lloh17:
	adrp	x22, _XMIT_CSUM_TCP@GOTPAGE
Lloh18:
	ldr	x22, [x22, _XMIT_CSUM_TCP@GOTPAGEOFF]
	cbz	w0, LBB0_10
LBB0_6:
	ldr	x8, [x20]
	ldr	w9, [x22]
	cmp	x23, x8
	csel	w8, w9, wzr, eq
	orr	w20, w8, w21
	mov	x0, x19
	bl	_skb_is_gso
	cbz	x0, LBB0_16
; %bb.7:
	mov	x0, x19
	bl	_skb_is_gso_v6
	cbz	x0, LBB0_13
; %bb.8:
Lloh19:
	adrp	x8, _XMIT_GSO_V6@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XMIT_GSO_V6@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w8, w20
	orr	w20, w8, w9
Lloh22:
	adrp	x8, _XMIT_CSUM_ENC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XMIT_CSUM_ENC@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_16
; %bb.9:
Lloh25:
	adrp	x8, _XMIT_GSO_ENC_V6@GOTPAGE
Lloh26:
	ldr	x8, [x8, _XMIT_GSO_ENC_V6@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.11:
	mov	x0, x19
	bl	_inner_ip_hdr
	ldr	w8, [x0]
	cmp	w8, #6
	b.ne	LBB0_17
; %bb.12:
Lloh27:
	adrp	x8, _XMIT_CSUM_ENC_V6@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XMIT_CSUM_ENC_V6@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w21, w8, w21
	mov	x0, x19
	bl	_inner_ipv6_hdr
	ldr	x8, [x0]
	b	LBB0_18
LBB0_13:
Lloh30:
	adrp	x8, _XMIT_GSO_V4@GOTPAGE
Lloh31:
	ldr	x8, [x8, _XMIT_GSO_V4@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w8, w20
	orr	w20, w8, w9
Lloh33:
	adrp	x8, _XMIT_CSUM_ENC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XMIT_CSUM_ENC@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_16
; %bb.14:
Lloh36:
	adrp	x8, _XMIT_GSO_ENC_V4@GOTPAGE
Lloh37:
	ldr	x8, [x8, _XMIT_GSO_ENC_V4@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_16:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh38:
	adrp	x8, _XMIT_CSUM_ENC_V4@GOTPAGE
Lloh39:
	ldr	x8, [x8, _XMIT_CSUM_ENC_V4@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w21, w8, w21
	mov	x0, x19
	bl	_inner_ip_hdr
	ldr	x8, [x0, #8]
LBB0_18:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.19:
	ldr	w8, [x22]
	orr	w21, w8, w21
	b	LBB0_6
	.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 AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.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	_XMIT_CSUM_V4,4,2               ; @XMIT_CSUM_V4
	.comm	_XMIT_CSUM_ENC_V6,4,2           ; @XMIT_CSUM_ENC_V6
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_XMIT_CSUM_TCP,4,2              ; @XMIT_CSUM_TCP
	.comm	_XMIT_CSUM_ENC_V4,4,2           ; @XMIT_CSUM_ENC_V4
	.comm	_XMIT_GSO_V6,4,2                ; @XMIT_GSO_V6
	.comm	_XMIT_CSUM_ENC,4,2              ; @XMIT_CSUM_ENC
	.comm	_XMIT_GSO_ENC_V6,4,2            ; @XMIT_GSO_ENC_V6
	.comm	_XMIT_GSO_V4,4,2                ; @XMIT_GSO_V4
	.comm	_XMIT_GSO_ENC_V4,4,2            ; @XMIT_GSO_ENC_V4
	.no_dead_strip	_bnx2x_xmit_type
.subsections_via_symbols
