	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snmp_oct2str
_snmp_oct2str:                          ## @snmp_oct2str
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.2:
	movq	%rdi, %r13
	movq	_MAX_OCTSTRING_LEN@GOTPCREL(%rip), %rcx
	cmpq	%rdi, (%rcx)
	jb	LBB0_19
## %bb.3:
	movq	%rdx, %r12
	testq	%r13, %r13
	je	LBB0_4
## %bb.5:
	movsbl	(%r15), %edi
	callq	_isprint
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %r13
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_isprint
	incq	%rbx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:
	decq	%rbx
	cmpq	%r13, %rbx
	setb	%r14b
	jmp	LBB0_11
LBB0_4:
	movq	%r12, %rax
	jmp	LBB0_19
LBB0_6:
	movb	$1, %r14b
LBB0_11:
	movb	$0, 2(%r12)
	movw	$30768, (%r12)                  ## imm = 0x7830
	addq	$2, %r12
	jmp	LBB0_13
LBB0_12:
	seta	%r14b
LBB0_13:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movsbl	%al, %edx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	cmpq	%r12, %r13
	je	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r12), %eax
	testb	%r14b, %r14b
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movb	%al, (%rbx)
	movb	$0, 1(%rbx)
	incq	%rbx
	jmp	LBB0_17
LBB0_18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OCTSTRING_LEN,8,3          ## @MAX_OCTSTRING_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x"

L_.str.2:                               ## @.str.2
	.asciz	"%2.2x"

	.no_dead_strip	_snmp_oct2str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snmp_oct2str
_snmp_oct2str:                          ; @snmp_oct2str
	.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	x21, x0
	mov	x0, #0
	cbz	x2, LBB0_18
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_18
; %bb.2:
Lloh0:
	adrp	x8, _MAX_OCTSTRING_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_OCTSTRING_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.lo	LBB0_18
; %bb.3:
	mov	x19, x2
	cbz	x21, LBB0_17
; %bb.4:
	ldrsb	w0, [x20]
	bl	_isprint
	cbz	w0, LBB0_9
; %bb.5:
	mov	w22, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x22
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsb	w0, [x20, x22]
	bl	_isprint
	add	x22, x22, #1
	cbnz	w0, LBB0_6
; %bb.8:
	sub	x8, x22, #1
	cmp	x8, x21
	cset	w24, lo
	b	LBB0_10
LBB0_9:
	mov	w24, #1
LBB0_10:
	mov	w8, #30768
	strh	w8, [x19]
	strb	wzr, [x19, #2]!
	b	LBB0_12
LBB0_11:
	cmp	x22, x21
	cset	w24, lo
LBB0_12:
Lloh3:
	adrp	x22, l_.str.2@PAGE
Lloh4:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x23, x19
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x22
	bl	_sprintf
	add	x23, x23, w0, sxtw
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x20, #1
	subs	x21, x21, #1
	b.eq	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x20]
	tbnz	w24, #0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	and	w8, w8, #0xff
	strb	w8, [x23]
	strb	wzr, [x23, #1]!
	b	LBB0_14
LBB0_17:
	mov	x0, x19
LBB0_18:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OCTSTRING_LEN,8,3          ; @MAX_OCTSTRING_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x"

l_.str.2:                               ; @.str.2
	.asciz	"%2.2x"

	.no_dead_strip	_snmp_oct2str
.subsections_via_symbols
