	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv748x_hdmi_set_de_timings
_adv748x_hdmi_set_de_timings:           ## @adv748x_hdmi_set_de_timings
	.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	%esi, %ebx
	movq	%rdi, %r15
	movq	_ADV748X_CP_DE_POS_HIGH_SET@GOTPCREL(%rip), %rax
	movzbl	%bl, %r14d
	andl	$768, %ebx                      ## imm = 0x300
	movl	%ebx, %r12d
	shrl	$8, %r12d
	orl	(%rax), %r12d
	movq	_ADV748X_CP_DE_POS_HIGH@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r12d, %edx
	callq	_cp_write
	movq	_ADV748X_CP_DE_POS_END_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_cp_write
	shrl	$6, %ebx
	orl	%r12d, %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_cp_write
	movq	_ADV748X_CP_DE_POS_START_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cp_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADV748X_CP_DE_POS_HIGH_SET,4,2 ## @ADV748X_CP_DE_POS_HIGH_SET
	.comm	_ADV748X_CP_DE_POS_HIGH,4,2     ## @ADV748X_CP_DE_POS_HIGH
	.comm	_ADV748X_CP_DE_POS_END_LOW,4,2  ## @ADV748X_CP_DE_POS_END_LOW
	.comm	_ADV748X_CP_DE_POS_START_LOW,4,2 ## @ADV748X_CP_DE_POS_START_LOW
	.no_dead_strip	_adv748x_hdmi_set_de_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv748x_hdmi_set_de_timings
_adv748x_hdmi_set_de_timings:           ; @adv748x_hdmi_set_de_timings
	.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, x0
Lloh0:
	adrp	x8, _ADV748X_CP_DE_POS_HIGH_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADV748X_CP_DE_POS_HIGH_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w1, #0x300
	orr	w20, w8, w22, lsr #8
	and	w21, w1, #0xff
Lloh3:
	adrp	x23, _ADV748X_CP_DE_POS_HIGH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ADV748X_CP_DE_POS_HIGH@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x2, x20
	bl	_cp_write
Lloh5:
	adrp	x8, _ADV748X_CP_DE_POS_END_LOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADV748X_CP_DE_POS_END_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_cp_write
	orr	w2, w20, w22, lsr #6
	ldr	w1, [x23]
	mov	x0, x19
	bl	_cp_write
Lloh8:
	adrp	x8, _ADV748X_CP_DE_POS_START_LOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ADV748X_CP_DE_POS_START_LOW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, 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	_cp_write
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADV748X_CP_DE_POS_HIGH_SET,4,2 ; @ADV748X_CP_DE_POS_HIGH_SET
	.comm	_ADV748X_CP_DE_POS_HIGH,4,2     ; @ADV748X_CP_DE_POS_HIGH
	.comm	_ADV748X_CP_DE_POS_END_LOW,4,2  ; @ADV748X_CP_DE_POS_END_LOW
	.comm	_ADV748X_CP_DE_POS_START_LOW,4,2 ; @ADV748X_CP_DE_POS_START_LOW
	.no_dead_strip	_adv748x_hdmi_set_de_timings
.subsections_via_symbols
