	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_display
_enable_display:                        ## @enable_display
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	movq	%rdi, %r14
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_22
## %bb.5:
	movq	_display_chain@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r15
	movabsq	$4294967809, %r13               ## imm = 0x100000201
	movq	%r14, %rbx
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	leal	-48(%rax), %ecx
	cmpb	$10, %cl
	jb	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$32, %al
	ja	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movzbl	%al, %eax
	btq	%rax, %r13
	jb	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_atoi
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%eax, 4(%rcx)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_printf_unfiltered
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, (%rcx)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=2
	incq	%rbx
LBB0_19:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$9, %al
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpb	$32, %al
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	%al, %al
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %r14
	jmp	LBB0_7
LBB0_1:
	movq	_display_chain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_22
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rax)
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_display_chain,8,3              ## @display_chain
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Arguments must be display numbers."

L_.str.1:                               ## @.str.1
	.asciz	"No display number %d.\n"

	.no_dead_strip	_enable_display
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_display
_enable_display:                        ; @enable_display
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_19
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_22
; %bb.2:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _display_chain@GOTPAGE
Lloh3:
	ldr	x22, [x22, _display_chain@GOTPAGEOFF]
	mov	w23, #1
	mov	x24, #513
	movk	x24, #1, lsl #32
	mov	x25, x21
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25, #1]!
	sub	w9, w8, #48
	cmp	w9, #10
	b.lo	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #32
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, w8
	lsl	x8, x23, x8
	tst	x8, x24
	b.ne	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_error
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_atoi
	mov	x1, x0
	ldr	x8, [x22]
	cbz	x8, LBB0_12
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x8, #4]
	cmp	w9, w1
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_printf_unfiltered
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w23, [x8]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x25, x25, #1
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25]
	cmp	w8, #9
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #32
	b.eq	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	w8, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x25
	b	LBB0_3
LBB0_19:
Lloh6:
	adrp	x8, _display_chain@GOTPAGE
Lloh7:
	ldr	x8, [x8, _display_chain@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_22
; %bb.20:
	mov	w9, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	str	w9, [x8]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_21
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_display_chain,8,3              ; @display_chain
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Arguments must be display numbers."

l_.str.1:                               ; @.str.1
	.asciz	"No display number %d.\n"

	.no_dead_strip	_enable_display
.subsections_via_symbols
