	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function displback_changed
_displback_changed:                     ## @displback_changed
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	addq	$4, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_xenbus_strstate
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_xenbus_strstate
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_16
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_15:
	cmpl	$136, (%r15)
	jne	LBB0_3
	jmp	LBB0_16
LBB0_2:
	cmpl	$129, (%r15)
	je	LBB0_16
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_displback_disconnect           ## TAILCALL
LBB0_4:
	cmpl	$129, (%r15)
	je	LBB0_16
## %bb.5:
	movq	%r14, %rdi
	callq	_displback_disconnect
	cmpl	$131, (%r15)
	jne	LBB0_16
## %bb.6:
	movq	%r14, %rdi
	callq	_displback_initwait
	testl	%eax, %eax
	js	LBB0_7
## %bb.9:
	movq	%r15, %rdi
	movl	$132, %esi
	jmp	LBB0_10
LBB0_11:
	cmpl	$132, (%r15)
	jne	LBB0_16
## %bb.12:
	movq	%r14, %rdi
	callq	_displback_connect
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	movl	$134, %esi
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xenbus_switch_state            ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_displback_disconnect
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xenbus_dev_fatal               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Backend state is %s, front is %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"initializing frontend"

L_.str.2:                               ## @.str.2
	.asciz	"connecting backend"

	.no_dead_strip	_displback_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function displback_changed
_displback_changed:                     ; @displback_changed
	.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	x21, x1
	mov	x19, x0
	add	x0, x0, #4
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x0, x21
	bl	_xenbus_strstate
	mov	x22, x0
	ldr	w0, [x19]
	bl	_xenbus_strstate
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_DRM_DEBUG
	sub	w8, w21, #128
	cmp	w8, #8
	b.hi	LBB0_13
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #136
	b.ne	LBB0_4
	b	LBB0_13
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_13
LBB0_4:
	mov	x0, x20
	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
	b	_displback_disconnect
LBB0_5:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_13
; %bb.6:
	mov	x0, x20
	bl	_displback_disconnect
	ldr	w8, [x19]
	cmp	w8, #131
	b.ne	LBB0_13
; %bb.7:
	mov	x0, x20
	bl	_displback_initwait
	tbnz	w0, #31, LBB0_15
; %bb.8:
	mov	x0, x19
	mov	w1, #132
	b	LBB0_12
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, #132
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x20
	bl	_displback_connect
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	x0, x19
	mov	w1, #134
LBB0_12:
	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
	b	_xenbus_switch_state
LBB0_13:
	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
LBB0_14:
	mov	x21, x0
	mov	x0, x20
	bl	_displback_disconnect
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	b	LBB0_16
LBB0_15:
	mov	x1, x0
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_16:
	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
	b	_xenbus_dev_fatal
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Backend state is %s, front is %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"initializing frontend"

l_.str.2:                               ; @.str.2
	.asciz	"connecting backend"

	.no_dead_strip	_displback_changed
.subsections_via_symbols
