	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function condition
_condition:                             ## @condition
	.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
	movl	%edi, %r14d
	movq	_qsize@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, -20(%rbp)
	movq	_TIOCSQSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.2:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_3:
	movq	_TIOCGQSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_5:
	movl	-20(%rbp), %ecx
	movl	(%rbx), %edx
	cmpl	%edx, %ecx
	je	LBB0_7
## %bb.6:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_7:
	leaq	-24(%rbp), %rsi
	movl	%r14d, %edi
	callq	_tcgetattr
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_9:
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_cfmakeraw
	movq	_B921600@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cfsetspeed
	movq	_TCSANOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_tcsetattr
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_err
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qsize,4,2                      ## @qsize
	.comm	_TIOCSQSIZE,4,2                 ## @TIOCSQSIZE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't set tty(4) buffer size"

	.comm	_TIOCGQSIZE,4,2                 ## @TIOCGQSIZE
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't get tty(4) buffer size"

L_.str.2:                               ## @.str.2
	.asciz	"Wrong qsize %d != %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"tcgetattr()"

	.comm	_B921600,4,2                    ## @B921600
	.comm	_TCSANOW,4,2                    ## @TCSANOW
L_.str.4:                               ## @.str.4
	.asciz	"tcsetattr()"

	.no_dead_strip	_condition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function condition
_condition:                             ; @condition
	.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	x19, x0
Lloh0:
	adrp	x20, _qsize@GOTPAGE
Lloh1:
	ldr	x20, [x20, _qsize@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.1:
	str	w8, [sp, #4]
Lloh2:
	adrp	x8, _TIOCSQSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIOCSQSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #4
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_3:
Lloh10:
	adrp	x8, _TIOCGQSIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TIOCGQSIZE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #4
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh13:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_5:
	ldr	w3, [sp, #4]
	ldr	w2, [x20]
	cmp	w3, w2
	b.eq	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_tcgetattr
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh23:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_9:
	add	x0, sp, #8
	bl	_cfmakeraw
Lloh28:
	adrp	x8, _B921600@GOTPAGE
Lloh29:
	ldr	x8, [x8, _B921600@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_cfsetspeed
Lloh31:
	adrp	x8, _TCSANOW@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TCSANOW@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_tcsetattr
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh34:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_err
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_qsize,4,2                      ; @qsize
	.comm	_TIOCSQSIZE,4,2                 ; @TIOCSQSIZE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't set tty(4) buffer size"

	.comm	_TIOCGQSIZE,4,2                 ; @TIOCGQSIZE
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't get tty(4) buffer size"

l_.str.2:                               ; @.str.2
	.asciz	"Wrong qsize %d != %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"tcgetattr()"

	.comm	_B921600,4,2                    ; @B921600
	.comm	_TCSANOW,4,2                    ; @TCSANOW
l_.str.4:                               ; @.str.4
	.asciz	"tcsetattr()"

	.no_dead_strip	_condition
.subsections_via_symbols
