	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pinmux_read_node
_pinmux_read_node:                      ## @pinmux_read_node
	.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	%r8, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%rcx, %rdx
	callq	_OF_getprop_alloc
	movl	%eax, (%r15)
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	leaq	8(%r12), %r15
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	callq	_OF_getprop_alloc
	testl	%eax, %eax
	jg	LBB0_4
## %bb.3:
	movq	$0, (%r15)
LBB0_4:
	movq	_PROP_ID_MAX_ID@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	movq	_prop_names@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	_PROP_ID_MAX_ID@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx), %esi
	movq	(%r12), %rdx
	addq	%rbx, %rdx
	movl	%r14d, %edi
	movl	$4, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rax
	movl	$-1, (%rax,%rbx)
	jmp	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	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	"nvidia,pins"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"nvidia,function"

	.comm	_PROP_ID_MAX_ID,4,2             ## @PROP_ID_MAX_ID
	.comm	_prop_names,8,3                 ## @prop_names
	.no_dead_strip	_pinmux_read_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pinmux_read_node
_pinmux_read_node:                      ; @pinmux_read_node
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x3
	bl	_OF_getprop_alloc
	str	w0, [x21]
	cmp	w0, #0
	b.le	LBB0_9
; %bb.1:
	add	x21, x19, #8
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_OF_getprop_alloc
	cmp	w0, #0
	b.gt	LBB0_3
; %bb.2:
	str	xzr, [x21]
LBB0_3:
Lloh4:
	adrp	x21, _PROP_ID_MAX_ID@GOTPAGE
Lloh5:
	ldr	x21, [x21, _PROP_ID_MAX_ID@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x22, #0
	mov	x23, #0
Lloh6:
	adrp	x24, _prop_names@GOTPAGE
Lloh7:
	ldr	x24, [x24, _prop_names@GOTPAGEOFF]
	mov	w25, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x22]
	ldr	x8, [x19]
	add	x2, x8, x22
	mov	x0, x20
	mov	w3, #4
	bl	_OF_getencprop
	cmp	w0, #0
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	str	w25, [x8, x22]
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvidia,pins"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"nvidia,function"

	.comm	_PROP_ID_MAX_ID,4,2             ; @PROP_ID_MAX_ID
	.comm	_prop_names,8,3                 ; @prop_names
	.no_dead_strip	_pinmux_read_node
.subsections_via_symbols
