	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bufcon_puti                    ## -- Begin function bufcon_puti
	.p2align	4, 0x90
_bufcon_puti:                           ## @bufcon_puti
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	testl	%esi, %esi
	jns	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$45, %esi
	callq	_bufcon_putc
	negl	%r12d
LBB0_2:
	movl	$1000000000, %ebx               ## imm = 0x3B9ACA00
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$10, %ebx
	jb	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ebx
	movl	$3435973837, %eax               ## imm = 0xCCCCCCCD
	imulq	%rax, %rbx
	shrq	$35, %rbx
	movl	%r15d, %r12d
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ebx
	movl	%edx, %r15d
	cmpl	%r12d, %ebx
	movl	$1, %ecx
	cmovbel	%ecx, %r13d
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$48, %eax
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bufcon_putc
	cmpl	$10, %ebx
	jae	LBB0_5
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_bufcon_putc
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bufcon_puti                    ; -- Begin function bufcon_puti
	.p2align	2
_bufcon_puti:                           ; @bufcon_puti
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	tbz	w1, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #45
	bl	_bufcon_putc
	neg	w20, w20
LBB0_2:
	mov	w21, #0
	mov	w22, #51712
	movk	w22, #15258, lsl #16
	mov	w23, #52429
	movk	w23, #52428, lsl #16
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, #10
	b.lo	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	msub	w20, w24, w22, w20
	umull	x8, w22, w23
	lsr	x22, x8, #35
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, w20
	csinc	w21, w21, wzr, hi
	udiv	w24, w20, w22
	cbz	w21, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w1, w24, #48
	mov	x0, x19
	bl	_bufcon_putc
	cmp	w22, #10
	b.hs	LBB0_4
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	w1, #48
	bl	_bufcon_putc
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
