	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_get_op_param            ## -- Begin function bridge_get_op_param
	.p2align	4, 0x90
_bridge_get_op_param:                   ## @bridge_get_op_param
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	60(%rdi), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	movl	$56, -104(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -96(%rbp)
	movq	_BRDGPARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	movq	_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIOCGDRVSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	imull	$100, -80(%rbp), %eax
	movl	%eax, (%rbx)
	imull	$100, -76(%rbp), %eax
	movl	%eax, 4(%rbx)
	imull	$100, -72(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 56(%rbx)
	movl	-32(%rbp), %eax
	movl	%eax, 52(%rbx)
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	xorl	%r14d, %r14d
	movb	$1, %r15b
	jmp	LBB0_6
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
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movl	$2, %r14d
	xorl	%r15d, %r15d
LBB0_6:
	movq	%rax, 16(%rbx)
	movl	-36(%rbp), %eax
	movl	%eax, 48(%rbx)
	movl	-40(%rbp), %edi
	movl	44(%rbx), %esi
	callq	_snmp_uint64_to_bridgeid
	movq	-56(%rbp), %rax
	cmpq	%rax, 24(%rbx)
	je	LBB0_8
## %bb.7:
	incl	40(%rbx)
	movq	%rax, 24(%rbx)
	movl	-48(%rbp), %eax
	movl	%eax, 32(%rbx)
	movl	$1, %eax
	testb	%r15b, %r15b
	jne	LBB0_9
LBB0_8:
	movl	%r14d, %eax
LBB0_9:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_BRDGPARAM,4,2                  ## @BRDGPARAM
	.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	"update bridge: ioctl(BRDGPARAM) failed: %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_get_op_param            ; -- Begin function bridge_get_op_param
	.p2align	2
_bridge_get_op_param:                   ; @bridge_get_op_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	ldr	w1, [x0, #60]
Lloh0:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_strlcpy
	mov	w8, #56
	mov	x9, sp
	str	x9, [sp, #64]
Lloh3:
	adrp	x9, _BRDGPARAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BRDGPARAM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #56]
Lloh6:
	adrp	x8, _sock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sock@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _SIOCGDRVSPEC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCGDRVSPEC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #56
	bl	_ioctl
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	d0, [sp]
	movi.2s	v1, #100
	mul.2s	v0, v0, v1
	str	d0, [x19]
	ldr	w8, [sp, #8]
	mov	w9, #100
	mul	w8, w8, w9
	str	w8, [x19, #8]
	ldr	d0, [sp, #48]
	stur	d0, [x19, #52]
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_4
LBB0_2:
	mov	w20, #0
	mov	w21, #1
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
	mov	w20, #-1
	b	LBB0_9
LBB0_4:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_2
; %bb.5:
	mov	w21, #0
	mov	w20, #2
LBB0_6:
	str	x8, [x19, #16]
	ldp	w0, w8, [sp, #40]
	str	w8, [x19, #48]
	ldr	w1, [x19, #44]
	bl	_snmp_uint64_to_bridgeid
	ldr	x9, [x19, #24]
	ldr	x8, [sp, #24]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.7:
	ldr	w9, [x19, #40]
	add	w9, w9, #1
	str	w9, [x19, #40]
	str	x8, [x19, #24]
	ldr	w8, [sp, #32]
	str	w8, [x19, #32]
	tbz	w21, #0, LBB0_9
; %bb.8:
	mov	w20, #1
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_BRDGPARAM,4,2                  ; @BRDGPARAM
	.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	"update bridge: ioctl(BRDGPARAM) failed: %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
