	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_table_entry
_find_table_entry:                      ## @find_table_entry
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$28, (%rdx)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movl	$28, %esi
	movq	%rdx, %rdi
	callq	_ipfw_get_sopt_header
	cmpl	$16, 8(%rax)
	jne	LBB0_10
## %bb.2:
	movq	%rax, %r12
	leaq	-48(%rbp), %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_objheader_to_ti
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)
	movl	24(%r12), %eax
	movl	%eax, -40(%rbp)
	movq	%r14, %rdi
	callq	_IPFW_UH_RLOCK
	movq	%r14, %rdi
	callq	_CHAIN_TO_NI
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_find_table
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	movq	16(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.4:
	movl	24(%r15), %esi
	movq	%r14, %rdi
	callq	_KIDX_TO_TI
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.5:
	addq	$16, %r12
	movl	(%r15), %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	*%rcx
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	4(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_get_table_value
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ipfw_export_table_value_v1
LBB0_7:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	jmp	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ESRCH@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.no_dead_strip	_find_table_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_table_entry
_find_table_entry:                      ; @find_table_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x2]
	cmp	x8, #28
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x0, x2
	mov	w1, #28
	bl	_ipfw_get_sopt_header
	ldr	w8, [x0, #8]
	cmp	w8, #16
	b.ne	LBB0_10
; %bb.2:
	mov	x20, x0
	mov	x1, sp
	bl	_objheader_to_ti
	ldr	x8, [x20]
	str	x8, [sp]
	ldr	w8, [x20, #24]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_IPFW_UH_RLOCK
	mov	x0, x19
	bl	_CHAIN_TO_NI
	mov	x1, sp
	bl	_find_table
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	x9, [sp]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	w1, [x21, #24]
	mov	x0, x19
	bl	_KIDX_TO_TI
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.5:
	mov	x1, x0
	add	x22, x20, #16
	ldr	w0, [x21]
	mov	x2, x22
	blr	x8
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w2, [x22, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_get_table_value
	mov	x1, x22
	bl	_ipfw_export_table_value_v1
LBB0_7:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
	b	LBB0_12
LBB0_8:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
LBB0_10:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w20, [x8]
LBB0_12:
	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
	add	sp, sp, #64
	ret
LBB0_13:
Lloh4:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.no_dead_strip	_find_table_entry
.subsections_via_symbols
