	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_port_set_status
_bridge_port_set_status:                ## @bridge_port_set_status
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	4(%r13), %rdi
	leaq	-52(%rbp), %rcx
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_bridge_port_index_decode
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	js	LBB0_19
## %bb.1:
	movq	%rbx, %rdi
	callq	_bridge_if_find_ifname
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, %r15
	movq	%r12, %rbx
	movl	-52(%rbp), %edi
	callq	_mib_find_if
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:
	movq	%rax, %r12
	movl	-52(%rbp), %edi
	movq	%r15, %rsi
	callq	_bridge_port_find
	movl	(%r13), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_18
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	cmpl	$0, 4(%rax)
	je	LBB0_19
## %bb.10:
	movl	(%rax), %ecx
	cmpl	$133, %ecx
	je	LBB0_19
## %bb.11:
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	$129, (%rax)
	jmp	LBB0_19
LBB0_16:
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movl	(%rax), %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	$130, (%rax)
	jmp	LBB0_18
LBB0_12:
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bridge_new_port
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	(%rbx), %rcx
	movl	$130, (%rcx)
	movl	$128, (%rax)
	jmp	LBB0_18
LBB0_5:
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	cmpl	$0, 4(%rax)
	je	LBB0_19
## %bb.7:
	movl	(%rax), %ecx
	movq	(%rbx), %rdx
	movl	%ecx, (%rdx)
	movl	$133, (%rax)
LBB0_18:
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %r14
LBB0_19:
	movl	(%r14), %eax
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %r14
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_19
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_bridge_port_set_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_port_set_status
_bridge_port_set_status:                ; @bridge_port_set_status
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	x0, x1, #4
	sub	x3, x29, #60
	mov	x1, x2
	mov	x2, x21
	bl	_bridge_port_index_decode
	tbnz	x0, #63, LBB0_19
; %bb.1:
	mov	x0, x21
	bl	_bridge_if_find_ifname
	cbz	x0, LBB0_19
; %bb.2:
	mov	x21, x0
	ldur	w0, [x29, #-60]
	bl	_mib_find_if
	cbz	x0, LBB0_19
; %bb.3:
	mov	x22, x0
	ldur	w0, [x29, #-60]
	mov	x1, x21
	bl	_bridge_port_find
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_18
; %bb.4:
Lloh8:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
Lloh10:
	adrp	x10, lJTI0_0@PAGE
Lloh11:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
	cbz	x0, LBB0_19
; %bb.6:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_19
; %bb.7:
	ldr	w8, [x0]
	cmp	w8, #133
	b.eq	LBB0_19
; %bb.8:
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w8, #129
	str	w8, [x0]
	b	LBB0_19
LBB0_9:
	cbz	x0, LBB0_19
; %bb.10:
	ldr	w8, [x0]
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w8, #130
	b	LBB0_17
LBB0_11:
	cbnz	x0, LBB0_19
; %bb.12:
	mov	x0, x22
	mov	x1, x21
	bl	_bridge_new_port
	cbz	x0, LBB0_22
; %bb.13:
	ldr	x8, [x19]
	mov	w9, #130
	str	w9, [x8]
	mov	w8, #128
	b	LBB0_17
LBB0_14:
	cbz	x0, LBB0_19
; %bb.15:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_19
; %bb.16:
	ldr	w8, [x0]
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w8, #133
LBB0_17:
	str	w8, [x0]
LBB0_18:
Lloh12:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh14:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x8]
	mov	sp, x23
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.21:
	sub	sp, x29, #48
	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
LBB0_22:
Lloh19:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
	b	LBB0_20
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_bridge_port_set_status
.subsections_via_symbols
