	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_srxfh
_bnxt_srxfh:                            ## @bnxt_srxfh
	.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, %r14
	movl	8(%rdi), %eax
	movq	(%rsi), %rdi
	movq	_RXH_4TUPLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_2:
	movq	_RXH_2TUPLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	jne	LBB0_4
## %bb.3:
	movb	$1, %bl
	xorl	%r8d, %r8d
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.35:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_5:
	movb	$1, %r8b
LBB0_6:
	movl	8(%rsi), %edx
	leal	-128(%rdx), %esi
	cmpl	$3, %esi
	ja	LBB0_21
## %bb.7:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_18:
	cmpq	%rcx, %rdi
	jne	LBB0_20
## %bb.19:
	movq	_BNXT_FLAG_UDP_RSS_CAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r14)
	je	LBB0_12
LBB0_20:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6@GOTPCREL(%rip), %rdx
	jmp	LBB0_15
LBB0_21:
	cmpq	%rcx, %rdi
	je	LBB0_12
## %bb.22:
	addl	$-131, %edx
	cmpl	$10, %edx
	ja	LBB0_23
## %bb.24:
	movl	$1365, %ecx                     ## imm = 0x555
	btl	%edx, %ecx
	movl	%eax, %edx
	jae	LBB0_16
## %bb.25:
	testb	%bl, %bl
	je	LBB0_27
LBB0_26:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	jmp	LBB0_32
LBB0_10:
	cmpq	%rcx, %rdi
	jne	LBB0_13
## %bb.11:
	movq	_BNXT_FLAG_UDP_RSS_CAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r14)
	je	LBB0_12
LBB0_13:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4@GOTPCREL(%rip), %rdx
	jmp	LBB0_9
LBB0_14:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6@GOTPCREL(%rip), %rdx
LBB0_15:
	movl	(%rdx), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%eax, %esi
	orl	%eax, %edx
	cmpq	%rcx, %rdi
	cmovnel	%esi, %edx
LBB0_16:
	testb	%bl, %bl
	je	LBB0_29
## %bb.17:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	jmp	LBB0_32
LBB0_29:
	testb	%r8b, %r8b
	je	LBB0_32
## %bb.30:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_8:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4@GOTPCREL(%rip), %rdx
LBB0_9:
	movl	(%rdx), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%eax, %esi
	orl	%eax, %edx
	cmpq	%rcx, %rdi
	cmovnel	%esi, %edx
	testb	%bl, %bl
	jne	LBB0_26
LBB0_27:
	testb	%r8b, %r8b
	je	LBB0_32
## %bb.28:
	movq	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPCREL(%rip), %rcx
LBB0_31:
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %edx
LBB0_32:
	xorl	%ebx, %ebx
	cmpl	%edx, %eax
	je	LBB0_37
