	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digest2hexdigest
_digest2hexdigest:                      ## @digest2hexdigest
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_RSTRING_PTR
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_RSTRING_LEN
	movl	%eax, %ebx
	leal	(%rbx,%rbx), %esi
	movq	%r14, %r15
	movq	%r14, %rdi
	callq	_mrb_str_buf_new
	movl	%eax, %r13d
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movl	%ebx, %r12d
	xorl	%r14d, %r14d
	leaq	-43(%rbp), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r14), %ecx
	movq	%rbx, %rdi
	movl	$3, %esi
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	$2, %ecx
	callq	_mrb_str_buf_cat
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_2
LBB0_3:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x"

	.no_dead_strip	_digest2hexdigest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digest2hexdigest
_digest2hexdigest:                      ; @digest2hexdigest
	.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, x1
	mov	x19, x0
	mov	x0, x1
	bl	_RSTRING_PTR
	mov	x20, x0
	mov	x0, x21
	bl	_RSTRING_LEN
	mov	x22, x0
	lsl	w1, w0, #1
	mov	x0, x19
	bl	_mrb_str_buf_new
	mov	x21, x0
	cmp	w22, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, w22
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w3, [x20], #1
	add	x0, sp, #13
	mov	w1, #3
	mov	x2, x22
	bl	_snprintf
	add	x2, sp, #13
	mov	x0, x19
	mov	x1, x21
	mov	w3, #2
	bl	_mrb_str_buf_cat
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x"

	.no_dead_strip	_digest2hexdigest
.subsections_via_symbols
