	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_crtc_update_sarea
_intel_crtc_update_sarea:               ## @intel_crtc_update_sarea
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	callq	_to_intel_crtc
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.2:
	movl	(%rax), %edi
	cmpl	$1, %edi
	je	LBB0_8
## %bb.3:
	testl	%edi, %edi
	jne	LBB0_13
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.6:
	movl	(%r15), %edx
	movl	4(%r15), %eax
	jmp	LBB0_7
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.10:
	movl	(%r15), %edx
	movl	4(%r15), %eax
	jmp	LBB0_11
LBB0_13:
	callq	_pipe_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	xorl	%edx, %edx
LBB0_7:
	movl	%eax, 12(%rcx)
	movl	%edx, 8(%rcx)
	jmp	LBB0_12
LBB0_9:
	xorl	%eax, %eax
	xorl	%edx, %edx
LBB0_11:
	movl	%eax, 4(%rcx)
	movl	%edx, (%rcx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't update pipe %c in SAREA\n"

	.no_dead_strip	_intel_crtc_update_sarea
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_crtc_update_sarea
_intel_crtc_update_sarea:               ; @intel_crtc_update_sarea
	.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	x21, [x0, #8]
	bl	_to_intel_crtc
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.2:
	ldr	w0, [x0]
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.3:
	cbnz	w0, LBB0_8
; %bb.4:
	cbz	w20, LBB0_9
; %bb.5:
	ldr	d0, [x19]
	str	d0, [x8, #8]
	b	LBB0_12
LBB0_6:
	cbz	w20, LBB0_10
; %bb.7:
	ldr	d0, [x19]
	b	LBB0_11
LBB0_8:
	bl	_pipe_name
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	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_ERROR
LBB0_9:
	movi.2d	v0, #0000000000000000
	str	d0, [x8, #8]
	b	LBB0_12
LBB0_10:
	movi.2d	v0, #0000000000000000
LBB0_11:
	str	d0, [x8]
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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't update pipe %c in SAREA\n"

	.no_dead_strip	_intel_crtc_update_sarea
.subsections_via_symbols
