	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar_start_gzip                  ## -- Begin function ar_start_gzip
	.p2align	4, 0x90
_ar_start_gzip:                         ## @ar_start_gzip
	.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
	movl	%edx, %r13d
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_pipe
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	xorl	%eax, %eax
	callq	_fork
	movq	_zpid@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	testl	%r13d, %r13d
	leaq	-52(%rbp), %rax
	cmoveq	%r12, %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_dup2
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %r12
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rbx
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %edi
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.3(%rip), %r12
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rbx
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %edi
LBB0_9:
	movl	(%rax), %esi
	callq	_dup2
	movl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_dup2
	movl	-56(%rbp), %edi
	callq	_close
	movl	-52(%rbp), %edi
	callq	_close
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_execlp
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not pipe"

	.comm	_zpid,8,3                       ## @zpid
L_.str.1:                               ## @.str.1
	.asciz	"could not fork"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
L_.str.2:                               ## @.str.2
	.asciz	"-c"

L_.str.3:                               ## @.str.3
	.asciz	"-dc"

L_.str.4:                               ## @.str.4
	.asciz	"could not exec"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar_start_gzip                  ; -- Begin function ar_start_gzip
	.p2align	2
_ar_start_gzip:                         ; @ar_start_gzip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	x0, sp
	bl	_pipe
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	bl	_fork
Lloh5:
	adrp	x22, _zpid@GOTPAGE
Lloh6:
	ldr	x22, [x22, _zpid@GOTPAGEOFF]
	str	x0, [x22]
	tbnz	x0, #63, LBB0_5
; %bb.3:
	cbz	x0, LBB0_6
LBB0_4:
	mov	x8, sp
	add	x9, x8, #4
	cmp	w21, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	mov	x1, x20
	bl	_dup2
	ldr	w0, [sp]
	bl	_close
	ldr	w0, [sp, #4]
	bl	_close
	b	LBB0_11
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	x0, [x22]
	cbnz	x0, LBB0_4
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh11:
	adrp	x22, _STDOUT_FILENO@GOTPAGE
Lloh12:
	ldr	x22, [x22, _STDOUT_FILENO@GOTPAGEOFF]
Lloh13:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
	ldr	w0, [sp]
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x21, l_.str.3@PAGE
Lloh16:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh17:
	adrp	x22, _STDIN_FILENO@GOTPAGE
Lloh18:
	ldr	x22, [x22, _STDIN_FILENO@GOTPAGEOFF]
Lloh19:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
	ldr	w0, [sp, #4]
LBB0_9:
	ldr	w1, [x8]
	bl	_dup2
	ldr	w1, [x22]
	mov	x0, x20
	bl	_dup2
	ldr	w0, [sp]
	bl	_close
	ldr	w0, [sp, #4]
	bl	_close
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	mov	x3, #0
	bl	_execlp
	tbz	x0, #63, LBB0_11
; %bb.10:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	ldr	x8, [sp, #8]
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_13
; %bb.12:
	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
	add	sp, sp, #64
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not pipe"

	.comm	_zpid,8,3                       ; @zpid
l_.str.1:                               ; @.str.1
	.asciz	"could not fork"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
l_.str.2:                               ; @.str.2
	.asciz	"-c"

l_.str.3:                               ; @.str.3
	.asciz	"-dc"

l_.str.4:                               ; @.str.4
	.asciz	"could not exec"

.subsections_via_symbols
