	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta_add_ifidx
_ta_add_ifidx:                          ## @ta_add_ifidx
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdx), %rdx
	movq	(%rcx), %r15
	movq	%rdi, 24(%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	8(%rdi), %edi
	xorl	%esi, %esi
	callq	_ipfw_objhash_lookup_name
	movl	4(%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_TEI_FLAGS_UPDATE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.3:
	movl	(%rax), %edx
	movl	(%rbx), %esi
	movl	%esi, (%rax)
	movl	%edx, (%rbx)
	movq	8(%rax), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_5
## %bb.4:
	addq	$8, %rsi
	movq	%r14, %rdi
	callq	_ifidx_find
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	movl	4(%rbx), %ecx
LBB0_5:
	movq	_TEI_FLAGS_UPDATED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	jmp	LBB0_9
LBB0_6:
	movq	_TEI_FLAGS_DONTADD@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_2:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_8:
	movl	8(%r13), %edi
	leaq	16(%r15), %rsi
	callq	_ipfw_objhash_add
	movl	4(%r13), %edi
	addq	$8, %r15
	movq	%r15, %rsi
	callq	_ipfw_iface_add_notify
	incl	(%r13)
	movq	$0, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ## @TEI_FLAGS_UPDATE
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_TEI_FLAGS_UPDATED,4,2          ## @TEI_FLAGS_UPDATED
	.comm	_TEI_FLAGS_DONTADD,4,2          ## @TEI_FLAGS_DONTADD
	.comm	_EFBIG,4,2                      ## @EFBIG
	.no_dead_strip	_ta_add_ifidx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ta_add_ifidx
_ta_add_ifidx:                          ; @ta_add_ifidx
	.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, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	ldr	x2, [x2, #8]
	ldr	x24, [x3]
	str	x0, [x24, #24]
	ldr	w8, [x20]
	str	w8, [x24]
	ldr	w0, [x0, #8]
	mov	w1, #0
	bl	_ipfw_objhash_lookup_name
	ldr	w8, [x20, #4]
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x9, _TEI_FLAGS_UPDATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TEI_FLAGS_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	ldr	w9, [x0]
	ldr	w10, [x20]
	str	w10, [x0]
	str	w9, [x20]
	ldr	x9, [x0, #8]
	ldr	x10, [x9]
	cbz	x10, LBB0_4
; %bb.3:
	add	x1, x9, #8
	mov	x0, x23
	bl	_ifidx_find
	ldr	w8, [x24]
	str	w8, [x0]
	ldr	w8, [x20, #4]
LBB0_4:
	mov	w0, #0
Lloh3:
	adrp	x9, _TEI_FLAGS_UPDATED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TEI_FLAGS_UPDATED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #4]
	str	wzr, [x19]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x9, _TEI_FLAGS_DONTADD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TEI_FLAGS_DONTADD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
Lloh9:
	adrp	x8, _EFBIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _EEXIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_8:
	ldr	w0, [x22, #8]
	add	x1, x24, #16
	bl	_ipfw_objhash_add
	ldr	w0, [x22, #4]
	add	x1, x24, #8
	bl	_ipfw_iface_add_notify
	mov	w0, #0
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	str	xzr, [x21]
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ; @TEI_FLAGS_UPDATE
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_TEI_FLAGS_UPDATED,4,2          ; @TEI_FLAGS_UPDATED
	.comm	_TEI_FLAGS_DONTADD,4,2          ; @TEI_FLAGS_DONTADD
	.comm	_EFBIG,4,2                      ; @EFBIG
	.no_dead_strip	_ta_add_ifidx
.subsections_via_symbols
