	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzerror                        ## -- Begin function gzerror
	.p2align	4, 0x90
_gzerror:                               ## @gzerror
	.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_4
## %bb.1:
	movq	(%rdi), %rax
	movq	_GZ_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_GZ_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movl	8(%rdi), %eax
	movl	%eax, (%rsi)
LBB0_7:
	movl	8(%rdi), %eax
	movq	_Z_MEM_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
LBB0_9:
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	leaq	L_.str.1(%rip), %rax
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GZ_READ,8,3                    ## @GZ_READ
	.comm	_GZ_WRITE,8,3                   ## @GZ_WRITE
	.comm	_Z_MEM_ERROR,4,2                ## @Z_MEM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzerror                        ; -- Begin function gzerror
	.p2align	2
_gzerror:                               ; @gzerror
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %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_6
; %bb.2:
	cbz	x1, LBB0_4
; %bb.3:
	ldr	w8, [x0, #8]
	str	w8, [x1]
LBB0_4:
	ldr	w8, [x0, #8]
Lloh6:
	adrp	x9, _Z_MEM_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _Z_MEM_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ret
LBB0_6:
	mov	x0, #0
	ret
LBB0_7:
	ldr	x8, [x0, #16]
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x0, x9, x8, eq
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GZ_READ,8,3                    ; @GZ_READ
	.comm	_GZ_WRITE,8,3                   ; @GZ_WRITE
	.comm	_Z_MEM_ERROR,4,2                ; @Z_MEM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
