	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_pinconf_dbg_show
_imx_pinconf_dbg_show:                  ## @imx_pinconf_dbg_show
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	24(%rax), %rax
	movq	_IMX_USE_SCU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_imx_pinconf_get_scu
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	16(%r12), %r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pin_get_name
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_dev_err
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_puts
	jmp	LBB0_7
LBB0_4:
	movq	8(%r12), %rax
	movl	%r15d, %ecx
	movslq	(%rax,%rcx,4), %rdi
	cmpq	$-1, %rdi
	je	LBB0_8
## %bb.5:
	addq	(%r12), %rdi
	callq	_readl
	movq	%rax, %rdx
	movq	%rax, -40(%rbp)
	jmp	LBB0_6
LBB0_2:
	movq	-40(%rbp), %rdx
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_seq_printf
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_seq_puts                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX_USE_SCU,4,2                ## @IMX_USE_SCU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get %s pinconf\n"

L_.str.1:                               ## @.str.1
	.asciz	"N/A"

L_.str.2:                               ## @.str.2
	.asciz	"0x%lx"

	.no_dead_strip	_imx_pinconf_dbg_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_pinconf_dbg_show
_imx_pinconf_dbg_show:                  ; @imx_pinconf_dbg_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _IMX_USE_SCU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMX_USE_SCU@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_imx_pinconf_get_scu
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w21, [x21, #16]
	mov	x0, x22
	mov	x1, x20
	bl	_pin_get_name
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
	b	LBB0_7
LBB0_3:
	ldr	x8, [x21, #8]
	ldrsw	x8, [x8, w20, uxtw #2]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.4:
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	mov	x2, x0
	str	x0, [sp, #8]
	b	LBB0_6
LBB0_5:
	ldr	x2, [sp, #8]
LBB0_6:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_seq_puts
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX_USE_SCU,4,2                ; @IMX_USE_SCU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get %s pinconf\n"

l_.str.1:                               ; @.str.1
	.asciz	"N/A"

l_.str.2:                               ; @.str.2
	.asciz	"0x%lx"

	.no_dead_strip	_imx_pinconf_dbg_show
.subsections_via_symbols
