	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_bridge_id
_parse_bridge_id:                       ## @parse_bridge_id
	.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
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SNMP_BRIDGEID_OCTETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_errno@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	movq	$0, (%r14)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	_SNMP_MAX_BRIDGE_PRIORITY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_5
## %bb.1:
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.2:
	movq	-56(%rbp), %rbx
	cmpb	$46, (%rbx)
	jne	LBB0_5
## %bb.3:
	movl	%eax, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	movl	%ecx, (%r15)
	movzbl	%al, %eax
	movl	%eax, 4(%r15)
	incq	%rbx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	cmpl	$256, %eax                      ## imm = 0x100
	jge	LBB0_4
## %bb.6:
	movq	-56(%rbp), %r12
	cmpb	$58, (%r12)
	jne	LBB0_19
## %bb.7:
	movl	%eax, 8(%r15)
	incq	%r12
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_strtoul
	cmpl	$255, %eax
	jle	LBB0_9
LBB0_8:
	movq	%r12, %rbx
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_20
LBB0_5:
	movslq	%r12d, %rcx
	movq	%rcx, (%r14)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_22
LBB0_9:
	movq	-56(%rbp), %rdi
	cmpb	$58, (%rdi)
	movq	%r12, %rbx
	jne	LBB0_19
## %bb.10:
	movl	%eax, 12(%r15)
	incq	%rdi
	leaq	-56(%rbp), %rsi
	movq	%rdi, %rbx
	movl	$16, %edx
	callq	_strtoul
	cmpl	$255, %eax
	jg	LBB0_4
## %bb.11:
	movq	-56(%rbp), %r12
	cmpb	$58, (%r12)
	jne	LBB0_19
## %bb.12:
	movl	%eax, 16(%r15)
	incq	%r12
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_strtoul
	cmpl	$255, %eax
	jg	LBB0_8
## %bb.14:
	movq	-56(%rbp), %rdi
	cmpb	$58, (%rdi)
	movq	%r12, %rbx
	jne	LBB0_19
## %bb.15:
	movl	%eax, 20(%r15)
	incq	%rdi
	leaq	-56(%rbp), %rsi
	movq	%rdi, %rbx
	movl	$16, %edx
	callq	_strtoul
	cmpl	$255, %eax
	jg	LBB0_4
## %bb.16:
	movq	-56(%rbp), %r12
	cmpb	$58, (%r12)
	jne	LBB0_19
## %bb.17:
	movl	%eax, 24(%r15)
	incq	%r12
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_strtoul
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_25
## %bb.18:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.2(%rip), %rdi
LBB0_20:
	movq	%rbx, %rsi
LBB0_21:
	xorl	%eax, %eax
	callq	_warnx
LBB0_22:
	movl	$-1, %eax
LBB0_23:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	%eax, 28(%r15)
	movq	_SNMP_BRIDGEID_OCTETS@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_malloc
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	(%r12), %edx
	movl	%edx, 8(%rbx)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	_SNMP_SYNTAX_OCTETSTRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_23
LBB0_27:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rdi
	callq	_strerror
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	jmp	LBB0_22
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_BRIDGEID_OCTETS,4,2       ## @SNMP_BRIDGEID_OCTETS
	.comm	_errno,8,3                      ## @errno
	.comm	_SNMP_MAX_BRIDGE_PRIORITY,4,2   ## @SNMP_MAX_BRIDGE_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad bridge priority value %d"

L_.str.1:                               ## @.str.1
	.asciz	"Integer value %s not supported"

L_.str.2:                               ## @.str.2
	.asciz	"Failed reading octet - %s"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"malloc failed: %s"

	.comm	_SNMP_SYNTAX_OCTETSTRING,4,2    ## @SNMP_SYNTAX_OCTETSTRING
	.no_dead_strip	_parse_bridge_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_bridge_id
_parse_bridge_id:                       ; @parse_bridge_id
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x8, x1
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
Lloh3:
	adrp	x23, _SNMP_BRIDGEID_OCTETS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SNMP_BRIDGEID_OCTETS@GOTPAGEOFF]
	ldr	w9, [x23]
	lsl	x12, x9, #2
	mov	x9, x12
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x7fffffff0
	sub	x20, x9, x10
	mov	sp, x20
Lloh7:
	adrp	x24, _errno@GOTPAGE
Lloh8:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	ldr	x21, [x24]
	str	xzr, [x24]
	sub	x1, x29, #64
	mov	x0, x8
	mov	w2, #10
	bl	_strtoul
                                        ; kill: def $w0 killed $w0 def $x0
Lloh9:
	adrp	x8, _SNMP_MAX_BRIDGE_PRIORITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNMP_MAX_BRIDGE_PRIORITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x24]
	cmp	w0, w8
	ccmp	x9, #0, #0, le
	b.ne	LBB0_14
; %bb.1:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_14
; %bb.2:
	dup.2s	v0, w0
	movi	d1, #0x0000ff0000ff00
	and.8b	v0, v0, v1
	str	d0, [x20]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #256
	b.ge	LBB0_13
; %bb.3:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.4:
	str	w0, [x20, #8]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #255
	b.gt	LBB0_13
; %bb.5:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.6:
	str	w0, [x20, #12]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #255
	b.gt	LBB0_13
; %bb.7:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.8:
	str	w0, [x20, #16]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #255
	b.gt	LBB0_13
; %bb.9:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.10:
	str	w0, [x20, #20]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #255
	b.gt	LBB0_13
; %bb.11:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_19
; %bb.12:
	str	w0, [x20, #24]
	add	x21, x8, #1
	sub	x1, x29, #64
	mov	x0, x21
	mov	w2, #16
	bl	_strtoul
	cmp	w0, #256
	b.lt	LBB0_20
LBB0_13:
	str	x21, [sp, #-16]!
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_14:
	sxtw	x8, w21
	str	x8, [x24]
	str	x0, [sp, #-16]!
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
LBB0_15:
	bl	_warnx
	add	sp, sp, #16
LBB0_16:
	mov	w0, #-1
LBB0_17:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.18:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	str	x21, [sp, #-16]!
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_20:
	str	w0, [x20, #28]
	ldr	w0, [x23]
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w2, [x23]
	str	w2, [x19, #8]
	mov	x1, x20
	bl	_memcpy
Lloh21:
	adrp	x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_17
LBB0_22:
Lloh24:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
	ldr	x0, [x24]
	bl	_strerror
	mov	x2, x0
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_syslog
	b	LBB0_16
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_BRIDGEID_OCTETS,4,2       ; @SNMP_BRIDGEID_OCTETS
	.comm	_errno,8,3                      ; @errno
	.comm	_SNMP_MAX_BRIDGE_PRIORITY,4,2   ; @SNMP_MAX_BRIDGE_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad bridge priority value %d"

l_.str.1:                               ; @.str.1
	.asciz	"Integer value %s not supported"

l_.str.2:                               ; @.str.2
	.asciz	"Failed reading octet - %s"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"malloc failed: %s"

	.comm	_SNMP_SYNTAX_OCTETSTRING,4,2    ; @SNMP_SYNTAX_OCTETSTRING
	.no_dead_strip	_parse_bridge_id
.subsections_via_symbols
