	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzvprintf                      ## -- Begin function gzvprintf
	.p2align	4, 0x90
_gzvprintf:                             ## @gzvprintf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_GZ_WRITE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.3:
	movq	8(%rbx), %rax
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.4:
	movl	%edx, %r15d
	movq	%rsi, %r12
	cmpq	$0, 32(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_gz_init
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_6:
	cmpq	$0, 48(%rbx)
	je	LBB0_8
## %bb.7:
	movq	$0, 48(%rbx)
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	callq	_gz_zero
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_8:
	cmpl	$0, 56(%rbx)
	je	LBB0_10
## %bb.9:
	movq	_Z_NO_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_gz_comp
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_10:
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rsi
	movq	%rsi, %rax
	shlq	$32, %rax
	movabsq	$-4294967296, %r13              ## imm = 0xFFFFFFFF00000000
	addq	%rax, %r13
	movq	%r13, %rax
	sarq	$29, %rax
	movq	$0, (%rdi,%rax)
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_vsnprintf
	testl	%eax, %eax
	jle	LBB0_14
## %bb.11:
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_14
## %bb.12:
	sarq	$32, %r13
	movq	16(%rbx), %rcx
	cmpq	$0, (%rcx,%r13,8)
	jne	LBB0_14
## %bb.13:
	movl	%eax, 56(%rbx)
	movq	%rcx, 64(%rbx)
	addl	%eax, 24(%rbx)
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_1:
	movl	$-1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GZ_WRITE,8,3                   ## @GZ_WRITE
	.comm	_Z_OK,8,3                       ## @Z_OK
	.comm	_Z_NO_FLUSH,4,2                 ## @Z_NO_FLUSH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gzvprintf                      ; -- Begin function gzvprintf
	.p2align	2
_gzvprintf:                             ; @gzvprintf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GZ_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GZ_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.2:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _Z_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Z_OK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.3:
	mov	x20, x2
	mov	x21, x1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_gz_init
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_5:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_7
; %bb.6:
	str	xzr, [x19, #48]
	ldr	w1, [x19, #40]
	mov	x0, x19
	bl	_gz_zero
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_7:
	ldr	w8, [x19, #56]
	cbz	w8, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _Z_NO_FLUSH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Z_NO_FLUSH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_gz_comp
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_9:
	ldr	x22, [x19, #32]
	ldr	x0, [x19, #16]
	mov	x8, #-4294967296
	add	x23, x8, x22, lsl #32
	asr	x8, x23, #29
	str	xzr, [x0, x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_vsnprintf
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:
	cmp	w8, w22
	b.ge	LBB0_14
; %bb.11:
	asr	x10, x23, #32
	ldr	x9, [x19, #16]
	ldr	x10, [x9, x10, lsl #3]
	cbz	x10, LBB0_15
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #-1
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	str	w8, [x19, #56]
	str	x9, [x19, #64]
	ldr	w9, [x19, #24]
	add	w9, w9, w8
	str	w9, [x19, #24]
	mov	x0, x8
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GZ_WRITE,8,3                   ; @GZ_WRITE
	.comm	_Z_OK,8,3                       ; @Z_OK
	.comm	_Z_NO_FLUSH,4,2                 ; @Z_NO_FLUSH
.subsections_via_symbols
