	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function status_store
_status_store:                          ## @status_store
	.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
	movq	%rcx, %r14
	movq	%rdx, %r13
	callq	_to_drm_connector
	movq	%rax, %rbx
	movq	24(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock_interruptible
	testl	%eax, %eax
	jne	LBB0_15
## %bb.1:
	movl	(%rbx), %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$0, (%rbx)
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
LBB0_13:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, %ecx
	callq	_DRM_DEBUG_KMS
	movq	8(%rbx), %rax
	movl	4(%r15), %edx
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_14:
	movq	%r15, %rdi
	callq	_mutex_unlock
	testl	%r13d, %r13d
	cmovnel	%r13d, %r14d
	movl	%r14d, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_DRM_FORCE_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_DRM_FORCE_ON_DIGITAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_sysfs_streq
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_DRM_FORCE_OFF@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r8d
	movl	%r8d, (%rbx)
	xorl	%r13d, %r13d
	cmpl	%r8d, %r12d
	jne	LBB0_13
LBB0_12:
	testl	%r8d, %r8d
	jne	LBB0_14
	jmp	LBB0_13
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movl	(%rbx), %r8d
	cmpl	%r8d, %r12d
	je	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detect"

L_.str.1:                               ## @.str.1
	.asciz	"on"

	.comm	_DRM_FORCE_ON,4,2               ## @DRM_FORCE_ON
L_.str.2:                               ## @.str.2
	.asciz	"on-digital"

	.comm	_DRM_FORCE_ON_DIGITAL,4,2       ## @DRM_FORCE_ON_DIGITAL
L_.str.3:                               ## @.str.3
	.asciz	"off"

	.comm	_DRM_FORCE_OFF,4,2              ## @DRM_FORCE_OFF
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"[CONNECTOR:%d:%s] force updated from %d to %d or reprobing\n"

	.no_dead_strip	_status_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function status_store
_status_store:                          ; @status_store
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x23, x2
	bl	_to_drm_connector
	mov	x21, x0
	ldr	x20, [x0, #24]
	mov	x0, x20
	bl	_mutex_lock_interruptible
	cbnz	w0, LBB0_13
; %bb.1:
	ldr	w22, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_sysfs_streq
	cbz	x0, LBB0_3
; %bb.2:
	mov	w23, #0
	mov	w4, #0
	str	wzr, [x21]
	b	LBB0_11
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_sysfs_streq
	cbz	x0, LBB0_5
; %bb.4:
	mov	w23, #0
Lloh4:
	adrp	x8, _DRM_FORCE_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DRM_FORCE_ON@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_sysfs_streq
	cbz	x0, LBB0_7
; %bb.6:
	mov	w23, #0
Lloh8:
	adrp	x8, _DRM_FORCE_ON_DIGITAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRM_FORCE_ON_DIGITAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_sysfs_streq
	cbz	x0, LBB0_14
; %bb.8:
	mov	w23, #0
Lloh12:
	adrp	x8, _DRM_FORCE_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DRM_FORCE_OFF@GOTPAGEOFF]
LBB0_9:
	ldr	w4, [x8]
	str	w4, [x21]
LBB0_10:
	cmp	w22, w4
	ccmp	w4, #0, #4, eq
	b.ne	LBB0_12
LBB0_11:
	ldp	w2, w1, [x21, #16]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x3, x22
	bl	_DRM_DEBUG_KMS
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldp	w2, w1, [x20, #4]
	mov	x0, x21
	blr	x8
LBB0_12:
	mov	x0, x20
	bl	_mutex_unlock
	cmp	w23, #0
	csel	w0, w19, w23, eq
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	w4, [x21]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detect"

l_.str.1:                               ; @.str.1
	.asciz	"on"

	.comm	_DRM_FORCE_ON,4,2               ; @DRM_FORCE_ON
l_.str.2:                               ; @.str.2
	.asciz	"on-digital"

	.comm	_DRM_FORCE_ON_DIGITAL,4,2       ; @DRM_FORCE_ON_DIGITAL
l_.str.3:                               ; @.str.3
	.asciz	"off"

	.comm	_DRM_FORCE_OFF,4,2              ; @DRM_FORCE_OFF
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"[CONNECTOR:%d:%s] force updated from %d to %d or reprobing\n"

	.no_dead_strip	_status_store
.subsections_via_symbols
