	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_table_algo
_find_table_algo:                       ## @find_table_algo
	.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	_IPFW_TABLE_MAXTYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movslq	8(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	cmpl	(%r14), %ecx
	jg	LBB0_12
## %bb.3:
	movq	8(%r14), %rax
	movq	(%rax,%rcx,8), %r13
	jmp	LBB0_13
LBB0_4:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.5:
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.6:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r14), %rax
	incq	%r15
	cmpq	%rax, %r15
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	8(%rax,%r15,8), %r13
	movl	8(%r13), %edi
	callq	_strlen
	movl	%eax, %ebx
	movl	8(%r13), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%ebx, %rax
	testb	$-33, (%r12,%rax)
	jne	LBB0_11
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	cmpq	(%r13), %rax
	je	LBB0_13
LBB0_12:
	xorl	%r13d, %r13d
LBB0_13:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	16(%r14), %rcx
	movq	(%rcx,%rax,8), %r13
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IPFW_TABLE_MAXTYPE,8,3         ## @IPFW_TABLE_MAXTYPE
	.no_dead_strip	_find_table_algo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_table_algo
_find_table_algo:                       ; @find_table_algo
	.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, _IPFW_TABLE_MAXTYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPFW_TABLE_MAXTYPE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldrsw	x9, [x1, #8]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cmp	w9, w8
	b.gt	LBB0_12
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x9, lsl #3]
	b	LBB0_13
LBB0_4:
	mov	x21, x2
	cbz	x2, LBB0_14
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x24, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x19]
	add	x24, x24, #1
	cmp	x24, x8
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x24, lsl #3
	ldr	x22, [x8, #8]
	ldr	w0, [x22, #8]
	bl	_strlen
	mov	x23, x0
	ldr	w1, [x22, #8]
	mov	x0, x21
	mov	x2, x23
	bl	_strncmp
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x21, w23, sxtw]
	orr	w8, w8, #0x20
	cmp	w8, #32
	b.ne	LBB0_7
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_13
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	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_14:
	ldr	x9, [x19, #16]
	ldr	x22, [x9, x8, lsl #3]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPFW_TABLE_MAXTYPE,8,3         ; @IPFW_TABLE_MAXTYPE
	.no_dead_strip	_find_table_algo
.subsections_via_symbols
