	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_getinfo_bif_ports       ## -- Begin function bridge_getinfo_bif_ports
	.p2align	4, 0x90
_bridge_getinfo_bif_ports:              ## @bridge_getinfo_bif_ports
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-64(%rbp), %rsi
	callq	_bridge_port_get_iflist
                                        ## kill: def $eax killed $eax def $rax
	movl	$-1, %r12d
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	xorl	%r14d, %r14d
	cmpl	$8, %eax
	jb	LBB0_9
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	shrl	$3, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	(,%rax,8), %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx,%r13), %edx
	leaq	L_.str(%rip), %rsi
	callq	_syslog
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r13
	cmpq	%r13, %r15
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rbx
	movl	4(%rbx,%r13), %edi
	callq	_mib_find_if_sys
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_bridge_new_port
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	addq	%r13, %rbx
	movq	_RowStatus_active@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_bridge_port_getinfo_conf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bridge_port_getinfo_mibif
	jmp	LBB0_7
LBB0_8:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	$-1, %r12d
LBB0_9:
	movq	-64(%rbp), %rdi
	callq	_free
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bridge_port_get_ifstplist
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_bridge_port_bif_first
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	movq	%rax, %rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_bridge_port_getinfo_opstp
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_bridge_port_bif_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	-56(%rbp), %rsi
	movl	%r15d, %edx
	callq	_bridge_port_find_ifstplist
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_bridge_port_clearinfo_opstp
	jmp	LBB0_15
LBB0_16:
	movq	-56(%rbp), %rdi
	callq	_free
	movl	%r14d, %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RowStatus_active,4,2           ## @RowStatus_active
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bridge member %s not present in mibII ifTable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_getinfo_bif_ports       ; -- Begin function bridge_getinfo_bif_ports
	.p2align	2
_bridge_getinfo_bif_ports:              ; @bridge_getinfo_bif_ports
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	add	x1, sp, #8
	bl	_bridge_port_get_iflist
	tbnz	w0, #31, LBB0_10
; %bb.1:
	cmp	w0, #8
	b.hs	LBB0_13
; %bb.2:
	mov	w19, #0
LBB0_3:
	ldr	x0, [sp, #8]
	bl	_free
	mov	x1, sp
	mov	x0, x20
	bl	_bridge_port_get_ifstplist
	tbnz	w0, #31, LBB0_10
; %bb.4:
	mov	x21, x0
	mov	x0, x20
	bl	_bridge_port_bif_first
	cbz	x0, LBB0_11
; %bb.5:
	mov	x20, x0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x20
	bl	_bridge_port_getinfo_opstp
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_bridge_port_bif_next
	mov	x20, x0
	cbz	x0, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	x1, [sp]
	mov	x2, x21
	bl	_bridge_port_find_ifstplist
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_bridge_port_clearinfo_opstp
	b	LBB0_7
LBB0_10:
	mov	w19, #-1
	b	LBB0_12
LBB0_11:
	ldr	x0, [sp]
	bl	_free
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	x25, #0
	lsr	w19, w0, #3
	lsl	w26, w19, #3
Lloh0:
	adrp	x27, _LOG_ERR@GOTPAGE
Lloh1:
	ldr	x27, [x27, _LOG_ERR@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x28, _RowStatus_active@GOTPAGE
Lloh5:
	ldr	x28, [x28, _RowStatus_active@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x27]
	ldr	w2, [x24, x25]
	mov	x1, x21
	bl	_syslog
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x25, x25, #8
	cmp	x26, x25
	b.eq	LBB0_3
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [sp, #8]
	add	x22, x24, x25
	ldr	w0, [x22, #4]
	bl	_mib_find_if_sys
	cbz	x0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, x0
	mov	x1, x20
	bl	_bridge_new_port
	cbz	x0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x24, x0
	ldr	w8, [x28]
	str	w8, [x0, #4]
	mov	x0, x22
	mov	x1, x24
	bl	_bridge_port_getinfo_conf
	mov	x0, x23
	mov	x1, x24
	bl	_bridge_port_getinfo_mibif
	b	LBB0_15
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RowStatus_active,4,2           ; @RowStatus_active
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bridge member %s not present in mibII ifTable"

.subsections_via_symbols
