	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_port_set_private        ## -- Begin function bridge_port_set_private
	.p2align	4, 0x90
_bridge_port_set_private:               ## @bridge_port_set_private
	.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
	xorl	%r14d, %r14d
	cmpq	%rdx, (%rsi)
	je	LBB0_11
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_bzero
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	$8, -72(%rbp)
	movq	%r13, -64(%rbp)
	movl	-44(%rbp), %edi
	movq	8(%r12), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_BRDGGIFFLGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_sock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_SIOCGDRVSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_2
## %bb.4:
	movq	_TruthValue_true@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_IFBIF_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -48(%rbp)
	jmp	LBB0_8
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r12), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	movq	_TruthValue_false@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_12
## %bb.7:
	movq	_IFBIF_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -48(%rbp)
LBB0_8:
	movq	_BRDGSIFFLGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	(%rbx), %edi
	movq	_SIOCSDRVSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:
	movq	%r15, (%r12)
	jmp	LBB0_11
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r12), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_syslog
	movl	$-1, %r14d
	jmp	LBB0_11
LBB0_12:
	movq	_SNMP_ERR_WRONG_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRDGGIFFLGS,4,2                ## @BRDGGIFFLGS
	.comm	_sock,4,2                       ## @sock
	.comm	_SIOCGDRVSPEC,4,2               ## @SIOCGDRVSPEC
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get member %s param: ioctl(BRDGGIFFLGS) failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_TruthValue_true,8,3            ## @TruthValue_true
	.comm	_IFBIF_PRIVATE,4,2              ## @IFBIF_PRIVATE
	.comm	_TruthValue_false,8,3           ## @TruthValue_false
	.comm	_SNMP_ERR_WRONG_VALUE,4,2       ## @SNMP_ERR_WRONG_VALUE
	.comm	_BRDGSIFFLGS,4,2                ## @BRDGSIFFLGS
	.comm	_SIOCSDRVSPEC,4,2               ## @SIOCSDRVSPEC
L_.str.1:                               ## @.str.1
	.asciz	"set member %s param: ioctl(BRDGSIFFLGS) failed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_port_set_private        ; -- Begin function bridge_port_set_private
	.p2align	2
_bridge_port_set_private:               ; @bridge_port_set_private
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x1]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_13
LBB0_2:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x22, sp
	mov	w23, #8
	mov	x0, sp
	mov	w1, #8
	bl	_bzero
	mov	x1, x21
	mov	w2, #4
	bl	_strlcpy
	str	w23, [sp, #8]
	str	x22, [sp, #16]
	ldr	w0, [sp, #4]
	ldr	x1, [x19, #8]
	mov	w2, #4
	bl	_strlcpy
Lloh0:
	adrp	x8, _BRDGGIFFLGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BRDGGIFFLGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x21, _sock@GOTPAGE
Lloh4:
	ldr	x21, [x21, _sock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _SIOCGDRVSPEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIOCGDRVSPEC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbnz	x0, #63, LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _TruthValue_true@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TruthValue_true@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _IFBIF_PRIVATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFBIF_PRIVATE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp]
	orr	w8, w9, w8
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	ldr	x19, [x19, #8]
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh22:
	adrp	x8, _TruthValue_false@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TruthValue_false@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.7:
Lloh25:
	adrp	x8, _IFBIF_PRIVATE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IFBIF_PRIVATE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [sp]
	bic	w8, w9, w8
LBB0_8:
	str	w8, [sp]
Lloh28:
	adrp	x8, _BRDGSIFFLGS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BRDGSIFFLGS@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x21]
Lloh31:
	adrp	x8, _SIOCSDRVSPEC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIOCSDRVSPEC@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	tbnz	x0, #63, LBB0_10
; %bb.9:
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_13
LBB0_10:
Lloh34:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh36:
	ldr	w20, [x8]
	ldr	x19, [x19, #8]
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x20
	mov	x2, x19
	bl	_syslog
	mov	w0, #-1
	b	LBB0_13
LBB0_12:
Lloh42:
	adrp	x8, _SNMP_ERR_WRONG_VALUE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SNMP_ERR_WRONG_VALUE@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_BRDGGIFFLGS,4,2                ; @BRDGGIFFLGS
	.comm	_sock,4,2                       ; @sock
	.comm	_SIOCGDRVSPEC,4,2               ; @SIOCGDRVSPEC
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get member %s param: ioctl(BRDGGIFFLGS) failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_TruthValue_true,8,3            ; @TruthValue_true
	.comm	_IFBIF_PRIVATE,4,2              ; @IFBIF_PRIVATE
	.comm	_TruthValue_false,8,3           ; @TruthValue_false
	.comm	_SNMP_ERR_WRONG_VALUE,4,2       ; @SNMP_ERR_WRONG_VALUE
	.comm	_BRDGSIFFLGS,4,2                ; @BRDGSIFFLGS
	.comm	_SIOCSDRVSPEC,4,2               ; @SIOCSDRVSPEC
l_.str.1:                               ; @.str.1
	.asciz	"set member %s param: ioctl(BRDGSIFFLGS) failed: %s"

.subsections_via_symbols
