	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcs_add_gpio_func
_pcs_add_gpio_func:                     ## @pcs_add_gpio_func
	.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	%rsi, %r13
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r8
	xorl	%ecx, %ecx
	callq	_of_parse_phandle_with_args
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	leaq	4(%r13), %r12
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-48(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, 12(%r14)
	movl	4(%rax), %ecx
	movl	%ecx, 8(%r14)
	movl	8(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	movq	%r13, %rdi
	callq	_mutex_unlock
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	leaq	-48(%rbp), %r8
	callq	_of_parse_phandle_with_args
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinctrl-single,gpio-range"

L_.str.1:                               ## @.str.1
	.asciz	"#pinctrl-single,gpio-range-cells"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pcs_add_gpio_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcs_add_gpio_func
_pcs_add_gpio_func:                     ; @pcs_add_gpio_func
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x4, sp, #8
	mov	w3, #0
	bl	_of_parse_phandle_with_args
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_6
; %bb.1:
	add	x21, x19, #4
	mov	w22, #1
Lloh4:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
Lloh8:
	adrp	x24, l_.str.1@PAGE
Lloh9:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	ldr	w2, [x26]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	str	w9, [x0, #12]
	ldr	w9, [x8, #4]
	str	w9, [x0, #8]
	ldr	w8, [x8, #8]
	str	w8, [x0, #4]
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x25
	mov	x1, x21
	bl	_list_add_tail
	mov	x0, x19
	bl	_mutex_unlock
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x22
	bl	_of_parse_phandle_with_args
	add	w22, w22, #1
	cbz	w0, LBB0_2
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinctrl-single,gpio-range"

l_.str.1:                               ; @.str.1
	.asciz	"#pinctrl-single,gpio-range-cells"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pcs_add_gpio_func
.subsections_via_symbols
