	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psb_intel_sdvo_debug_write
_psb_intel_sdvo_debug_write:            ## @psb_intel_sdvo_debug_write
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, %r15
	callq	_SDVO_NAME
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %ebx
	leaq	L_.str.1(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	incq	%r14
	cmpq	%r14, %rbx
	jne	LBB0_2
## %bb.3:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	cmpl	$7, %eax
	ja	LBB0_6
LBB0_4:
	addl	$-8, %ebx
	leaq	L_.str.2(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	incl	%ebx
	jne	LBB0_5
LBB0_6:
	movq	_sdvo_cmd_names@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	cmpq	%r15, -8(%rdi,%rbx)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r12
	jl	LBB0_9
	jmp	LBB0_12
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_10:
	movl	(%rdi,%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
LBB0_12:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEBUG_KMS                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: W: %02X "

L_.str.1:                               ## @.str.1
	.asciz	"%02X "

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

	.comm	_sdvo_cmd_names,8,3             ## @sdvo_cmd_names
L_.str.3:                               ## @.str.3
	.asciz	"(%s)"

L_.str.4:                               ## @.str.4
	.asciz	"(%02X)"

L_.str.5:                               ## @.str.5
	.asciz	"\n"

	.no_dead_strip	_psb_intel_sdvo_debug_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psb_intel_sdvo_debug_write
_psb_intel_sdvo_debug_write:            ; @psb_intel_sdvo_debug_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_SDVO_NAME
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, w20
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21], #8
	str	x8, [sp]
	mov	x0, x22
	bl	_DRM_DEBUG_KMS
	subs	x23, x23, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	w20, #7
	b.ls	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w20, #0
LBB0_5:
	sub	w21, w20, #8
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_DRM_DEBUG_KMS
	adds	w21, w21, #1
	b.lo	LBB0_6
LBB0_7:
Lloh6:
	adrp	x20, _sdvo_cmd_names@GOTPAGE
Lloh7:
	ldr	x20, [x20, _sdvo_cmd_names@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x22, #0
	mov	x21, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x8, [x0, x22]
	cmp	x8, x19
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	add	x22, x22, #16
	cmp	x21, w0, sxtw
	b.lt	LBB0_9
	b	LBB0_13
LBB0_11:
	mov	w21, #0
	b	LBB0_13
LBB0_12:
	add	x8, x0, x22
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_13:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.ne	LBB0_15
; %bb.14:
	str	x19, [sp]
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_15:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_DRM_DEBUG_KMS
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: W: %02X "

l_.str.1:                               ; @.str.1
	.asciz	"%02X "

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

	.comm	_sdvo_cmd_names,8,3             ; @sdvo_cmd_names
l_.str.3:                               ; @.str.3
	.asciz	"(%s)"

l_.str.4:                               ; @.str.4
	.asciz	"(%02X)"

l_.str.5:                               ; @.str.5
	.asciz	"\n"

	.no_dead_strip	_psb_intel_sdvo_debug_write
.subsections_via_symbols
