	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_sequence
_handle_sequence:                       ## @handle_sequence
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	%rsi, (%rdi)
	jne	LBB0_2
## %bb.1:
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	movq	_getmonitors_reply@GOTPCREL(%rip), %rbx
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
	cmpq	%r14, 8(%r15)
	jne	LBB0_5
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_getoutputinfo_reply@GOTPCREL(%rip), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_4:
	leaq	8(%rbx), %r12
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	movq	(%r12), %rsi
	movq	%r14, (%rsi)
	movq	16(%r15), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	callq	_writeall
	movl	%eax, %edi
	callq	_must_write
	movl	$1, %r12d
LBB0_5:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_getmonitors_reply,16,3         ## @getmonitors_reply
	.comm	_getoutputinfo_reply,16,3       ## @getoutputinfo_reply
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"RRGetOutputInfo reply!"

L_str.4:                                ## @str.4
	.asciz	"RRGetMonitors reply!"

L_str.5:                                ## @str.5
	.asciz	"injecting reply"

	.no_dead_strip	_handle_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_sequence
_handle_sequence:                       ; @handle_sequence
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_str.4@PAGE
Lloh1:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x21, _getmonitors_reply@GOTPAGE
Lloh3:
	ldr	x21, [x21, _getmonitors_reply@GOTPAGEOFF]
	mov	x22, x21
	ldr	x8, [x22, #8]!
	cbnz	x8, LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.ne	LBB0_5
; %bb.3:
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x21, _getoutputinfo_reply@GOTPAGE
Lloh7:
	ldr	x21, [x21, _getoutputinfo_reply@GOTPAGEOFF]
	mov	x22, x21
	ldr	x8, [x22, #8]!
	cbz	x8, LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_str.5@PAGE
Lloh9:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	ldr	x1, [x22]
	str	x20, [x1]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w2, [x21]
	bl	_writeall
	bl	_must_write
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_getmonitors_reply,16,3         ; @getmonitors_reply
	.comm	_getoutputinfo_reply,16,3       ; @getoutputinfo_reply
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"RRGetOutputInfo reply!"

l_str.4:                                ; @str.4
	.asciz	"RRGetMonitors reply!"

l_str.5:                                ; @str.5
	.asciz	"injecting reply"

	.no_dead_strip	_handle_sequence
.subsections_via_symbols
