	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_mfc_get_int_reason_v5
_s5p_mfc_get_int_reason_v5:             ## @s5p_mfc_get_int_reason_v5
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_S5P_FIMV_RISC2HOST_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mfc_read
	movq	_S5P_FIMV_RISC2HOST_CMD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.s5p_mfc_get_int_reason_v5(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_S5P_MFC_R2H_CMD_EMPTY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5P_FIMV_RISC2HOST_CMD,4,2     ## @S5P_FIMV_RISC2HOST_CMD
	.comm	_S5P_FIMV_RISC2HOST_CMD_MASK,4,2 ## @S5P_FIMV_RISC2HOST_CMD_MASK
	.comm	_S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET,4,2 ## @S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET
	.comm	_S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET,4,2 ## @S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET
	.comm	_S5P_MFC_R2H_CMD_SEQ_DONE_RET,4,2 ## @S5P_MFC_R2H_CMD_SEQ_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_FRAME_DONE_RET,4,2 ## @S5P_MFC_R2H_CMD_FRAME_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_SLICE_DONE_RET,4,2 ## @S5P_MFC_R2H_CMD_SLICE_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_SYS_INIT_RET,4,2 ## @S5P_MFC_R2H_CMD_SYS_INIT_RET
	.comm	_S5P_MFC_R2H_CMD_FW_STATUS_RET,4,2 ## @S5P_MFC_R2H_CMD_FW_STATUS_RET
	.comm	_S5P_MFC_R2H_CMD_SLEEP_RET,4,2  ## @S5P_MFC_R2H_CMD_SLEEP_RET
	.comm	_S5P_MFC_R2H_CMD_WAKEUP_RET,4,2 ## @S5P_MFC_R2H_CMD_WAKEUP_RET
	.comm	_S5P_MFC_R2H_CMD_INIT_BUFFERS_RET,4,2 ## @S5P_MFC_R2H_CMD_INIT_BUFFERS_RET
	.comm	_S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET,4,2 ## @S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET
	.comm	_S5P_MFC_R2H_CMD_ERR_RET,4,2    ## @S5P_MFC_R2H_CMD_ERR_RET
	.comm	_S5P_MFC_R2H_CMD_EMPTY,4,2      ## @S5P_MFC_R2H_CMD_EMPTY
	.no_dead_strip	_s5p_mfc_get_int_reason_v5
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.s5p_mfc_get_int_reason_v5
l_switch.table.s5p_mfc_get_int_reason_v5:
	.quad	_S5P_MFC_R2H_CMD_WAKEUP_RET
	.quad	_S5P_MFC_R2H_CMD_SYS_INIT_RET
	.quad	_S5P_MFC_R2H_CMD_SLICE_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_SLEEP_RET
	.quad	_S5P_MFC_R2H_CMD_SEQ_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET
	.quad	_S5P_MFC_R2H_CMD_INIT_BUFFERS_RET
	.quad	_S5P_MFC_R2H_CMD_FW_STATUS_RET
	.quad	_S5P_MFC_R2H_CMD_FRAME_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_ERR_RET
	.quad	_S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET
	.quad	_S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_mfc_get_int_reason_v5
_s5p_mfc_get_int_reason_v5:             ; @s5p_mfc_get_int_reason_v5
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _S5P_FIMV_RISC2HOST_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5P_FIMV_RISC2HOST_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mfc_read
Lloh3:
	adrp	x8, _S5P_FIMV_RISC2HOST_CMD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5P_FIMV_RISC2HOST_CMD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.s5p_mfc_get_int_reason_v5@PAGE
Lloh7:
	add	x9, x9, l_switch.table.s5p_mfc_get_int_reason_v5@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _S5P_MFC_R2H_CMD_EMPTY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _S5P_MFC_R2H_CMD_EMPTY@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_S5P_FIMV_RISC2HOST_CMD,4,2     ; @S5P_FIMV_RISC2HOST_CMD
	.comm	_S5P_FIMV_RISC2HOST_CMD_MASK,4,2 ; @S5P_FIMV_RISC2HOST_CMD_MASK
	.comm	_S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET,4,2 ; @S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET
	.comm	_S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET,4,2 ; @S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET
	.comm	_S5P_MFC_R2H_CMD_SEQ_DONE_RET,4,2 ; @S5P_MFC_R2H_CMD_SEQ_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_FRAME_DONE_RET,4,2 ; @S5P_MFC_R2H_CMD_FRAME_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_SLICE_DONE_RET,4,2 ; @S5P_MFC_R2H_CMD_SLICE_DONE_RET
	.comm	_S5P_MFC_R2H_CMD_SYS_INIT_RET,4,2 ; @S5P_MFC_R2H_CMD_SYS_INIT_RET
	.comm	_S5P_MFC_R2H_CMD_FW_STATUS_RET,4,2 ; @S5P_MFC_R2H_CMD_FW_STATUS_RET
	.comm	_S5P_MFC_R2H_CMD_SLEEP_RET,4,2  ; @S5P_MFC_R2H_CMD_SLEEP_RET
	.comm	_S5P_MFC_R2H_CMD_WAKEUP_RET,4,2 ; @S5P_MFC_R2H_CMD_WAKEUP_RET
	.comm	_S5P_MFC_R2H_CMD_INIT_BUFFERS_RET,4,2 ; @S5P_MFC_R2H_CMD_INIT_BUFFERS_RET
	.comm	_S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET,4,2 ; @S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET
	.comm	_S5P_MFC_R2H_CMD_ERR_RET,4,2    ; @S5P_MFC_R2H_CMD_ERR_RET
	.comm	_S5P_MFC_R2H_CMD_EMPTY,4,2      ; @S5P_MFC_R2H_CMD_EMPTY
	.no_dead_strip	_s5p_mfc_get_int_reason_v5
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.s5p_mfc_get_int_reason_v5
l_switch.table.s5p_mfc_get_int_reason_v5:
	.quad	_S5P_MFC_R2H_CMD_WAKEUP_RET
	.quad	_S5P_MFC_R2H_CMD_SYS_INIT_RET
	.quad	_S5P_MFC_R2H_CMD_SLICE_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_SLEEP_RET
	.quad	_S5P_MFC_R2H_CMD_SEQ_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET
	.quad	_S5P_MFC_R2H_CMD_INIT_BUFFERS_RET
	.quad	_S5P_MFC_R2H_CMD_FW_STATUS_RET
	.quad	_S5P_MFC_R2H_CMD_FRAME_DONE_RET
	.quad	_S5P_MFC_R2H_CMD_ERR_RET
	.quad	_S5P_MFC_R2H_CMD_COMPLETE_SEQ_RET
	.quad	_S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET

.subsections_via_symbols
