	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_screen_size
_set_screen_size:                       ## @set_screen_size
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_lines_per_page@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_chars_per_line@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -20(%rbp)
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%esi, %esi
	jg	LBB0_2
## %bb.1:
	leaq	-20(%rbp), %rsi
	xorl	%edi, %edi
	callq	_rl_get_screen_size
	movl	-20(%rbp), %esi
LBB0_2:
	testl	%r14d, %r14d
	cmovgl	%r14d, %ebx
	movl	%ebx, %edi
	callq	_rl_set_screen_size
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_set_screen_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_screen_size
_set_screen_size:                       ; @set_screen_size
	.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
Lloh0:
	adrp	x8, _lines_per_page@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lines_per_page@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _chars_per_line@GOTPAGE
Lloh4:
	ldr	x8, [x8, _chars_per_line@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	w1, [sp, #12]
Lloh6:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	cmp	w1, #0
	b.gt	LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, #0
	bl	_rl_get_screen_size
	ldr	w1, [sp, #12]
LBB0_2:
	cmp	w19, #1
	csel	w0, w20, w19, lt
	bl	_rl_set_screen_size
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lines_per_page,4,2             ; @lines_per_page
	.comm	_chars_per_line,4,2             ; @chars_per_line
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_set_screen_size
.subsections_via_symbols
