	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_new_port                ## -- Begin function bridge_new_port
	.p2align	4, 0x90
_bridge_new_port:                       ## @bridge_new_port
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	$64, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$64, %esi
	callq	_bzero
	movl	4(%r14), %eax
	movl	%eax, 56(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	4(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	44(%rbx), %edi
	movl	(%r15), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	movq	_oid_zeroDotZero@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_TruthValue_false@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	_StpPortAdminPointToPointType_auto@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_bridge_ports@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_bridge_port_memif_insert
	jmp	LBB0_3
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bridge new member: failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_oid_zeroDotZero,4,2            ## @oid_zeroDotZero
	.comm	_TruthValue_false,8,3           ## @TruthValue_false
	.comm	_StpPortAdminPointToPointType_auto,4,2 ## @StpPortAdminPointToPointType_auto
	.comm	_bridge_ports,4,2               ## @bridge_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_new_port                ; -- Begin function bridge_new_port
	.p2align	2
_bridge_new_port:                       ; @bridge_new_port
	.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
	mov	x20, x1
	mov	x21, x0
	mov	w0, #64
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w1, #64
	bl	_bzero
	ldr	w8, [x20, #4]
	str	w8, [x19, #56]
	ldur	d0, [x21, #4]
	str	d0, [x19, #48]
	ldr	w0, [x19, #44]
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_strlcpy
Lloh3:
	adrp	x8, _oid_zeroDotZero@GOTPAGE
Lloh4:
	ldr	x8, [x8, _oid_zeroDotZero@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh6:
	adrp	x8, _TruthValue_false@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TruthValue_false@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #24]
	stp	x8, x8, [x19, #8]
Lloh9:
	adrp	x8, _StpPortAdminPointToPointType_auto@GOTPAGE
Lloh10:
	ldr	x8, [x8, _StpPortAdminPointToPointType_auto@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh12:
	adrp	x0, _bridge_ports@GOTPAGE
Lloh13:
	ldr	x0, [x0, _bridge_ports@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, x20
	bl	_bridge_port_memif_insert
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bridge new member: failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_oid_zeroDotZero,4,2            ; @oid_zeroDotZero
	.comm	_TruthValue_false,8,3           ; @TruthValue_false
	.comm	_StpPortAdminPointToPointType_auto,4,2 ; @StpPortAdminPointToPointType_auto
	.comm	_bridge_ports,4,2               ; @bridge_ports
.subsections_via_symbols
