	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_get_buf
_fill_get_buf:                          ## @fill_get_buf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_get_buf@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	(%r14), %rdi
	movq	%r15, %rsi
	callq	_strcat
	movb	(%r15), %al
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	testb	%al, %al
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addb	%al, %bl
	movzbl	1(%r15,%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_1
LBB0_3:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcat
	movzbl	%bl, %r15d
	movl	%r15d, %edi
	callq	_hex_asc_hi
	movq	(%r14), %rcx
	movl	%r12d, %ebx
	movb	%al, 2(%rbx,%rcx)
	movl	%r15d, %edi
	callq	_hex_asc_lo
	movq	(%r14), %rcx
	movb	%al, 3(%rbx,%rcx)
	movq	(%r14), %rax
	movb	$0, 4(%rbx,%rax)
	movq	_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v2printk                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_get_buf,8,3                    ## @get_buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$"

L_.str.1:                               ## @.str.1
	.asciz	"#"

L_.str.2:                               ## @.str.2
	.asciz	"get%i: %s\n"

	.comm	_ts,4,2                         ## @ts
	.no_dead_strip	_fill_get_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_get_buf
_fill_get_buf:                          ; @fill_get_buf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _get_buf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _get_buf@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	x0, [x20]
	mov	x1, x19
	bl	_strcat
	ldrb	w9, [x19]
	cbz	w9, LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w22, #0
	add	x8, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w9, w22
	ldrb	w9, [x8, x21]
	add	x21, x21, #1
	cbnz	w9, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #0
	mov	w22, #0
LBB0_4:
	ldr	x0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcat
	and	w19, w22, #0xff
	mov	x0, x19
	bl	_hex_asc_hi
	ldr	x8, [x20]
	mov	w21, w21
	add	x8, x21, x8
	strb	w0, [x8, #2]
	mov	x0, x19
	bl	_hex_asc_lo
	ldr	x8, [x20]
	add	x8, x21, x8
	strb	w0, [x8, #3]
	ldr	x8, [x20]
	add	x8, x21, x8
	strb	wzr, [x8, #4]
Lloh6:
	adrp	x8, _ts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ts@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x20]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_v2printk
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_get_buf,8,3                    ; @get_buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$"

l_.str.1:                               ; @.str.1
	.asciz	"#"

l_.str.2:                               ; @.str.2
	.asciz	"get%i: %s\n"

	.comm	_ts,4,2                         ; @ts
	.no_dead_strip	_fill_get_buf
.subsections_via_symbols
