	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_stdin@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_SET_BINARY_MODE
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_SET_BINARY_MODE
	cmpl	$2, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$1, %ebx
	jne	LBB0_7
## %bb.2:
	movl	(%r15), %edi
	movl	(%r12), %esi
	movq	_Z_DEFAULT_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_def
	jmp	LBB0_3
LBB0_5:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs
	movl	$1, %ebx
	jmp	LBB0_8
LBB0_6:
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_inf
LBB0_3:
	movl	%eax, %ebx
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_8
## %bb.4:
	movl	%ebx, %edi
	callq	_zerr
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.comm	_stdout,4,2                     ## @stdout
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ## @Z_DEFAULT_COMPRESSION
	.comm	_Z_OK,4,2                       ## @Z_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-d"

L_.str.1:                               ## @.str.1
	.asciz	"zpipe usage: zpipe [-d] < source > dest\n"

	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _stdin@GOTPAGE
Lloh1:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_SET_BINARY_MODE
Lloh2:
	adrp	x22, _stdout@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_SET_BINARY_MODE
	cmp	w20, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #1
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x21]
	ldr	w1, [x22]
Lloh4:
	adrp	x8, _Z_DEFAULT_COMPRESSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _Z_DEFAULT_COMPRESSION@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_def
	b	LBB0_6
LBB0_3:
	ldr	x0, [x19, #8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fputs
	mov	w19, #1
	b	LBB0_8
LBB0_5:
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_inf
LBB0_6:
	mov	x19, x0
Lloh14:
	adrp	x8, _Z_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_zerr
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.comm	_stdout,4,2                     ; @stdout
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ; @Z_DEFAULT_COMPRESSION
	.comm	_Z_OK,4,2                       ; @Z_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-d"

l_.str.1:                               ; @.str.1
	.asciz	"zpipe usage: zpipe [-d] < source > dest\n"

	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
