	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_pinconf_decode_generic_config
_imx_pinconf_decode_generic_config:     ## @imx_pinconf_decode_generic_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	(%rdi), %r13
	movl	$0, -44(%rbp)
	xorl	%edi, %edi
	cmpl	%edx, (%r13)
	setb	%dil
	callq	_WARN_ON
	testl	%ebx, %ebx
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%ebx, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	cmpq	$0, (%rdx)
	cmovel	%eax, %esi
	movb	-12(%rdx), %cl
	shll	%cl, %esi
	andl	-8(%rdx), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	orl	%esi, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpq	%r14, %r15
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r12,%r15,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %ebx
	movq	(%r12,%r15,8), %rdi
	callq	_pinconf_to_config_argument
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rdx
	addq	$16, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	-16(%rdx), %ebx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	$24, %rdx
	decl	%ecx
	jne	LBB0_5
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	8(%r13), %rcx
	testq	%rcx, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	*%rcx
	movl	-44(%rbp), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_imx_pinconf_decode_generic_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_pinconf_decode_generic_config
_imx_pinconf_decode_generic_config:     ; @imx_pinconf_decode_generic_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	ldr	x23, [x0]
	str	wzr, [sp, #12]
	ldr	w8, [x23]
	cmp	w8, w2
	cset	w0, lo
	bl	_WARN_ON
	mov	w21, #0
	cbz	w19, LBB0_8
; %bb.1:
	mov	x24, #0
	mov	w25, w19
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x8, #8]
	cmp	w0, #0
	cset	w10, eq
	cmp	x9, #0
	csel	w9, w0, w10, eq
	ldp	w10, w8, [x8, #-4]
	lsl	w9, w9, w10
	and	w8, w9, w8
	orr	w21, w8, w21
	str	w21, [sp, #12]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x24, x25
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x26, x24, #3
	ldr	x0, [x20, x26]
	bl	_pinconf_to_config_param
	mov	x22, x0
	ldr	x0, [x20, x26]
	bl	_pinconf_to_config_argument
	ldr	w9, [x23]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	add	x8, x8, #8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w10, [x8, #-8]
	cmp	w22, w10
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, #24
	subs	w9, w9, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_8:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_10
; %bb.9:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	blr	x8
	ldr	w21, [sp, #12]
LBB0_10:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_imx_pinconf_decode_generic_config
.subsections_via_symbols
