	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpfe_attach_irq
_vpfe_attach_irq:                       ## @vpfe_attach_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_VPFE_VDINT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_vpfe_ccdc_get_frame_format
	movq	_CCDC_FRMFMT_PROGRESSIVE@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_VPFE_VDINT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	orl	%r14d, %esi
	movq	_VPFE_IRQ_EN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vpfe_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VPFE_VDINT0,4,2                ## @VPFE_VDINT0
	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ## @CCDC_FRMFMT_PROGRESSIVE
	.comm	_VPFE_VDINT1,4,2                ## @VPFE_VDINT1
	.comm	_VPFE_IRQ_EN_SET,4,2            ## @VPFE_IRQ_EN_SET
	.no_dead_strip	_vpfe_attach_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpfe_attach_irq
_vpfe_attach_irq:                       ; @vpfe_attach_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _VPFE_VDINT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPFE_VDINT0@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_vpfe_ccdc_get_frame_format
Lloh3:
	adrp	x8, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VPFE_VDINT1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VPFE_VDINT1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w8, w9, wzr, eq
	orr	w1, w8, w20
Lloh9:
	adrp	x8, _VPFE_IRQ_EN_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VPFE_IRQ_EN_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vpfe_reg_write
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VPFE_VDINT0,4,2                ; @VPFE_VDINT0
	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ; @CCDC_FRMFMT_PROGRESSIVE
	.comm	_VPFE_VDINT1,4,2                ; @VPFE_VDINT1
	.comm	_VPFE_IRQ_EN_SET,4,2            ; @VPFE_IRQ_EN_SET
	.no_dead_strip	_vpfe_attach_irq
.subsections_via_symbols
