	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_gpio_register_pinconf
_iproc_gpio_register_pinconf:           ## @iproc_gpio_register_pinconf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movl	8(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	$8, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	cmpl	$0, 8(%r14)
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, (%r15,%rbx,8)
	movl	4(%r14), %edi
	movl	(%r13), %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_devm_kasprintf
	movl	%eax, 4(%r15,%rbx,8)
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_6:
	leaq	16(%r14), %rbx
	movl	4(%r14), %edi
	callq	_dev_name
	movl	%eax, 48(%r14)
	movq	_iproc_pctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r14)
	movq	%r15, 32(%r14)
	movl	4(%r14), %edi
	movl	8(%r14), %eax
	movl	%eax, 16(%r14)
	movq	_iproc_pconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio-%d"

	.comm	_iproc_pctrl_ops,4,2            ## @iproc_pctrl_ops
	.comm	_iproc_pconf_ops,4,2            ## @iproc_pconf_ops
L_.str.1:                               ## @.str.1
	.asciz	"unable to register pinctrl device\n"

	.no_dead_strip	_iproc_gpio_register_pinconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_gpio_register_pinconf
_iproc_gpio_register_pinconf:           ; @iproc_gpio_register_pinconf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x19, #8]
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	add	x24, x20, #4
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stur	w21, [x24, #-4]
	ldr	w0, [x19, #4]
	ldr	w1, [x23]
	mov	x2, x22
	mov	x3, x21
	bl	_devm_kasprintf
	str	w0, [x24]
	cbz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	add	x24, x24, #8
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_5:
	add	x21, x19, #16
	ldr	w0, [x19, #4]
	bl	_dev_name
	str	w0, [x19, #48]
Lloh4:
	adrp	x8, _iproc_pctrl_ops@GOTPAGE
Lloh5:
	ldr	x8, [x8, _iproc_pctrl_ops@GOTPAGEOFF]
	str	x8, [x19, #40]
	ldp	w0, w8, [x19, #4]
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _iproc_pconf_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iproc_pconf_ops@GOTPAGEOFF]
	stp	x8, x20, [x19, #24]
	mov	x1, x21
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w0, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio-%d"

	.comm	_iproc_pctrl_ops,4,2            ; @iproc_pctrl_ops
	.comm	_iproc_pconf_ops,4,2            ; @iproc_pconf_ops
l_.str.1:                               ; @.str.1
	.asciz	"unable to register pinctrl device\n"

	.no_dead_strip	_iproc_gpio_register_pinconf
.subsections_via_symbols
