	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pinctrl_get_list_and_count
_pinctrl_get_list_and_count:            ## @pinctrl_get_list_and_count
	.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
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movl	$0, (%rcx)
	movl	$0, (%r8)
	leaq	-36(%rbp), %rdx
	callq	_of_get_property
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_pinctrl_find_cells_size
	movl	%eax, (%r15)
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movl	%eax, %ecx
	movslq	-36(%rbp), %rax
	shrq	$2, %rax
	incl	%ecx
	movabsq	$4611686014132420608, %rdx      ## imm = 0x3FFFFFFF00000000
	testq	%rdx, %rax
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_pinctrl_get_list_and_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pinctrl_get_list_and_count
_pinctrl_get_list_and_count:            ; @pinctrl_get_list_and_count
	.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	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x0
	str	wzr, [x3]
	str	wzr, [x4]
	add	x2, sp, #12
	bl	_of_get_property
	str	x0, [x22]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_pinctrl_find_cells_size
	str	w0, [x20]
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	ldrsw	x9, [sp, #12]
	lsr	x9, x9, #2
	add	w8, w8, #1
	udiv	x8, x9, x8
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_pinctrl_get_list_and_count
.subsections_via_symbols
