	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch7006_encoder_create_resources
_ch7006_encoder_create_resources:       ## @ch7006_encoder_create_resources
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_to_ch7006_priv
	movq	%rax, %r15
	movq	(%rbx), %rbx
	movq	_NUM_TV_NORMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ch7006_tv_norm_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_drm_mode_create_tv_properties
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	callq	_drm_property_create_range
	movl	%eax, 4(%r15)
	movl	28(%rbx), %esi
	movl	36(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	24(%rbx), %esi
	movl	32(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	20(%rbx), %esi
	movl	28(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	16(%rbx), %esi
	movl	24(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	12(%rbx), %esi
	movl	20(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	8(%rbx), %esi
	movl	16(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	4(%rbx), %esi
	movl	12(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	(%rbx), %esi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%r14, %rdi
	callq	_drm_object_attach_property
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_TV_NORMS,4,2               ## @NUM_TV_NORMS
	.comm	_ch7006_tv_norm_names,4,2       ## @ch7006_tv_norm_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scale"

	.no_dead_strip	_ch7006_encoder_create_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ch7006_encoder_create_resources
_ch7006_encoder_create_resources:       ; @ch7006_encoder_create_resources
	.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	x19, x1
	mov	x21, x0
	bl	_to_ch7006_priv
	mov	x20, x0
	ldr	x21, [x21]
Lloh0:
	adrp	x8, _NUM_TV_NORMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_TV_NORMS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ch7006_tv_norm_names@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ch7006_tv_norm_names@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_drm_mode_create_tv_properties
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	mov	w3, #0
	mov	w4, #2
	bl	_drm_property_create_range
	str	w0, [x20, #4]
	ldr	w1, [x21, #28]
	ldr	w2, [x20, #36]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #24]
	ldr	w2, [x20, #32]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #20]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #16]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #12]
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21, #4]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldr	w1, [x21]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_drm_object_attach_property
	ldp	w2, w1, [x20]
	mov	x0, x19
	bl	_drm_object_attach_property
	mov	w0, #0
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_TV_NORMS,4,2               ; @NUM_TV_NORMS
	.comm	_ch7006_tv_norm_names,4,2       ; @ch7006_tv_norm_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scale"

	.no_dead_strip	_ch7006_encoder_create_resources
.subsections_via_symbols
