	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function complete_display
_complete_display:                      ## @complete_display
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	leaq	8(%r13), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_MAXIMUM
	movq	%rax, %r15
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fileno
	movq	_TIOCGWINSZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdx
	movl	%eax, %edi
	callq	_ioctl
	movl	$80, %r12d
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.5:
	movq	-48(%rbp), %r12
LBB0_6:
	xorl	%ecx, %ecx
	subq	%r14, %r15
	cmovaeq	%r15, %rcx
	addq	$2, %rcx
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_7
## %bb.8:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_9
LBB0_7:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_MAXIMUM
	movq	%rax, %r15
	movq	%r12, %rax
	orq	%r15, %rax
	shrq	$32, %rax
	je	LBB0_10
## %bb.11:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%r15
	jmp	LBB0_12
LBB0_10:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%r15d
                                        ## kill: def $eax killed $eax def $rax
LBB0_12:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_MINIMUM
	movq	%rax, %r12
	movl	$10, %edi
	callq	_putchar
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.13:
	addq	$8, %r13
	movl	$1, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r13), %rdi
	addq	$8, %r13
	testq	%rdi, %rdi
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	cltq
	leaq	L_.str.1(%rip), %rdx
	cmpq	%r14, %rax
	jbe	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-8(%r13), %rdx
	addq	%r14, %rdx
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rsi
	callq	_mprintf
	cmpq	%r15, %rbx
	jb	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$10, %edi
	callq	_putchar
	movl	$1, %ebx
	jmp	LBB0_19
LBB0_20:
	movl	$10, %edi
	callq	_putchar
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.comm	_TIOCGWINSZ,4,2                 ## @TIOCGWINSZ
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"%-*s"

	.no_dead_strip	_complete_display
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function complete_display
_complete_display:                      ; @complete_display
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, #0
	add	x22, x20, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_MAXIMUM
	mov	x21, x0
	ldr	x0, [x22], #8
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
Lloh0:
	adrp	x8, _stdin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_fileno
Lloh3:
	adrp	x8, _TIOCGWINSZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIOCGWINSZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	ldr	x8, [sp, #8]
	cmn	w0, #1
	mov	w9, #80
	csel	x22, x9, x8, eq
	subs	x8, x21, x19
	csel	x8, xzr, x8, lo
	add	x8, x8, #2
	udiv	x0, x22, x8
	mov	w1, #1
	bl	_MAXIMUM
	mov	x21, x0
	udiv	x0, x22, x0
	mov	x1, x22
	bl	_MINIMUM
	mov	x22, x0
	mov	w0, #10
	bl	_putchar
	ldr	x0, [x20]
	cbz	x0, LBB0_11
; %bb.5:
	add	x23, x20, #8
	mov	w25, #1
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh8:
	adrp	x20, l_.str.2@PAGE
Lloh9:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	ldr	x0, [x23], #8
	cbz	x0, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mov	x2, x24
	cmp	x8, x19
	b.ls	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x23, #-8]
	add	x2, x8, x19
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_mprintf
	cmp	x25, x21
	b.lo	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #10
	bl	_putchar
	mov	w25, #1
	ldr	x0, [x23], #8
	cbnz	x0, LBB0_7
LBB0_11:
	mov	w0, #10
	bl	_putchar
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.comm	_TIOCGWINSZ,4,2                 ; @TIOCGWINSZ
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"%-*s"

	.no_dead_strip	_complete_display
.subsections_via_symbols
