	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_zout_set_buffer_len         ## -- Begin function dl_zout_set_buffer_len
	.p2align	4, 0x90
_dl_zout_set_buffer_len:                ## @dl_zout_set_buffer_len
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	sete	%dil
	callq	_assert
	cmpl	%r14d, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_dl_zout_free_buffer
	movl	%r14d, 16(%rbx)
	xorl	%edi, %edi
	cmpl	$9, %r14d
	setge	%dil
	callq	_assert
	movslq	16(%rbx), %rdi
	callq	_dl_malloc
	movq	%rax, 8(%rbx)
	movl	16(%rbx), %r14d
LBB0_3:
	movq	%rax, (%rbx)
	movl	%r14d, 20(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_zout_set_buffer_len         ; -- Begin function dl_zout_set_buffer_len
	.p2align	2
_dl_zout_set_buffer_len:                ; @dl_zout_set_buffer_len
	.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	x20, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #16]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_dl_zout_free_buffer
	str	w20, [x19, #16]
	cmp	w20, #8
	cset	w0, gt
	bl	_assert
	ldrsw	x0, [x19, #16]
	bl	_dl_malloc
	str	x0, [x19, #8]
	ldr	w20, [x19, #16]
LBB0_3:
	str	x0, [x19]
	str	w20, [x19, #20]
	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
