	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_port_set_span_enable
_bridge_port_set_span_enable:           ## @bridge_port_set_span_enable
	.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, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsp, %r13
	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
	movq	(%r15), %rax
	movq	_begemotBridgeBaseSpanEnabled_enabled@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_begemotBridgeBaseSpanEnabled_disabled@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_SNMP_ERR_BADVALUE@GOTPCREL(%rip), %r12
	jmp	LBB0_12
LBB0_3:
	leaq	8(%r15), %rdi
	leaq	-52(%rbp), %rcx
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_bridge_port_index_decode
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:
	movq	%rbx, %rdi
	callq	_bridge_if_find_ifname
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %rbx
	movl	-52(%rbp), %edi
	movq	%rax, %rsi
	callq	_bridge_port_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.10:
	movq	(%rax), %rcx
	movq	_RowStatus_active@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_6:
	movl	-52(%rbp), %edi
	callq	_mib_find_if
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_bridge_new_port
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_RowStatus_destroy@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_11:
	movq	(%r14), %rdx
	movq	%rcx, (%rdx)
	movq	(%r15), %rcx
	movq	%rcx, 8(%rax)
	movq	_RowStatus_notInService@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %r12
LBB0_12:
	movl	(%r12), %eax
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %r12
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_begemotBridgeBaseSpanEnabled_enabled,8,3 ## @begemotBridgeBaseSpanEnabled_enabled
	.comm	_begemotBridgeBaseSpanEnabled_disabled,8,3 ## @begemotBridgeBaseSpanEnabled_disabled
	.comm	_SNMP_ERR_BADVALUE,4,2          ## @SNMP_ERR_BADVALUE
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_RowStatus_destroy,8,3          ## @RowStatus_destroy
	.comm	_RowStatus_active,8,3           ## @RowStatus_active
	.comm	_RowStatus_notInService,8,3     ## @RowStatus_notInService
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.no_dead_strip	_bridge_port_set_span_enable
.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_span_enable
_bridge_port_set_span_enable:           ; @bridge_port_set_span_enable
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
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
	ldr	x8, [x1]
Lloh8:
	adrp	x9, _begemotBridgeBaseSpanEnabled_enabled@GOTPAGE
Lloh9:
	ldr	x9, [x9, _begemotBridgeBaseSpanEnabled_enabled@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _begemotBridgeBaseSpanEnabled_disabled@GOTPAGE
Lloh12:
	ldr	x10, [x10, _begemotBridgeBaseSpanEnabled_disabled@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.1:
	add	x0, x19, #8
	sub	x3, x29, #44
	mov	x1, x2
	mov	x2, x21
	bl	_bridge_port_index_decode
	tbnz	x0, #63, LBB0_10
; %bb.2:
	mov	x0, x21
	bl	_bridge_if_find_ifname
	cbz	x0, LBB0_10
; %bb.3:
	mov	x21, x0
	ldur	w0, [x29, #-44]
	mov	x1, x21
	bl	_bridge_port_find
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x0]
Lloh14:
	adrp	x9, _RowStatus_active@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RowStatus_active@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
	b	LBB0_10
LBB0_5:
Lloh17:
	adrp	x8, _SNMP_ERR_BADVALUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SNMP_ERR_BADVALUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	ldur	w0, [x29, #-44]
	bl	_mib_find_if
	cbz	x0, LBB0_10
; %bb.7:
	mov	x1, x21
	bl	_bridge_new_port
	cbz	x0, LBB0_13
; %bb.8:
Lloh19:
	adrp	x8, _RowStatus_destroy@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RowStatus_destroy@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
LBB0_9:
	ldr	x9, [x20]
	str	x8, [x9]
Lloh22:
	adrp	x8, _RowStatus_notInService@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RowStatus_notInService@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh24:
	ldr	x8, [x8]
	stp	x8, x9, [x0]
Lloh25:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh27:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	sub	sp, x29, #32
	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
LBB0_13:
Lloh32:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
	b	LBB0_11
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_begemotBridgeBaseSpanEnabled_enabled,8,3 ; @begemotBridgeBaseSpanEnabled_enabled
	.comm	_begemotBridgeBaseSpanEnabled_disabled,8,3 ; @begemotBridgeBaseSpanEnabled_disabled
	.comm	_SNMP_ERR_BADVALUE,4,2          ; @SNMP_ERR_BADVALUE
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_RowStatus_destroy,8,3          ; @RowStatus_destroy
	.comm	_RowStatus_active,8,3           ; @RowStatus_active
	.comm	_RowStatus_notInService,8,3     ; @RowStatus_notInService
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.no_dead_strip	_bridge_port_set_span_enable
.subsections_via_symbols
