	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_page_info                 ## -- Begin function init_page_info
	.p2align	4, 0x90
_init_page_info:                        ## @init_page_info
	.cfi_startproc
## %bb.0:
	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
	xorl	%edi, %edi
	callq	_rl_reset_terminal
	leaq	-16(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_rl_get_screen_size
	movl	-16(%rbp), %eax
	movq	_lines_per_page@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	-12(%rbp), %eax
	movq	_chars_per_line@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_tgetnum
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ui_file_isatty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_5:
	xorl	%eax, %eax
	callq	_set_screen_size
	xorl	%eax, %eax
	callq	_set_width
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lines_per_page,4,2             ## @lines_per_page
	.comm	_chars_per_line,4,2             ## @chars_per_line
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"li"

L_.str.1:                               ## @.str.1
	.asciz	"EMACS"

	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.comm	_gdb_stdout,4,2                 ## @gdb_stdout
	.comm	_SIGWINCH,4,2                   ## @SIGWINCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_page_info                 ; -- Begin function init_page_info
	.p2align	2
_init_page_info:                        ; @init_page_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, #0
	bl	_rl_reset_terminal
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_rl_get_screen_size
Lloh0:
	adrp	x19, _lines_per_page@GOTPAGE
Lloh1:
	ldr	x19, [x19, _lines_per_page@GOTPAGEOFF]
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldr	w8, [sp, #8]
Lloh2:
	adrp	x9, _chars_per_line@GOTPAGE
Lloh3:
	ldr	x9, [x9, _chars_per_line@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tgetnum
Lloh7:
	adrp	x20, _UINT_MAX@GOTPAGE
Lloh8:
	ldr	x20, [x20, _UINT_MAX@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
LBB0_2:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_3:
Lloh11:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_ui_file_isatty
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_5:
	bl	_set_screen_size
	bl	_set_width
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_lines_per_page,4,2             ; @lines_per_page
	.comm	_chars_per_line,4,2             ; @chars_per_line
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"li"

l_.str.1:                               ; @.str.1
	.asciz	"EMACS"

	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.comm	_gdb_stdout,4,2                 ; @gdb_stdout
	.comm	_SIGWINCH,4,2                   ; @SIGWINCH
.subsections_via_symbols
