	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzclearerr                     ## -- Begin function gzclearerr
	.p2align	4, 0x90
_gzclearerr:                            ## @gzclearerr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	(%rdi), %rax
	movq	_GZ_READ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_3
## %bb.2:
	movq	_GZ_WRITE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_3
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	cmpq	%rcx, %rax
	jne	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
LBB0_5:
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_gz_error                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GZ_READ,8,3                    ## @GZ_READ
	.comm	_GZ_WRITE,8,3                   ## @GZ_WRITE
	.comm	_Z_OK,4,2                       ## @Z_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzclearerr                     ; -- Begin function gzclearerr
	.p2align	2
_gzclearerr:                            ; @gzclearerr
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GZ_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GZ_READ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _GZ_WRITE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GZ_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.2:
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	stp	xzr, xzr, [x0, #8]
LBB0_4:
Lloh6:
	adrp	x8, _Z_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, #0
	b	_gz_error
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GZ_READ,8,3                    ; @GZ_READ
	.comm	_GZ_WRITE,8,3                   ; @GZ_WRITE
	.comm	_Z_OK,4,2                       ; @Z_OK
.subsections_via_symbols
