	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function general_608_init
_general_608_init:                      ## @general_608_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 56(%rbx)
	jne	LBB0_6
LBB0_2:
	movl	$2048, %edi                     ## imm = 0x800
	callq	_malloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_4:
	movq	_INITIAL_ENC_BUFFER_CAPACITY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	cmpq	$0, 56(%rbx)
	je	LBB0_2
LBB0_6:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 12(%rbx)
	movq	$0, 48(%rbx)
	leaq	40(%rbx), %rdi
	callq	_hb_buffer_list_clear
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_8:
	movl	$-1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INITIAL_ENC_BUFFER_CAPACITY,4,2 ## @INITIAL_ENC_BUFFER_CAPACITY
	.no_dead_strip	_general_608_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function general_608_init
_general_608_init:                      ; @general_608_init
	.cfi_startproc
; %bb.0:
	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
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_5
LBB0_2:
	mov	w0, #2048
	bl	_malloc
	str	x0, [x19, #56]
	cbnz	x0, LBB0_5
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x20, _INITIAL_ENC_BUFFER_CAPACITY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _INITIAL_ENC_BUFFER_CAPACITY@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x19, #8]
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_2
LBB0_5:
	movi.2s	v0, #1
	stur	d0, [x19, #12]
	str	xzr, [x19, #48]
	add	x0, x19, #40
	bl	_hb_buffer_list_clear
	mov	w0, #0
	stp	xzr, xzr, [x19, #24]
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INITIAL_ENC_BUFFER_CAPACITY,4,2 ; @INITIAL_ENC_BUFFER_CAPACITY
	.no_dead_strip	_general_608_init
.subsections_via_symbols
