	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_bport_id
_parse_bport_id:                        ## @parse_bport_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, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SNMP_BPORT_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
	movl	(%r14), %r13d
	movl	$0, (%r14)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	_SNMP_MAX_BPORT_PRIORITY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_5
## %bb.1:
	cmpl	$0, (%r14)
	jne	LBB0_5
## %bb.2:
	movq	-56(%rbp), %rdi
	cmpb	$46, (%rdi)
	jne	LBB0_5
## %bb.3:
	movl	%eax, (%r15)
	incq	%rdi
	leaq	-56(%rbp), %rsi
	movl	$16, %edx
	callq	_strtoul
	cmpl	$256, %eax                      ## imm = 0x100
	jl	LBB0_10
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	movl	%r13d, (%r14)
	leaq	L_.str(%rip), %rdi
LBB0_6:
	movl	%eax, %esi
	callq	_warnx
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%eax, 4(%r15)
	movq	_SNMP_BPORT_OCTETS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_malloc
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%r13), %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_8
LBB0_12:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	jmp	LBB0_7
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_BPORT_OCTETS,4,2          ## @SNMP_BPORT_OCTETS
	.comm	_errno,4,2                      ## @errno
	.comm	_SNMP_MAX_BPORT_PRIORITY,4,2    ## @SNMP_MAX_BPORT_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad bridge port priority value %d"

L_.str.1:                               ## @.str.1
	.asciz	"Bad port number - %d"

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_bport_id
_parse_bport_id:                        ; @parse_bport_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	x21, 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	x22, _SNMP_BPORT_OCTETS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SNMP_BPORT_OCTETS@GOTPAGEOFF]
	ldr	w9, [x22]
	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	x23, _errno@GOTPAGE
Lloh8:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w24, [x23]
	str	wzr, [x23]
	sub	x1, x29, #64
	mov	x0, x8
	mov	w2, #10
	bl	_strtoul
	mov	x1, x0
Lloh9:
	adrp	x8, _SNMP_MAX_BPORT_PRIORITY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNMP_MAX_BPORT_PRIORITY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x23]
	cmp	w0, w8
	ccmp	w9, #0, #0, le
	b.ne	LBB0_4
; %bb.1:
	ldur	x8, [x29, #-64]
	ldrb	w9, [x8]
	cmp	w9, #46
	b.ne	LBB0_4
; %bb.2:
	str	w1, [x20]
	add	x0, x8, #1
	sub	x1, x29, #64
	mov	w2, #16
	bl	_strtoul
	mov	x1, x0
	cmp	w0, #256
	b.lt	LBB0_9
; %bb.3:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	w24, [x23]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
LBB0_5:
	bl	_warnx
LBB0_6:
	mov	w0, #-1
LBB0_7:
	mov	sp, x21
	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_12
; %bb.8:
	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_9:
	str	w1, [x20, #4]
	ldr	w0, [x22]
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w2, [x22]
	str	w2, [x19, #8]
	mov	x1, x20
	bl	_memcpy
Lloh19:
	adrp	x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SNMP_SYNTAX_OCTETSTRING@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_7
LBB0_11:
Lloh22:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
	ldr	w0, [x23]
	bl	_strerror
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_syslog
	b	LBB0_6
LBB0_12:
	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 AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_BPORT_OCTETS,4,2          ; @SNMP_BPORT_OCTETS
	.comm	_errno,4,2                      ; @errno
	.comm	_SNMP_MAX_BPORT_PRIORITY,4,2    ; @SNMP_MAX_BPORT_PRIORITY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad bridge port priority value %d"

l_.str.1:                               ; @.str.1
	.asciz	"Bad port number - %d"

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

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