	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_fbdev_output_poll_changed ## -- Begin function intel_fbdev_output_poll_changed
	.p2align	4, 0x90
_intel_fbdev_output_poll_changed:       ## @intel_fbdev_output_poll_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_to_i915
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_intel_fbdev_sync
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	28(%rbx), %r15d
	movl	$1, (%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
	testl	%r15d, %r15d
	je	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, 16(%rbx)
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
LBB0_5:
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_fb_helper_hotplug_event    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_fbdev_output_poll_changed ; -- Begin function intel_fbdev_output_poll_changed
	.p2align	2
_intel_fbdev_output_poll_changed:       ; @intel_fbdev_output_poll_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
	bl	_to_i915
	ldr	x19, [x0]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_intel_fbdev_sync
	add	x20, x19, #24
	mov	x0, x20
	bl	_mutex_lock
	ldr	w21, [x19, #28]
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x20
	bl	_mutex_unlock
	cbz	w21, LBB0_3
LBB0_2:
	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_3:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
LBB0_5:
	add	x0, x19, #8
	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	_drm_fb_helper_hotplug_event
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
