	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ispif_set_intf_cmd
_ispif_set_intf_cmd:                    ## @ispif_set_intf_cmd
	.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
	movq	%rcx, %r12
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %r14
	movq	_RDI2@GOTPCREL(%rip), %rax
	movq	8(%rdi), %rbx
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	addl	%r8d, %r8d
	addb	$8, %r8b
	movl	$3, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	notl	%eax
	shlq	%cl, %rsi
	andl	(%rbx,%r12,8), %eax
	orl	%eax, %esi
	movl	%esi, (%rbx,%r12,8)
	xorl	%eax, %eax
	callq	_wmb
	movl	(%rbx,%r12,8), %r15d
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_ISPIF_VFE_m_INTF_CMD_1
	jmp	LBB0_3
LBB0_2:
	shll	$3, %edx
	leal	(%rdx,%r8,2), %ecx
	movl	$3, %eax
	shll	%cl, %eax
	notl	%eax
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rsi
	andl	4(%rbx,%r12,8), %eax
	orl	%eax, %esi
	movl	%esi, 4(%rbx,%r12,8)
	xorl	%eax, %eax
	callq	_wmb
	movl	4(%rbx,%r12,8), %r15d
	movq	(%r14), %rbx
	movq	%r12, %rdi
	callq	_ISPIF_VFE_m_INTF_CMD_0
LBB0_3:
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wmb                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDI2,4,2                       ## @RDI2
	.no_dead_strip	_ispif_set_intf_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ispif_set_intf_cmd
_ispif_set_intf_cmd:                    ; @ispif_set_intf_cmd
	.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
	mov	x19, x3
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _RDI2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDI2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	lsl	x22, x19, #3
	lsl	x8, x4, #1
	add	x8, x8, #8
	and	x9, x8, #0xfffffffe
	mov	w10, #3
	ldr	w11, [x21, x22]
	lsl	w9, w10, w9
	bic	w9, w11, w9
	lsl	x8, x1, x8
	orr	w8, w9, w8
	str	w8, [x21, x22]
	bl	_wmb
	ldr	w21, [x21, x22]
	ldr	x20, [x20]
	mov	x0, x19
	bl	_ISPIF_VFE_m_INTF_CMD_1
	b	LBB0_3
LBB0_2:
	add	x21, x21, x19, lsl #3
	lsl	w8, w2, #3
	add	x8, x8, x4, lsl #1
	and	x9, x8, #0xfffffffe
	mov	w10, #3
	lsl	w9, w10, w9
	ldr	w10, [x21, #4]
	bic	w9, w10, w9
	lsl	x8, x1, x8
	orr	w8, w9, w8
	str	w8, [x21, #4]
	bl	_wmb
	ldr	w21, [x21, #4]
	ldr	x20, [x20]
	mov	x0, x19
	bl	_ISPIF_VFE_m_INTF_CMD_0
LBB0_3:
	add	x1, x0, x20
	mov	x0, x21
	bl	_writel_relaxed
	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	_wmb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDI2,4,2                       ; @RDI2
	.no_dead_strip	_ispif_set_intf_cmd
.subsections_via_symbols
