	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ispif_config_pack
_ispif_config_pack:                     ## @ispif_config_pack
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%ecx, %r12d
	movq	%rdi, %r14
	movq	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$128, %edx
	je	LBB0_9
## %bb.3:
	cmpl	$129, %edx
	je	LBB0_8
## %bb.4:
	cmpl	$130, %edx
	jne	LBB0_15
## %bb.5:
	movl	%r8d, %edi
	xorl	%esi, %esi
	cmpl	$7, %r12d
	jg	LBB0_10
	jmp	LBB0_7
LBB0_9:
	movl	%r8d, %edi
	movl	$2, %esi
	cmpl	$7, %r12d
	jle	LBB0_7
LBB0_10:
	callq	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_1
	jmp	LBB0_11
LBB0_8:
	movl	%r8d, %edi
	movl	$1, %esi
	cmpl	$7, %r12d
	jg	LBB0_10
LBB0_7:
	callq	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0
LBB0_11:
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.13:
	movl	%r12d, %edi
	callq	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0_CID_c_PLAIN
	movq	%rax, %rdi
	jmp	LBB0_14
LBB0_12:
	xorl	%edi, %edi
LBB0_14:
	addq	(%r14), %rbx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,8,3 ## @MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
	.comm	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE,8,3 ## @MEDIA_BUS_FMT_Y10_2X8_PADHI_LE
	.no_dead_strip	_ispif_config_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ispif_config_pack
_ispif_config_pack:                     ; @ispif_config_pack
	.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
Lloh0:
	adrp	x8, _MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_6
; %bb.1:
	mov	x21, x5
	mov	x20, x3
	mov	x19, x0
	cmp	w2, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w2, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w2, #130
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x4
	cmp	w20, #7
	b.gt	LBB0_12
; %bb.5:
	mov	w1, #0
	b	LBB0_10
LBB0_6:
	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
LBB0_7:
	mov	x0, x4
	mov	w1, #2
	b	LBB0_9
LBB0_8:
	mov	x0, x4
	mov	w1, #1
LBB0_9:
	cmp	w20, #7
	b.gt	LBB0_13
LBB0_10:
	bl	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0
	mov	x22, x0
	cbz	w21, LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0_CID_c_PLAIN
	b	LBB0_15
LBB0_12:
	mov	w1, #0
LBB0_13:
	bl	_ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_1
	mov	x22, x0
	cbnz	w21, LBB0_11
LBB0_14:
	mov	x0, #0
LBB0_15:
	ldr	x8, [x19]
	add	x1, x8, x22
	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
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,8,3 ; @MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
	.comm	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE,8,3 ; @MEDIA_BUS_FMT_Y10_2X8_PADHI_LE
	.no_dead_strip	_ispif_config_pack
.subsections_via_symbols
