	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_display_intf
_set_display_intf:                      ## @set_display_intf
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	movq	_REG_MDP5_DISP_INTF_SEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_mdp5_read
	movl	%eax, %r14d
	movl	(%r15), %eax
	cmpq	$3, %rax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_MDP5_DISP_INTF_SEL_INTF0__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_MDP5_DISP_INTF_SEL_INTF0
	jmp	LBB0_3
LBB0_7:
	xorl	%eax, %eax
	callq	_BUG
	movl	%r14d, %edx
	jmp	LBB0_8
LBB0_4:
	movq	_MDP5_DISP_INTF_SEL_INTF1__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_MDP5_DISP_INTF_SEL_INTF1
	jmp	LBB0_3
LBB0_5:
	movq	_MDP5_DISP_INTF_SEL_INTF2__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_MDP5_DISP_INTF_SEL_INTF2
	jmp	LBB0_3
LBB0_6:
	movq	_MDP5_DISP_INTF_SEL_INTF3__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_MDP5_DISP_INTF_SEL_INTF3
LBB0_3:
	movl	%eax, %edx
	orl	%r14d, %edx
LBB0_8:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_mdp5_write
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_REG_MDP5_DISP_INTF_SEL,4,2     ## @REG_MDP5_DISP_INTF_SEL
	.comm	_MDP5_DISP_INTF_SEL_INTF0__MASK,4,2 ## @MDP5_DISP_INTF_SEL_INTF0__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF1__MASK,4,2 ## @MDP5_DISP_INTF_SEL_INTF1__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF2__MASK,4,2 ## @MDP5_DISP_INTF_SEL_INTF2__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF3__MASK,4,2 ## @MDP5_DISP_INTF_SEL_INTF3__MASK
	.no_dead_strip	_set_display_intf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_display_intf
_set_display_intf:                      ; @set_display_intf
	.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	x21, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x22, _REG_MDP5_DISP_INTF_SEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_MDP5_DISP_INTF_SEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_mdp5_read
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _MDP5_DISP_INTF_SEL_INTF0__MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MDP5_DISP_INTF_SEL_INTF0__MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w20, w20, w8
	ldr	w0, [x21, #4]
	bl	_MDP5_DISP_INTF_SEL_INTF0
	b	LBB0_7
LBB0_3:
	bl	_BUG
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _MDP5_DISP_INTF_SEL_INTF1__MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MDP5_DISP_INTF_SEL_INTF1__MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w20, w20, w8
	ldr	w0, [x21, #4]
	bl	_MDP5_DISP_INTF_SEL_INTF1
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _MDP5_DISP_INTF_SEL_INTF2__MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MDP5_DISP_INTF_SEL_INTF2__MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w20, w20, w8
	ldr	w0, [x21, #4]
	bl	_MDP5_DISP_INTF_SEL_INTF2
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _MDP5_DISP_INTF_SEL_INTF3__MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MDP5_DISP_INTF_SEL_INTF3__MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	bic	w20, w20, w8
	ldr	w0, [x21, #4]
	bl	_MDP5_DISP_INTF_SEL_INTF3
LBB0_7:
	orr	w20, w0, w20
LBB0_8:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_mdp5_write
	mov	x0, x19
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_REG_MDP5_DISP_INTF_SEL,4,2     ; @REG_MDP5_DISP_INTF_SEL
	.comm	_MDP5_DISP_INTF_SEL_INTF0__MASK,4,2 ; @MDP5_DISP_INTF_SEL_INTF0__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF1__MASK,4,2 ; @MDP5_DISP_INTF_SEL_INTF1__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF2__MASK,4,2 ; @MDP5_DISP_INTF_SEL_INTF2__MASK
	.comm	_MDP5_DISP_INTF_SEL_INTF3__MASK,4,2 ; @MDP5_DISP_INTF_SEL_INTF3__MASK
	.no_dead_strip	_set_display_intf
.subsections_via_symbols
