	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dyn_findbyname
_dyn_findbyname:                        ## @dyn_findbyname
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_DYN_DEBUG
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	movl	8(%rbx), %esi
	movq	_IPFW_TLV_STATE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ipfw_find_name_tlv_type
	testq	%rax, %rax
	jne	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_1:
	movq	_default_state_name@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %r12
	movq	%r15, %rdi
	callq	_CHAIN_TO_SRV
	movq	_IPFW_TLV_STATE_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_ipfw_objhash_lookup_name_type
	movq	%rax, (%r14)
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uidx %d"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPFW_TLV_STATE_NAME,4,2        ## @IPFW_TLV_STATE_NAME
	.comm	_default_state_name,8,3         ## @default_state_name
	.no_dead_strip	_dyn_findbyname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dyn_findbyname
_dyn_findbyname:                        ; @dyn_findbyname
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x1, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DYN_DEBUG
	ldr	x2, [x21]
Lloh2:
	adrp	x22, _IPFW_TLV_STATE_NAME@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IPFW_TLV_STATE_NAME@GOTPAGEOFF]
	cbz	x2, LBB0_4
; %bb.1:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x21, #8]
	ldr	w3, [x22]
	bl	_ipfw_find_name_tlv_type
	cbnz	x0, LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x0, _default_state_name@GOTPAGE
Lloh8:
	ldr	x0, [x0, _default_state_name@GOTPAGEOFF]
LBB0_5:
	ldr	x21, [x0]
	mov	x0, x20
	bl	_CHAIN_TO_SRV
	ldr	w2, [x22]
	mov	w1, #0
	mov	x3, x21
	bl	_ipfw_objhash_lookup_name_type
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uidx %d"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPFW_TLV_STATE_NAME,4,2        ; @IPFW_TLV_STATE_NAME
	.comm	_default_state_name,8,3         ; @default_state_name
	.no_dead_strip	_dyn_findbyname
.subsections_via_symbols
