	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_pinconf_set_scu            ## -- Begin function imx_pinconf_set_scu
	.p2align	4, 0x90
_imx_pinconf_set_scu:                   ## @imx_pinconf_set_scu
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movl	%esi, %r14d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movl	8(%rbx), %r15d
	xorl	%edi, %edi
	cmpl	$2, %r13d
	setne	%dil
	callq	_WARN_ON
	movq	_BM_PAD_CTL_IFMUX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r15d, %eax
	movq	_BM_PAD_CTL_GP_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_BP_PAD_CTL_IFMUX@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r12d
	orl	%eax, %r12d
	movq	_IMX_SC_RPC_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_IMX_SC_RPC_SVC_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IMX_SC_PAD_FUNC_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	$3, -56(%rbp)
	movl	%r14d, -64(%rbp)
	movl	%r12d, -60(%rbp)
	movq	_pinctrl_ipc_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_imx_scu_call_rpc
	movl	%eax, %ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	callq	_dev_dbg
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BM_PAD_CTL_IFMUX_ENABLE,4,2    ## @BM_PAD_CTL_IFMUX_ENABLE
	.comm	_BM_PAD_CTL_GP_ENABLE,4,2       ## @BM_PAD_CTL_GP_ENABLE
	.comm	_BP_PAD_CTL_IFMUX,4,2           ## @BP_PAD_CTL_IFMUX
	.comm	_IMX_SC_RPC_VERSION,4,2         ## @IMX_SC_RPC_VERSION
	.comm	_IMX_SC_RPC_SVC_PAD,4,2         ## @IMX_SC_RPC_SVC_PAD
	.comm	_IMX_SC_PAD_FUNC_SET,4,2        ## @IMX_SC_PAD_FUNC_SET
	.comm	_pinctrl_ipc_handle,4,2         ## @pinctrl_ipc_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write: pin_id %u config 0x%x val 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx_pinconf_set_scu            ; -- Begin function imx_pinconf_set_scu
	.p2align	2
_imx_pinconf_set_scu:                   ; @imx_pinconf_set_scu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x22, x0
	ldr	w23, [x20]
	ldr	w20, [x20, #8]
	cmp	w19, #2
	cset	w0, ne
	bl	_WARN_ON
Lloh0:
	adrp	x8, _BM_PAD_CTL_IFMUX_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BM_PAD_CTL_IFMUX_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh3:
	adrp	x9, _BM_PAD_CTL_GP_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BM_PAD_CTL_GP_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _BP_PAD_CTL_IFMUX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BP_PAD_CTL_IFMUX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w23, w9
Lloh9:
	adrp	x10, _IMX_SC_RPC_VERSION@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IMX_SC_RPC_VERSION@GOTPAGEOFF]
	orr	w19, w8, w9
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _IMX_SC_RPC_SVC_PAD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IMX_SC_RPC_SVC_PAD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh15:
	adrp	x8, _IMX_SC_PAD_FUNC_SET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IMX_SC_PAD_FUNC_SET@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	w9, #3
	stp	w9, w8, [sp, #16]
	stp	w21, w19, [sp, #8]
Lloh18:
	adrp	x8, _pinctrl_ipc_handle@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pinctrl_ipc_handle@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	w2, #1
	bl	_imx_scu_call_rpc
	mov	x23, x0
	ldr	w0, [x22]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_dev_dbg
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BM_PAD_CTL_IFMUX_ENABLE,4,2    ; @BM_PAD_CTL_IFMUX_ENABLE
	.comm	_BM_PAD_CTL_GP_ENABLE,4,2       ; @BM_PAD_CTL_GP_ENABLE
	.comm	_BP_PAD_CTL_IFMUX,4,2           ; @BP_PAD_CTL_IFMUX
	.comm	_IMX_SC_RPC_VERSION,4,2         ; @IMX_SC_RPC_VERSION
	.comm	_IMX_SC_RPC_SVC_PAD,4,2         ; @IMX_SC_RPC_SVC_PAD
	.comm	_IMX_SC_PAD_FUNC_SET,4,2        ; @IMX_SC_PAD_FUNC_SET
	.comm	_pinctrl_ipc_handle,4,2         ; @pinctrl_ipc_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write: pin_id %u config 0x%x val 0x%x\n"

.subsections_via_symbols
