	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_writing_buffer
_get_writing_buffer:                    ## @get_writing_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jae	LBB0_1
## %bb.3:
	popq	%rbp
	jmp	_get_current_visible_buffer     ## TAILCALL
LBB0_1:
	cmpl	$132, %eax
	jne	LBB0_4
## %bb.2:
	popq	%rbp
	jmp	_get_current_hidden_buffer      ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_hb_error
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Caption mode has an illegal value at get_writing_buffer(), this is a bug."

	.no_dead_strip	_get_writing_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_writing_buffer
_get_writing_buffer:                    ; @get_writing_buffer
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w8, [x8]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_get_current_visible_buffer
LBB0_2:
	cmp	w8, #132
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_get_current_hidden_buffer
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_error
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Caption mode has an illegal value at get_writing_buffer(), this is a bug."

	.no_dead_strip	_get_writing_buffer
.subsections_via_symbols
