	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_bridgeid2oct
_snmp_bridgeid2oct:                     ## @snmp_bridgeid2oct
	.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, %r15
	movq	%rdi, %rbx
	movq	_SNMP_BRIDGEID_OCTETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, %ebx
	movq	_SNMP_MAX_BRIDGE_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_8
## %bb.2:
	cmpq	$0, (%r13)
	jne	LBB0_8
## %bb.3:
	movq	-48(%rbp), %r12
	cmpb	$46, (%r12)
	jne	LBB0_8
## %bb.4:
	movl	%ebx, %esi
	andl	$65280, %esi                    ## imm = 0xFF00
	movq	%r15, %rdi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:
	movzbl	%bl, %esi
	movq	%r15, %rdi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:
	incq	%r12
	movq	(%r13), %rbx
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%rbx, (%r13)
	cmpl	$255, %eax
	jle	LBB0_13
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_31
LBB0_8:
	movq	%r14, (%r13)
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_10
LBB0_13:
	movq	-48(%rbp), %rbx
	cmpb	$58, (%rbx)
	jne	LBB0_30
## %bb.14:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.15:
	incq	%rbx
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%r14, (%r13)
	cmpl	$255, %eax
	jg	LBB0_7
## %bb.16:
	movq	-48(%rbp), %rbx
	cmpb	$58, (%rbx)
	jne	LBB0_30
## %bb.17:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.18:
	incq	%rbx
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%r14, (%r13)
	cmpl	$255, %eax
	jg	LBB0_7
## %bb.19:
	movq	-48(%rbp), %rbx
	cmpb	$58, (%rbx)
	jne	LBB0_30
## %bb.20:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.21:
	incq	%rbx
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%r14, (%r13)
	cmpl	$255, %eax
	jg	LBB0_7
## %bb.22:
	movq	-48(%rbp), %rbx
	cmpb	$58, (%rbx)
	jne	LBB0_30
## %bb.23:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.24:
	incq	%rbx
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%r14, (%r13)
	cmpl	$255, %eax
	jg	LBB0_7
## %bb.25:
	movq	-48(%rbp), %rbx
	cmpb	$58, (%rbx)
	jne	LBB0_30
## %bb.26:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.27:
	incq	%rbx
	movq	(%r13), %r14
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strtoul
	movq	%r14, (%r13)
	cmpl	$255, %eax
	jg	LBB0_7
## %bb.28:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_snmp_suboid_append
	testq	%rax, %rax
	js	LBB0_9
## %bb.29:
	movq	-48(%rbp), %r15
	jmp	LBB0_10
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	L_.str.2(%rip), %rdi
LBB0_31:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_BRIDGEID_OCTETS,8,3       ## @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 adding oid - %s"

	.no_dead_strip	_snmp_bridgeid2oct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_bridgeid2oct
_snmp_bridgeid2oct:                     ; @snmp_bridgeid2oct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SNMP_BRIDGEID_OCTETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_BRIDGEID_OCTETS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.1:
Lloh3:
	adrp	x22, _errno@GOTPAGE
Lloh4:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	x23, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #10
	bl	_strtoul
	mov	x21, x0
Lloh5:
	adrp	x8, _SNMP_MAX_BRIDGE_PRIORITY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNMP_MAX_BRIDGE_PRIORITY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x22]
	cmp	w0, w8
	ccmp	x9, #0, #0, le
	b.ne	LBB0_7
; %bb.2:
	ldr	x24, [sp, #8]
	ldrb	w8, [x24]
	cmp	w8, #46
	b.ne	LBB0_7
; %bb.3:
	and	w1, w21, #0xff00
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.4:
	and	w1, w21, #0xff
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.5:
	add	x0, x24, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.le	LBB0_11
LBB0_6:
	str	x19, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	str	x23, [x22]
	str	x21, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_warnx
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	x21, [sp, #8]
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_27
; %bb.12:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.13:
	add	x0, x21, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.gt	LBB0_6
; %bb.14:
	ldr	x21, [sp, #8]
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_27
; %bb.15:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.16:
	add	x0, x21, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.gt	LBB0_6
; %bb.17:
	ldr	x21, [sp, #8]
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_27
; %bb.18:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.19:
	add	x0, x21, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.gt	LBB0_6
; %bb.20:
	ldr	x21, [sp, #8]
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_27
; %bb.21:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.22:
	add	x0, x21, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.gt	LBB0_6
; %bb.23:
	ldr	x21, [sp, #8]
	ldrb	w8, [x21]
	cmp	w8, #58
	b.ne	LBB0_27
; %bb.24:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	tbnz	x0, #63, LBB0_9
; %bb.25:
	add	x0, x21, #1
	ldr	x21, [x22]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #16
	bl	_strtoul
	str	x21, [x22]
	cmp	w0, #255
	b.gt	LBB0_6
; %bb.26:
	mov	x1, x0
	mov	x0, x20
	bl	_snmp_suboid_append
	ldr	x8, [sp, #8]
	cmp	x0, #0
	csel	x0, xzr, x8, lt
	b	LBB0_10
LBB0_27:
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_BRIDGEID_OCTETS,8,3       ; @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 adding oid - %s"

	.no_dead_strip	_snmp_bridgeid2oct
.subsections_via_symbols
