	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_fwrite                      ## -- Begin function hc_fwrite
	.p2align	4, 0x90
_hc_fwrite:                             ## @hc_fwrite
	.cfi_startproc
## %bb.0:
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	cmpq	$0, 24(%rcx)
	je	LBB0_4
## %bb.3:
	movl	16(%rcx), %ecx
	movq	%rbx, %rdx
	callq	_gzfwrite
	jmp	LBB0_6
LBB0_1:
	movq	$-1, %rax
	retq
LBB0_4:
	movq	$-1, %rax
	cmpq	$0, 8(%rcx)
	jne	LBB0_6
## %bb.5:
	movl	(%rcx), %ecx
	movq	%rbx, %rdx
	callq	_fwrite
LBB0_6:
	cmpq	%rbx, %rax
	movq	$-1, %rcx
	cmoveq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	movq	%rcx, %rax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hc_fwrite                      ; -- Begin function hc_fwrite
	.p2align	2
_hc_fwrite:                             ; @hc_fwrite
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_3
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_remember_state
	mov	x19, x2
	ldr	x8, [x3, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w3, [x3, #16]
	mov	x2, x19
	bl	_gzfwrite
	b	LBB0_7
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	x0, #-1
	ret
LBB0_4:
	.cfi_restore_state
	ldr	x8, [x3, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, #-1
	b	LBB0_7
LBB0_6:
	ldr	w3, [x3]
	mov	x2, x19
	bl	_fwrite
LBB0_7:
	cmp	x0, x19
	csinv	x0, x0, xzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
