	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_terminal_info            ## -- Begin function child_terminal_info
	.p2align	4, 0x90
_child_terminal_info:                   ## @child_terminal_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_gdb_has_a_terminal
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movq	_tflags_inferior@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movl	%ebx, %eax
	andb	$-125, %al
	addb	$-128, %al
	cmpb	$2, %al
	ja	LBB0_3
## %bb.2:
	movsbq	%al, %rax
	leaq	l_reltable.child_terminal_info(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdi
	addq	%rcx, %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
LBB0_3:
	andl	$-132, %ebx
	movq	_O_APPEND@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%ebx, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movl	(%r14), %eax
LBB0_5:
	notl	%eax
	andl	%eax, %ebx
	je	LBB0_7
## %bb.6:
	leaq	L_.str.7(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf_filtered
LBB0_7:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_filtered
	movq	_stdin_serial@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_inferior_ttystate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_serial_print_tty_state         ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printf_filtered                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This GDB does not control a terminal.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Inferior's terminal status (currently saved by GDB):\n"

	.comm	_tflags_inferior,4,2            ## @tflags_inferior
L_.str.2:                               ## @.str.2
	.asciz	"File descriptor flags = "

L_.str.3:                               ## @.str.3
	.asciz	"O_RDONLY"

L_.str.4:                               ## @.str.4
	.asciz	"O_WRONLY"

L_.str.5:                               ## @.str.5
	.asciz	"O_RDWR"

	.comm	_O_APPEND,4,2                   ## @O_APPEND
L_.str.6:                               ## @.str.6
	.asciz	" | O_APPEND"

L_.str.7:                               ## @.str.7
	.asciz	" | 0x%x"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

	.comm	_stdin_serial,4,2               ## @stdin_serial
	.comm	_inferior_ttystate,4,2          ## @inferior_ttystate
	.comm	_gdb_stdout,4,2                 ## @gdb_stdout
	.comm	_O_ACCMODE,4,2                  ## @O_ACCMODE
	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_O_NDELAY,4,2                   ## @O_NDELAY
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_inferior_process_group,8,3     ## @inferior_process_group
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.child_terminal_info
l_reltable.child_terminal_info:
	.long	L_.str.4-l_reltable.child_terminal_info
	.long	L_.str.5-l_reltable.child_terminal_info
	.long	L_.str.3-l_reltable.child_terminal_info

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_child_terminal_info            ; -- Begin function child_terminal_info
	.p2align	2
_child_terminal_info:                   ; @child_terminal_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
	bl	_gdb_has_a_terminal
	cbz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf_filtered
Lloh2:
	adrp	x8, _tflags_inferior@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tflags_inferior@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf_filtered
	sxtb	x8, w19
	and	x8, x8, #0xffffffffffffff83
	eor	x8, x8, #0xffffffffffffff80
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
Lloh7:
	adrp	x9, l_switch.table.child_terminal_info@PAGE
Lloh8:
	add	x9, x9, l_switch.table.child_terminal_info@PAGEOFF
	ldr	x0, [x9, x8, lsl #3]
	bl	_printf_filtered
LBB0_3:
	mov	w8, #-132
	and	w19, w19, w8
Lloh9:
	adrp	x20, _O_APPEND@GOTPAGE
Lloh10:
	ldr	x20, [x20, _O_APPEND@GOTPAGEOFF]
	ldr	w8, [x20]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x0, l_.str.6@PAGE
Lloh12:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf_filtered
	ldr	w8, [x20]
LBB0_5:
	bics	w8, w19, w8
	b.eq	LBB0_7
; %bb.6:
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.7@PAGE
Lloh14:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf_filtered
LBB0_7:
Lloh15:
	adrp	x0, l_.str.8@PAGE
Lloh16:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf_filtered
Lloh17:
	adrp	x8, _stdin_serial@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stdin_serial@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _inferior_ttystate@GOTPAGE
Lloh21:
	ldr	x8, [x8, _inferior_ttystate@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh24:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_serial_print_tty_state
LBB0_8:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_printf_filtered
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This GDB does not control a terminal.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Inferior's terminal status (currently saved by GDB):\n"

	.comm	_tflags_inferior,4,2            ; @tflags_inferior
l_.str.2:                               ; @.str.2
	.asciz	"File descriptor flags = "

l_.str.3:                               ; @.str.3
	.asciz	"O_RDONLY"

l_.str.4:                               ; @.str.4
	.asciz	"O_WRONLY"

l_.str.5:                               ; @.str.5
	.asciz	"O_RDWR"

	.comm	_O_APPEND,4,2                   ; @O_APPEND
l_.str.6:                               ; @.str.6
	.asciz	" | O_APPEND"

l_.str.7:                               ; @.str.7
	.asciz	" | 0x%x"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

	.comm	_stdin_serial,4,2               ; @stdin_serial
	.comm	_inferior_ttystate,4,2          ; @inferior_ttystate
	.comm	_gdb_stdout,4,2                 ; @gdb_stdout
	.comm	_O_ACCMODE,4,2                  ; @O_ACCMODE
	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_O_NDELAY,4,2                   ; @O_NDELAY
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_inferior_process_group,8,3     ; @inferior_process_group
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.child_terminal_info
l_switch.table.child_terminal_info:
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.3

.subsections_via_symbols
