	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_stripspace                 ## -- Begin function cmd_stripspace
	.p2align	4, 0x90
_cmd_stripspace:                        ## @cmd_stripspace
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_STRIP_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_N_
	movq	_STRIP_COMMENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str(%rip), %rsi
	leaq	-68(%rbp), %rbx
	movl	$115, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_OPT_CMDMODE
	movl	%eax, -64(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	_N_
	movq	_COMMENT_LINES@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	L_.str.2(%rip), %rsi
	movl	$99, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_OPT_CMDMODE
	movl	%eax, -60(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -56(%rbp)
	movq	_stripspace_usage@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	leaq	-64(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	callq	_parse_options
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	_usage_with_options
LBB0_2:
	movl	-68(%rbp), %eax
	movq	_STRIP_COMMENTS@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	je	LBB0_4
## %bb.3:
	cmpl	(%r13), %eax
	jne	LBB0_5
LBB0_4:
	leaq	-84(%rbp), %rdi
	callq	_setup_git_directory_gently
	movq	_git_default_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
LBB0_5:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_strbuf_read
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
	callq	_die_errno
LBB0_7:
	movl	-68(%rbp), %eax
	movl	(%rbx), %ecx
	movq	_STRIP_DEFAULT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_9
## %bb.8:
	cmpl	%ecx, %eax
	je	LBB0_9
## %bb.10:
	leaq	-80(%rbp), %rdi
	callq	_comment_lines
	jmp	LBB0_11
LBB0_9:
	xorl	%esi, %esi
	cmpl	%ecx, %eax
	sete	%sil
	leaq	-80(%rbp), %rdi
	callq	_strbuf_stripspace
LBB0_11:
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %esi
	movl	$1, %edi
	callq	_write_or_die
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_STRIP_DEFAULT,4,2              ## @STRIP_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strip-comments"

L_.str.1:                               ## @.str.1
	.asciz	"skip and remove all lines starting with comment character"

	.comm	_STRIP_COMMENTS,4,2             ## @STRIP_COMMENTS
L_.str.2:                               ## @.str.2
	.asciz	"comment-lines"

L_.str.3:                               ## @.str.3
	.asciz	"prepend comment character and space to each line"

	.comm	_COMMENT_LINES,4,2              ## @COMMENT_LINES
	.comm	_stripspace_usage,4,2           ## @stripspace_usage
	.comm	_git_default_config,4,2         ## @git_default_config
L_.str.4:                               ## @.str.4
	.asciz	"could not read the input"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_stripspace                 ; -- Begin function cmd_stripspace
	.p2align	2
_cmd_stripspace:                        ; @cmd_stripspace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #16]
Lloh6:
	adrp	x22, _STRIP_DEFAULT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _STRIP_DEFAULT@GOTPAGEOFF]
	ldr	w8, [x22]
	str	w8, [sp, #12]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh10:
	adrp	x23, _STRIP_COMMENTS@GOTPAGE
Lloh11:
	ldr	x23, [x23, _STRIP_COMMENTS@GOTPAGEOFF]
	ldr	w4, [x23]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	w0, #115
	bl	_OPT_CMDMODE
	str	w0, [sp, #24]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_N_
	mov	x3, x0
Lloh16:
	adrp	x24, _COMMENT_LINES@GOTPAGE
Lloh17:
	ldr	x24, [x24, _COMMENT_LINES@GOTPAGEOFF]
	ldr	w4, [x24]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	w0, #99
	bl	_OPT_CMDMODE
	str	w0, [sp, #28]
	bl	_OPT_END
	str	w0, [sp, #32]
Lloh20:
	adrp	x25, _stripspace_usage@GOTPAGE
Lloh21:
	ldr	x25, [x25, _stripspace_usage@GOTPAGEOFF]
	ldr	w4, [x25]
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w5, #0
	bl	_parse_options
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x25]
	add	x1, sp, #24
	bl	_usage_with_options
LBB0_2:
	ldr	w8, [sp, #12]
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_4:
	add	x0, sp, #8
	bl	_setup_git_directory_gently
Lloh22:
	adrp	x8, _git_default_config@GOTPAGE
Lloh23:
	ldr	x8, [x8, _git_default_config@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
LBB0_5:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #1024
	bl	_strbuf_read
	tbz	x0, #63, LBB0_7
; %bb.6:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_die_errno
LBB0_7:
	ldr	w8, [sp, #12]
	ldr	w10, [x22]
	ldr	w9, [x23]
	cmp	w8, w10
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, w9
	b.eq	LBB0_10
; %bb.9:
	add	x0, sp, #16
	bl	_comment_lines
	b	LBB0_11
LBB0_10:
	cmp	w8, w9
	cset	w1, eq
	add	x0, sp, #16
	bl	_strbuf_stripspace
LBB0_11:
	ldp	w2, w1, [sp, #16]
	mov	w0, #1
	bl	_write_or_die
	add	x0, sp, #16
	bl	_strbuf_release
	ldr	x8, [sp, #40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_STRIP_DEFAULT,4,2              ; @STRIP_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strip-comments"

l_.str.1:                               ; @.str.1
	.asciz	"skip and remove all lines starting with comment character"

	.comm	_STRIP_COMMENTS,4,2             ; @STRIP_COMMENTS
l_.str.2:                               ; @.str.2
	.asciz	"comment-lines"

l_.str.3:                               ; @.str.3
	.asciz	"prepend comment character and space to each line"

	.comm	_COMMENT_LINES,4,2              ; @COMMENT_LINES
	.comm	_stripspace_usage,4,2           ; @stripspace_usage
	.comm	_git_default_config,4,2         ; @git_default_config
l_.str.4:                               ; @.str.4
	.asciz	"could not read the input"

.subsections_via_symbols
