	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_new_bif
_bridge_new_bif:                        ## @bridge_new_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	$24, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	20(%rbx), %edi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strlcpy
	movl	16(%rbx), %esi
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_bcopy
	movl	%r14d, 12(%rbx)
	movq	_BaseType_transparent_only@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$100, (%rbx)
	movq	_dot1dStpProtocolSpecification_ieee8021d@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_bridge_ifs@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_bridge_ifs_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
	popq	%rbx
	popq	%r12
	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 interface failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.comm	_BaseType_transparent_only,4,2  ## @BaseType_transparent_only
	.comm	_dot1dStpProtocolSpecification_ieee8021d,4,2 ## @dot1dStpProtocolSpecification_ieee8021d
	.comm	_bridge_ifs,4,2                 ## @bridge_ifs
	.no_dead_strip	_bridge_new_bif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_new_bif
_bridge_new_bif:                        ; @bridge_new_bif
	.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	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w1, #24
	bl	_bzero
	ldr	w0, [x19, #20]
Lloh0:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_strlcpy
	ldr	w1, [x19, #16]
Lloh3:
	adrp	x8, _ETHER_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_bcopy
	str	w20, [x19, #12]
Lloh6:
	adrp	x8, _BaseType_transparent_only@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BaseType_transparent_only@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #100
	str	w9, [x19]
Lloh9:
	adrp	x9, _dot1dStpProtocolSpecification_ieee8021d@GOTPAGE
Lloh10:
	ldr	x9, [x9, _dot1dStpProtocolSpecification_ieee8021d@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh12:
	adrp	x0, _bridge_ifs@GOTPAGE
Lloh13:
	ldr	x0, [x0, _bridge_ifs@GOTPAGEOFF]
	mov	x1, x19
	bl	_bridge_ifs_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 interface failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.comm	_BaseType_transparent_only,4,2  ; @BaseType_transparent_only
	.comm	_dot1dStpProtocolSpecification_ieee8021d,4,2 ; @dot1dStpProtocolSpecification_ieee8021d
	.comm	_bridge_ifs,4,2                 ; @bridge_ifs
	.no_dead_strip	_bridge_new_bif
.subsections_via_symbols
