	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_command
_construct_command:                     ## @construct_command
	.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
	movq	%rdx, %r12
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_strlen
	addq	%rax, %r15
	incq	%r15
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movl	$1, %edi
	movq	%r15, %rsi
	callq	_max
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%r13, %rdx
	callq	_errx
LBB0_6:
	movb	$0, (%rbx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	-1(%rcx), %eax
	movl	%eax, %r15d
	cmpl	$2, %ecx
	jl	LBB0_9
## %bb.7:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_strlcat
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	callq	_strlcat
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_8
LBB0_9:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.10:
	movq	(%r12,%r15,8), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_strlcat
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	%r13, %rax
	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	"malloc %lu failed"

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

	.no_dead_strip	_construct_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_command
_construct_command:                     ; @construct_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x22, #0
	subs	w25, w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, w21
	mov	x24, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24], #8
	bl	_strlen
	add	x8, x22, x0
	add	x22, x8, #1
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #1
	mov	x1, x22
	bl	_max
	mov	x22, x0
	bl	_malloc
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x22
	bl	_errx
LBB0_5:
	strb	wzr, [x23]
	cmp	w21, #1
	b.le	LBB0_8
; %bb.6:
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	x26, x25
	mov	x27, x20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x27], #8
	mov	x0, x23
	mov	x2, x22
	bl	_strlcat
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	bl	_strlcat
	subs	x26, x26, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	x1, [x20, w25, uxtw #3]
	mov	x0, x23
	mov	x2, x22
	bl	_strlcat
LBB0_10:
	str	x23, [x19]
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc %lu failed"

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

	.no_dead_strip	_construct_command
.subsections_via_symbols
