	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_encoder_phys_vid_setup_irq_hw_idx
__dpu_encoder_phys_vid_setup_irq_hw_idx: ## @_dpu_encoder_phys_vid_setup_irq_hw_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	_INTR_IDX_VSYNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	jns	LBB0_2
## %bb.1:
	movl	(%rdi), %edx
	movl	%edx, 8(%rax,%rcx)
LBB0_2:
	movq	_INTR_IDX_UNDERRUN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	js	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdi), %edx
	movl	%edx, 8(%rax,%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_IDX_VSYNC,8,3             ## @INTR_IDX_VSYNC
	.comm	_INTR_IDX_UNDERRUN,8,3          ## @INTR_IDX_UNDERRUN
	.no_dead_strip	__dpu_encoder_phys_vid_setup_irq_hw_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_encoder_phys_vid_setup_irq_hw_idx
__dpu_encoder_phys_vid_setup_irq_hw_idx: ; @_dpu_encoder_phys_vid_setup_irq_hw_idx
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _INTR_IDX_VSYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTR_IDX_VSYNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	tbz	x10, #63, LBB0_2
; %bb.1:
	ldr	w10, [x0]
	add	x9, x8, x9, lsl #4
	str	w10, [x9, #8]
LBB0_2:
Lloh3:
	adrp	x9, _INTR_IDX_UNDERRUN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTR_IDX_UNDERRUN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	tbnz	x10, #63, LBB0_4
; %bb.3:
	ret
LBB0_4:
	ldr	w10, [x0]
	add	x8, x8, x9, lsl #4
	str	w10, [x8, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_IDX_VSYNC,8,3             ; @INTR_IDX_VSYNC
	.comm	_INTR_IDX_UNDERRUN,8,3          ; @INTR_IDX_UNDERRUN
	.no_dead_strip	__dpu_encoder_phys_vid_setup_irq_hw_idx
.subsections_via_symbols
