	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_sdvo_get_capabilities
_intel_sdvo_get_capabilities:           ## @intel_sdvo_get_capabilities
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movl	$1, %r14d
	movl	$1, %edi
	callq	_BUILD_BUG_ON
	movq	_SDVO_CMD_GET_DEVICE_CAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	$48, %ecx
	callq	_intel_sdvo_get_value
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	44(%rbx), %esi
	movl	40(%rbx), %edx
	movl	36(%rbx), %ecx
	movl	32(%rbx), %r8d
	movl	28(%rbx), %r9d
	movl	24(%rbx), %r10d
	movl	20(%rbx), %r11d
	movl	16(%rbx), %r15d
	movl	12(%rbx), %r12d
	movl	8(%rbx), %r13d
	movl	(%rbx), %eax
	movl	4(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	pushq	%rax
	pushq	%rbx
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_DRM_DEBUG_KMS
	addq	$64, %rsp
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDVO_CMD_GET_DEVICE_CAPS,4,2   ## @SDVO_CMD_GET_DEVICE_CAPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDVO capabilities:\n  vendor_id: %d\n  device_id: %d\n  device_rev_id: %d\n  sdvo_version_major: %d\n  sdvo_version_minor: %d\n  sdvo_inputs_mask: %d\n  smooth_scaling: %d\n  sharp_scaling: %d\n  up_scaling: %d\n  down_scaling: %d\n  stall_support: %d\n  output_flags: %d\n"

	.no_dead_strip	_intel_sdvo_get_capabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_sdvo_get_capabilities
_intel_sdvo_get_capabilities:           ; @intel_sdvo_get_capabilities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	mov	w0, #1
	bl	_BUILD_BUG_ON
Lloh0:
	adrp	x8, _SDVO_CMD_GET_DEVICE_CAPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDVO_CMD_GET_DEVICE_CAPS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #48
	bl	_intel_sdvo_get_value
	cbz	w0, LBB0_2
; %bb.1:
	ldp	w2, w1, [x19, #40]
	ldp	w4, w3, [x19, #32]
	ldp	w6, w5, [x19, #24]
	ldp	w8, w7, [x19, #16]
	ldp	w10, w9, [x19, #8]
	ldp	w12, w11, [x19]
	stp	w11, w12, [sp, #12]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SDVO_CMD_GET_DEVICE_CAPS,4,2   ; @SDVO_CMD_GET_DEVICE_CAPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDVO capabilities:\n  vendor_id: %d\n  device_id: %d\n  device_rev_id: %d\n  sdvo_version_major: %d\n  sdvo_version_minor: %d\n  sdvo_inputs_mask: %d\n  smooth_scaling: %d\n  sharp_scaling: %d\n  up_scaling: %d\n  down_scaling: %d\n  stall_support: %d\n  output_flags: %d\n"

	.no_dead_strip	_intel_sdvo_get_capabilities
.subsections_via_symbols
