	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nix_rx_flowkey_alg_cfg
_nix_rx_flowkey_alg_cfg:                ## @nix_rx_flowkey_alg_cfg
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_NIX_FLOW_KEY_ALG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	_FIELDS_PER_ALG@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	%eax, %r15d
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_NIX_AF_RX_FLOW_KEY_ALGX_FIELDX
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_rvu_write64
	incl	%ebx
	movl	(%r13), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NIX_FLOW_KEY_ALG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_7:
	movq	_NIX_FLOW_KEY_TYPE_IPV4@GOTPCREL(%rip), %rax
	movq	_NIX_FLOW_KEY_TYPE_IPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:
	movq	_NIX_FLOW_KEY_TYPE_TCP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	%r15d, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.9:
	movq	_NIX_FLOW_KEY_TYPE_UDP@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	%r15d, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.10:
	movq	_NIX_FLOW_KEY_TYPE_SCTP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%r15d, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	movl	(%rbx), %edx
	orl	%r15d, %edx
	orl	(%r13), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.12:
	movl	(%rbx), %edx
	orl	%r15d, %edx
	movq	_NIX_FLOW_KEY_TYPE_SCTP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.13:
	movl	(%r13), %edx
	orl	%r15d, %edx
	movq	_NIX_FLOW_KEY_TYPE_SCTP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_reserve_flowkey_alg_idx
	testl	%eax, %eax
	js	LBB0_15
## %bb.14:
	orl	(%rbx), %r15d
	orl	(%r13), %r15d
	movq	_NIX_FLOW_KEY_TYPE_SCTP@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_reserve_flowkey_alg_idx
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIX_FLOW_KEY_ALG_MAX,4,2       ## @NIX_FLOW_KEY_ALG_MAX
	.comm	_FIELDS_PER_ALG,4,2             ## @FIELDS_PER_ALG
	.comm	_NIX_FLOW_KEY_TYPE_IPV4,4,2     ## @NIX_FLOW_KEY_TYPE_IPV4
	.comm	_NIX_FLOW_KEY_TYPE_IPV6,4,2     ## @NIX_FLOW_KEY_TYPE_IPV6
	.comm	_NIX_FLOW_KEY_TYPE_TCP,4,2      ## @NIX_FLOW_KEY_TYPE_TCP
	.comm	_NIX_FLOW_KEY_TYPE_UDP,4,2      ## @NIX_FLOW_KEY_TYPE_UDP
	.comm	_NIX_FLOW_KEY_TYPE_SCTP,4,2     ## @NIX_FLOW_KEY_TYPE_SCTP
	.no_dead_strip	_nix_rx_flowkey_alg_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nix_rx_flowkey_alg_cfg
_nix_rx_flowkey_alg_cfg:                ; @nix_rx_flowkey_alg_cfg
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _NIX_FLOW_KEY_ALG_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NIX_FLOW_KEY_ALG_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, #0
Lloh2:
	adrp	x24, _FIELDS_PER_ALG@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FIELDS_PER_ALG@GOTPAGEOFF]
	ldr	w9, [x24]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x22
	bl	_NIX_AF_RX_FLOW_KEY_ALGX_FIELDX
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_rvu_write64
	add	w22, w22, #1
	ldr	w9, [x24]
	cmp	w22, w9
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	b	LBB0_2
LBB0_7:
Lloh4:
	adrp	x8, _NIX_FLOW_KEY_TYPE_IPV4@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NIX_FLOW_KEY_TYPE_IPV4@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _NIX_FLOW_KEY_TYPE_IPV6@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NIX_FLOW_KEY_TYPE_IPV6@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w21, w9, w8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.8:
Lloh10:
	adrp	x22, _NIX_FLOW_KEY_TYPE_TCP@GOTPAGE
Lloh11:
	ldr	x22, [x22, _NIX_FLOW_KEY_TYPE_TCP@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w2, w8, w21
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.9:
Lloh12:
	adrp	x23, _NIX_FLOW_KEY_TYPE_UDP@GOTPAGE
Lloh13:
	ldr	x23, [x23, _NIX_FLOW_KEY_TYPE_UDP@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w2, w8, w21
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.10:
Lloh14:
	adrp	x24, _NIX_FLOW_KEY_TYPE_SCTP@GOTPAGE
Lloh15:
	ldr	x24, [x24, _NIX_FLOW_KEY_TYPE_SCTP@GOTPAGEOFF]
	ldr	w8, [x24]
	orr	w2, w8, w21
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.11:
	ldr	w8, [x22]
	orr	w8, w8, w21
	ldr	w9, [x23]
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.12:
	ldr	w8, [x22]
	orr	w8, w8, w21
	ldr	w9, [x24]
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.13:
	ldr	w8, [x23]
	orr	w8, w8, w21
	ldr	w9, [x24]
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	tbnz	w0, #31, LBB0_15
; %bb.14:
	ldr	w8, [x22]
	orr	w8, w8, w21
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x24]
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_reserve_flowkey_alg_idx
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NIX_FLOW_KEY_ALG_MAX,4,2       ; @NIX_FLOW_KEY_ALG_MAX
	.comm	_FIELDS_PER_ALG,4,2             ; @FIELDS_PER_ALG
	.comm	_NIX_FLOW_KEY_TYPE_IPV4,4,2     ; @NIX_FLOW_KEY_TYPE_IPV4
	.comm	_NIX_FLOW_KEY_TYPE_IPV6,4,2     ; @NIX_FLOW_KEY_TYPE_IPV6
	.comm	_NIX_FLOW_KEY_TYPE_TCP,4,2      ; @NIX_FLOW_KEY_TYPE_TCP
	.comm	_NIX_FLOW_KEY_TYPE_UDP,4,2      ; @NIX_FLOW_KEY_TYPE_UDP
	.comm	_NIX_FLOW_KEY_TYPE_SCTP,4,2     ; @NIX_FLOW_KEY_TYPE_SCTP
	.no_dead_strip	_nix_rx_flowkey_alg_cfg
.subsections_via_symbols
