	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msm_dsi_sfpb_config
_msm_dsi_sfpb_config:                   ## @msm_dsi_sfpb_config
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.1:
	testl	%esi, %esi
	jne	LBB0_2
## %bb.3:
	movq	_SFPB_MASTER_PORT_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SFPB_MASTER_PORT_ENABLE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movq	_REG_SFPB_GPREG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SFPB_GPREG_MASTER_PORT_EN__MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_SFPB_GPREG_MASTER_PORT_EN
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SFPB_MASTER_PORT_ENABLE,4,2    ## @SFPB_MASTER_PORT_ENABLE
	.comm	_SFPB_MASTER_PORT_DISABLE,4,2   ## @SFPB_MASTER_PORT_DISABLE
	.comm	_REG_SFPB_GPREG,4,2             ## @REG_SFPB_GPREG
	.comm	_SFPB_GPREG_MASTER_PORT_EN__MASK,4,2 ## @SFPB_GPREG_MASTER_PORT_EN__MASK
	.no_dead_strip	_msm_dsi_sfpb_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msm_dsi_sfpb_config
_msm_dsi_sfpb_config:                   ; @msm_dsi_sfpb_config
	.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
	ldr	w19, [x0]
	cbz	w19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SFPB_MASTER_PORT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SFPB_MASTER_PORT_ENABLE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SFPB_MASTER_PORT_DISABLE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SFPB_MASTER_PORT_DISABLE@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _REG_SFPB_GPREG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REG_SFPB_GPREG@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
Lloh7:
	adrp	x8, _SFPB_GPREG_MASTER_PORT_EN__MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SFPB_GPREG_MASTER_PORT_EN__MASK@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	bl	_SFPB_GPREG_MASTER_PORT_EN
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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	_regmap_update_bits
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SFPB_MASTER_PORT_ENABLE,4,2    ; @SFPB_MASTER_PORT_ENABLE
	.comm	_SFPB_MASTER_PORT_DISABLE,4,2   ; @SFPB_MASTER_PORT_DISABLE
	.comm	_REG_SFPB_GPREG,4,2             ; @REG_SFPB_GPREG
	.comm	_SFPB_GPREG_MASTER_PORT_EN__MASK,4,2 ; @SFPB_GPREG_MASTER_PORT_EN__MASK
	.no_dead_strip	_msm_dsi_sfpb_config
.subsections_via_symbols