## %bb.33:
	movl	%edx, 8(%r14)
	movl	4(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_bnxt_close_nic
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnxt_open_nic                  ## TAILCALL
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_36:
	subl	(%rax), %ebx
LBB0_37:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_23:
	xorl	%ebx, %ebx
	jmp	LBB0_37
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_RXH_4TUPLE,8,3                 ## @RXH_4TUPLE
	.comm	_RXH_2TUPLE,8,3                 ## @RXH_2TUPLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4
	.comm	_BNXT_FLAG_UDP_RSS_CAP,4,2      ## @BNXT_FLAG_UDP_RSS_CAP
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6,4,2 ## @VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6
	.no_dead_strip	_bnxt_srxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_srxfh
_bnxt_srxfh:                            ; @bnxt_srxfh
	.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, x0
	ldr	w8, [x0, #8]
	ldr	x11, [x1]
Lloh0:
	adrp	x9, _RXH_4TUPLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXH_4TUPLE@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x9]
	cmp	x11, x12
	b.ne	LBB0_2
; %bb.1:
	mov	w10, #0
	mov	w9, #0
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x9, _RXH_2TUPLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXH_2TUPLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x11, x9
	b.ne	LBB0_4
; %bb.3:
	mov	w9, #0
	mov	w10, #1
	b	LBB0_6
LBB0_4:
	cbnz	x11, LBB0_19
; %bb.5:
	mov	w10, #0
	mov	w9, #1
LBB0_6:
	ldr	w13, [x1, #8]
	sub	w14, w13, #128
	cmp	w14, #3
	b.hi	LBB0_11
; %bb.7:
Lloh6:
	adrp	x13, lJTI0_0@PAGE
Lloh7:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x15, LBB0_8
	ldrb	w16, [x13, x14]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_8:
	cmp	x11, x12
	b.ne	LBB0_10
; %bb.9:
	ldr	w13, [x19]
Lloh8:
	adrp	x14, _BNXT_FLAG_UDP_RSS_CAP@GOTPAGE
Lloh9:
	ldr	x14, [x14, _BNXT_FLAG_UDP_RSS_CAP@GOTPAGEOFF]
Lloh10:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_19
LBB0_10:
Lloh11:
	adrp	x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6@GOTPAGE
Lloh12:
	ldr	x13, [x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6@GOTPAGEOFF]
	b	LBB0_21
LBB0_11:
	cmp	x11, x12
	b.eq	LBB0_19
; %bb.12:
	sub	w11, w13, #131
	cmp	w11, #10
	b.hi	LBB0_33
; %bb.13:
	mov	w12, #1
	lsl	w12, w12, w11
	mov	w13, #1365
	mov	x11, x8
	tst	w12, w13
	b.eq	LBB0_22
; %bb.14:
	cbz	w10, LBB0_29
LBB0_15:
Lloh13:
	adrp	x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPAGEOFF]
	b	LBB0_24
LBB0_16:
	cmp	x11, x12
	b.ne	LBB0_18
; %bb.17:
	ldr	w13, [x19]
Lloh15:
	adrp	x14, _BNXT_FLAG_UDP_RSS_CAP@GOTPAGE
Lloh16:
	ldr	x14, [x14, _BNXT_FLAG_UDP_RSS_CAP@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_19
LBB0_18:
Lloh18:
	adrp	x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4@GOTPAGE
Lloh19:
	ldr	x13, [x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4@GOTPAGEOFF]
	b	LBB0_28
LBB0_19:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_36
LBB0_20:
Lloh23:
	adrp	x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6@GOTPAGE
Lloh24:
	ldr	x13, [x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6@GOTPAGEOFF]
LBB0_21:
	ldr	w13, [x13]
	bic	w14, w8, w13
	orr	w13, w13, w8
	cmp	x11, x12
	csel	w11, w13, w14, eq
LBB0_22:
	cbz	w10, LBB0_25
; %bb.23:
Lloh25:
	adrp	x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPAGE
Lloh26:
	ldr	x9, [x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPAGEOFF]
LBB0_24:
	ldr	w9, [x9]
	orr	w11, w9, w11
	b	LBB0_32
LBB0_25:
	cbz	w9, LBB0_32
; %bb.26:
Lloh27:
	adrp	x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPAGE
Lloh28:
	ldr	x9, [x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6@GOTPAGEOFF]
	b	LBB0_31
LBB0_27:
Lloh29:
	adrp	x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4@GOTPAGE
Lloh30:
	ldr	x13, [x13, _VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4@GOTPAGEOFF]
LBB0_28:
	ldr	w13, [x13]
	bic	w14, w8, w13
	orr	w13, w13, w8
	cmp	x11, x12
	csel	w11, w13, w14, eq
	cbnz	w10, LBB0_15
LBB0_29:
	cbz	w9, LBB0_32
; %bb.30:
Lloh31:
	adrp	x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPAGE
Lloh32:
	ldr	x9, [x9, _VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4@GOTPAGEOFF]
LBB0_31:
	ldr	w9, [x9]
	bic	w11, w11, w9
LBB0_32:
	cmp	w8, w11
	b.ne	LBB0_34
LBB0_33:
	mov	w0, #0
	b	LBB0_36
LBB0_34:
	str	w11, [x19, #8]
	ldr	w0, [x19, #4]
	bl	_netif_running
	cbz	x0, LBB0_36
; %bb.35:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_bnxt_close_nic
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnxt_open_nic
LBB0_36:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_27-LBB0_8)>>2
                                        ; -- End function
	.comm	_RXH_4TUPLE,8,3                 ; @RXH_4TUPLE
	.comm	_RXH_2TUPLE,8,3                 ; @RXH_2TUPLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV4
	.comm	_BNXT_FLAG_UDP_RSS_CAP,4,2      ; @BNXT_FLAG_UDP_RSS_CAP
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV4
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_TCP_IPV6
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_UDP_IPV6
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_IPV4
	.comm	_VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6,4,2 ; @VNIC_RSS_CFG_REQ_HASH_TYPE_IPV6
	.no_dead_strip	_bnxt_srxfh
.subsections_via_symbols
