	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function table_lookup
_table_lookup:                          ## @table_lookup
	.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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_2:
	movq	(%r14), %rsi
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %edx
	callq	_strlcpy
	leaq	-116(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-120(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_table_do_lookup
	cmpl	$128, %eax
	jg	LBB0_6
## %bb.3:
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.5:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_8
LBB0_6:
	cmpl	$129, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$130, %eax
	jne	LBB0_10
LBB0_8:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_9:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_10:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_err
LBB0_11:
	leaq	-116(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	callq	_table_show_entry
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"address required"

	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"Table %s not found"

L_.str.2:                               ## @.str.2
	.asciz	"Entry %s not found"

L_.str.3:                               ## @.str.3
	.asciz	"Table %s algo does not support \"lookup\" method"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.4:                               ## @.str.4
	.asciz	"getsockopt(IP_FW_TABLE_XFIND)"

	.no_dead_strip	_table_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function table_lookup
_table_lookup:                          ; @table_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	cbnz	w1, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_2:
	ldr	x1, [x20]
	add	x0, sp, #24
	mov	w2, #64
	bl	_strlcpy
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #20
	mov	x0, x19
	bl	_table_do_lookup
	cmp	w0, #128
	b.gt	LBB0_6
; %bb.3:
	cbz	w0, LBB0_11
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.5:
Lloh8:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
	b	LBB0_8
LBB0_6:
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w0, #130
	b.ne	LBB0_10
LBB0_8:
Lloh13:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_9:
Lloh18:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_10:
Lloh23:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_err
LBB0_11:
	add	x0, sp, #16
	add	x1, sp, #20
	bl	_table_show_entry
	ldur	x8, [x29, #-24]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"address required"

	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"Table %s not found"

l_.str.2:                               ; @.str.2
	.asciz	"Entry %s not found"

l_.str.3:                               ; @.str.3
	.asciz	"Table %s algo does not support \"lookup\" method"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.4:                               ; @.str.4
	.asciz	"getsockopt(IP_FW_TABLE_XFIND)"

	.no_dead_strip	_table_lookup
.subsections_via_symbols
