	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function outreg
_outreg:                                ## @outreg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	cmpl	$4096, %edi                     ## imm = 0x1000
	jae	LBB0_1
## %bb.2:
	cmpl	$256, %r14d                     ## imm = 0x100
	jae	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%r14d, %edi
	shrl	$12, %edi
	andl	$15, %edi
	callq	_tohex
	movb	%al, (%rbx)
	incq	%rbx
LBB0_3:
	movl	%r14d, %edi
	shrl	$8, %edi
	andl	$15, %edi
	callq	_tohex
	movb	%al, (%rbx)
	incq	%rbx
LBB0_4:
	movl	%r14d, %edi
	shrl	$4, %edi
	andl	$15, %edi
	callq	_tohex
	movb	%al, (%rbx)
	movl	%r14d, %edi
	andl	$15, %edi
	callq	_tohex
	movb	%al, 1(%rbx)
	leaq	3(%rbx), %rsi
	movb	$58, 2(%rbx)
	movl	%r14d, %edi
	callq	_collect_register_as_string
	movl	%r14d, %edi
	callq	_register_size
	movslq	%eax, %rcx
	leaq	(%rbx,%rcx,2), %rax
	addq	$4, %rax
	movb	$59, 3(%rbx,%rcx,2)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_outreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function outreg
_outreg:                                ; @outreg
	.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	x20, x1
	mov	x19, x0
	cmp	w0, #1, lsl #12                 ; =4096
	b.hs	LBB0_2
; %bb.1:
	cmp	w19, #256
	b.hs	LBB0_3
	b	LBB0_4
LBB0_2:
	ubfx	w0, w19, #12, #4
	bl	_tohex
	strb	w0, [x20], #1
LBB0_3:
	ubfx	w0, w19, #8, #4
	bl	_tohex
	strb	w0, [x20], #1
LBB0_4:
	ubfx	w0, w19, #4, #4
	bl	_tohex
	strb	w0, [x20]
	and	w0, w19, #0xf
	bl	_tohex
	strb	w0, [x20, #1]
	add	x21, x20, #3
	mov	w8, #58
	strb	w8, [x20, #2]
	mov	x0, x19
	mov	x1, x21
	bl	_collect_register_as_string
	mov	x0, x19
	bl	_register_size
	add	x0, x21, w0, sxtw #1
	mov	w8, #59
	strb	w8, [x0], #1
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_outreg
.subsections_via_symbols
