	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_update_bif
_bridge_update_bif:                     ## @bridge_update_bif
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_mib_first_if
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	movl	16(%r14), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_mib_next_if
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	callq	_bridge_remove_bif
	jmp	LBB0_18
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movl	12(%r14), %esi
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bcopy
	jmp	LBB0_8
LBB0_7:
	movl	12(%r14), %esi
	movl	16(%r14), %edi
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bridge_get_basemac
LBB0_8:
	movq	_IFF_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	jne	LBB0_9
## %bb.10:
	movq	_RowStatus_notInService@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_RowStatus_active@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_bridge_getinfo_bif
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.12:
	cmpl	$1, %eax
	je	LBB0_16
## %bb.13:
	cmpl	$2, %eax
	jne	LBB0_17
## %bb.14:
	movq	%r14, %rdi
	callq	_bridge_new_root
	jmp	LBB0_17
LBB0_15:
	movq	%r14, %rdi
	callq	_bridge_remove_bif
	movl	$-1, %r15d
	jmp	LBB0_18
LBB0_16:
	movq	%r14, %rdi
	callq	_bridge_top_change
LBB0_17:
	movq	%r14, %rdi
	callq	_bridge_update_memif
	movl	%eax, 4(%r14)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, (%r14)
	movl	$1, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.comm	_IFF_RUNNING,4,2                ## @IFF_RUNNING
	.comm	_RowStatus_active,4,2           ## @RowStatus_active
	.comm	_RowStatus_notInService,4,2     ## @RowStatus_notInService
	.no_dead_strip	_bridge_update_bif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_update_bif
_bridge_update_bif:                     ; @bridge_update_bif
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_mib_first_if
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #16]
	ldr	w1, [x19, #16]
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_mib_next_if
	mov	x20, x0
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_bridge_remove_bif
	mov	w0, #0
	b	LBB0_15
LBB0_5:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #12]
Lloh0:
	adrp	x8, _ETHER_ADDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_bcopy
	b	LBB0_8
LBB0_7:
	ldp	w1, w0, [x19, #12]
Lloh3:
	adrp	x8, _ETHER_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_bridge_get_basemac
LBB0_8:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _IFF_RUNNING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_RUNNING@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _RowStatus_notInService@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RowStatus_notInService@GOTPAGEOFF]
Lloh11:
	adrp	x11, _RowStatus_active@GOTPAGE
Lloh12:
	ldr	x11, [x11, _RowStatus_active@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_bridge_getinfo_bif
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.9:
	cmp	w0, #1
	b.eq	LBB0_13
; %bb.10:
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_bridge_new_root
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_bridge_remove_bif
	mov	w0, #-1
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_bridge_top_change
LBB0_14:
	mov	x0, x19
	bl	_bridge_update_memif
	str	w0, [x19, #4]
	mov	x0, #0
	bl	_time
	str	w0, [x19]
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.comm	_IFF_RUNNING,4,2                ; @IFF_RUNNING
	.comm	_RowStatus_active,4,2           ; @RowStatus_active
	.comm	_RowStatus_notInService,4,2     ; @RowStatus_notInService
	.no_dead_strip	_bridge_update_bif
.subsections_via_symbols
