	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LogCommand
_LogCommand:                            ## @LogCommand
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LINE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movl	(%r14), %edx
	movl	$-1, %eax
	cmpl	4(%r14), %edx
	jge	LBB0_4
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_MAXARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r14), %r15d
	movl	4(%r14), %r13d
	subl	%r15d, %r13d
	cmpl	%ebx, %r13d
	jl	LBB0_3
## %bb.2:
	leal	-1(%rbx), %r13d
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	(%r14), %r15d
LBB0_3:
	addl	12(%r14), %r15d
	movl	8(%r14), %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	$1, %r8d
	movl	%eax, %r9d
	callq	_command_Expand
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_Concatinate
	movq	_LogLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_command_Free
	xorl	%eax, %eax
	movq	-64(%rbp), %rsp                 ## 8-byte Reload
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_LEN,4,2                   ## @LINE_LEN
	.comm	_MAXARGS,4,2                    ## @MAXARGS
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncating log command to %d args\n"

	.comm	_LogLOG,4,2                     ## @LogLOG
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_LogCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LogCommand
_LogCommand:                            ; @LogCommand
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _LINE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.1:
	mov	x25, sp
Lloh8:
	adrp	x8, _MAXARGS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAXARGS@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x8]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldp	w8, w9, [x21]
	sub	w23, w9, w8
	cmp	w23, w12
	b.lt	LBB0_3
; %bb.2:
	sub	w23, w12, #1
Lloh13:
	adrp	x8, _LogWARN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x23, [sp, #-16]!
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	add	sp, sp, #16
	ldr	w8, [x21]
LBB0_3:
	ldp	w21, w9, [x21, #8]
	add	w24, w8, w9
	bl	_getpid
	mov	x5, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x21
	mov	w4, #1
	bl	_command_Expand
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_Concatinate
Lloh18:
	adrp	x8, _LogLOG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LogLOG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x19, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	add	sp, sp, #16
	mov	x0, x23
	mov	x1, x22
	bl	_command_Free
	mov	sp, x25
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldur	x8, [x29, #-72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_LEN,4,2                   ; @LINE_LEN
	.comm	_MAXARGS,4,2                    ; @MAXARGS
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncating log command to %d args\n"

	.comm	_LogLOG,4,2                     ; @LogLOG
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_LogCommand
.subsections_via_symbols
