	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_fb_helper_dpms
_drm_fb_helper_dpms:                    ## @drm_fb_helper_dpms
	.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	_oops_in_progress@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r15d
	movq	(%rdi), %r12
	movq	24(%r12), %r14
	movq	%r14, %rdi
	callq	_drm_modeset_lock_all
	movq	%r12, %rdi
	callq	_drm_fb_helper_is_bound
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	16(%r12), %rcx
	movq	(%rcx,%rdx,8), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r12)
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rax)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_drm_object_property_set_value
	incq	%r13
	movslq	4(%r12), %rax
	cmpq	%rax, %r13
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_modeset_unlock_all         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_oops_in_progress,8,3           ## @oops_in_progress
	.no_dead_strip	_drm_fb_helper_dpms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_fb_helper_dpms
_drm_fb_helper_dpms:                    ; @drm_fb_helper_dpms
	.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
Lloh0:
	adrp	x8, _oops_in_progress@GOTPAGE
Lloh1:
	ldr	x8, [x8, _oops_in_progress@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	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_2:
	mov	x19, x1
	ldr	x20, [x0]
	ldr	x21, [x20, #24]
	mov	x0, x21
	bl	_drm_modeset_lock_all
	mov	x0, x20
	bl	_drm_fb_helper_is_bound
	cbz	w0, LBB0_11
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x20, #16]
	ldr	x9, [x9, x23, lsl #3]
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x20, #4]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, #0
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x22, [x8]
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x19
	blr	x8
	ldr	w1, [x21]
	mov	x0, x22
	mov	x2, x19
	bl	_drm_object_property_set_value
	add	x24, x24, #1
	ldrsw	x8, [x20, #4]
	cmp	x24, x8
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	b	LBB0_5
LBB0_11:
	mov	x0, x21
	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
	b	_drm_modeset_unlock_all
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_oops_in_progress,8,3           ; @oops_in_progress
	.no_dead_strip	_drm_fb_helper_dpms
.subsections_via_symbols
