	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_parse_own_gpio
_of_parse_own_gpio:                     ## @of_parse_own_gpio
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.1:
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)
	movq	_GPIO_LOOKUP_FLAGS_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r8)
	movl	$0, (%r9)
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r9, %r14
	movq	%r8, %r12
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	movl	%eax, %edi
LBB0_3:
	callq	_ERR_PTR
	movq	%rax, %r12
LBB0_22:
	movq	%r12, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)
	movl	-44(%rbp), %edx
	movl	%edx, -112(%rbp)
	testl	%edx, %edx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	imull	%r13d, %edx
	addl	%ebx, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_of_property_read_u32_index
	testl	%eax, %eax
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movl	-44(%rbp), %edx
	cmpq	%rdx, %rbx
	jb	LBB0_7
LBB0_8:
	leaq	-112(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_of_xlate_and_get_gpiod_flags
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_22
## %bb.9:
	movl	-48(%rbp), %eax
	movq	_OF_GPIO_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movq	_GPIO_ACTIVE_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	%rcx, (%rdx)
LBB0_11:
	movq	_OF_GPIO_TRANSITORY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	movq	_GPIO_TRANSITORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rax, (%rdx)
LBB0_13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_of_property_read_bool
	testq	%rax, %rax
	je	LBB0_24
## %bb.18:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
LBB0_19:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	orl	%eax, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_of_property_read_string
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_22
LBB0_24:
	movq	%r12, %rdi
	callq	_desc_to_gpio
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_pr_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GPIO_LOOKUP_FLAGS_DEFAULT,8,3  ## @GPIO_LOOKUP_FLAGS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"#gpio-cells"

L_.str.1:                               ## @.str.1
	.asciz	"gpios"

	.comm	_OF_GPIO_ACTIVE_LOW,4,2         ## @OF_GPIO_ACTIVE_LOW
	.comm	_GPIO_ACTIVE_LOW,8,3            ## @GPIO_ACTIVE_LOW
	.comm	_OF_GPIO_TRANSITORY,4,2         ## @OF_GPIO_TRANSITORY
	.comm	_GPIO_TRANSITORY,8,3            ## @GPIO_TRANSITORY
L_.str.2:                               ## @.str.2
	.asciz	"input"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.3:                               ## @.str.3
	.asciz	"output-low"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.4:                               ## @.str.4
	.asciz	"output-high"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.5:                               ## @.str.5
	.asciz	"GPIO line %d (%pOFn): no hogging state specified, bailing out\n"

L_.str.6:                               ## @.str.6
	.asciz	"line-name"

	.no_dead_strip	_of_parse_own_gpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_parse_own_gpio
_of_parse_own_gpio:                     ; @of_parse_own_gpio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x25, [x1]
	cbz	x25, LBB0_4
; %bb.1:
	mov	x21, x5
	mov	x23, x4
	mov	x20, x3
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
	str	wzr, [sp, #44]
Lloh0:
	adrp	x8, _GPIO_LOOKUP_FLAGS_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_LOOKUP_FLAGS_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x4]
	str	wzr, [x5]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x25
	bl	_of_property_read_u32
	cbz	w0, LBB0_5
LBB0_2:
	bl	_ERR_PTR
	mov	x22, x0
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
LBB0_5:
	str	x25, [sp, #32]
	ldr	w8, [sp, #12]
	str	w8, [sp, #16]
	cbz	w8, LBB0_9
; %bb.6:
	mov	x26, #0
Lloh8:
	adrp	x25, l_.str.1@PAGE
Lloh9:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	madd	w2, w8, w24, w26
	mov	x0, x19
	mov	x1, x25
	bl	_of_property_read_u32_index
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #1
	ldr	w8, [sp, #12]
	cmp	x26, x8
	b.lo	LBB0_7
LBB0_9:
	add	x1, sp, #16
	add	x2, sp, #44
	mov	x0, x22
	bl	_of_xlate_and_get_gpiod_flags
	mov	x22, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.10:
	ldr	w8, [sp, #44]
Lloh10:
	adrp	x9, _OF_GPIO_ACTIVE_LOW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OF_GPIO_ACTIVE_LOW@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh13:
	adrp	x9, _GPIO_ACTIVE_LOW@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GPIO_ACTIVE_LOW@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x10, [x23]
	orr	x9, x10, x9
	str	x9, [x23]
LBB0_12:
Lloh16:
	adrp	x9, _OF_GPIO_TRANSITORY@GOTPAGE
Lloh17:
	ldr	x9, [x9, _OF_GPIO_TRANSITORY@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh19:
	adrp	x8, _GPIO_TRANSITORY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GPIO_TRANSITORY@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x23]
	orr	x8, x9, x8
	str	x8, [x23]
LBB0_14:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_bool
	cbz	x0, LBB0_16
; %bb.15:
Lloh24:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
	b	LBB0_20
LBB0_16:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_bool
	cbz	x0, LBB0_18
; %bb.17:
Lloh28:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_of_property_read_bool
	cbz	x0, LBB0_23
; %bb.19:
Lloh32:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh33:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	cbz	x20, LBB0_3
; %bb.21:
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_of_property_read_string
	cbz	x0, LBB0_3
; %bb.22:
	ldr	x8, [x19]
	str	x8, [x20]
	b	LBB0_3
LBB0_23:
	mov	x0, x22
	bl	_desc_to_gpio
	mov	x1, x0
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_pr_warn
Lloh38:
	adrp	x8, _EINVAL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GPIO_LOOKUP_FLAGS_DEFAULT,8,3  ; @GPIO_LOOKUP_FLAGS_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#gpio-cells"

l_.str.1:                               ; @.str.1
	.asciz	"gpios"

	.comm	_OF_GPIO_ACTIVE_LOW,4,2         ; @OF_GPIO_ACTIVE_LOW
	.comm	_GPIO_ACTIVE_LOW,8,3            ; @GPIO_ACTIVE_LOW
	.comm	_OF_GPIO_TRANSITORY,4,2         ; @OF_GPIO_TRANSITORY
	.comm	_GPIO_TRANSITORY,8,3            ; @GPIO_TRANSITORY
l_.str.2:                               ; @.str.2
	.asciz	"input"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.3:                               ; @.str.3
	.asciz	"output-low"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.4:                               ; @.str.4
	.asciz	"output-high"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.5:                               ; @.str.5
	.asciz	"GPIO line %d (%pOFn): no hogging state specified, bailing out\n"

l_.str.6:                               ; @.str.6
	.asciz	"line-name"

	.no_dead_strip	_of_parse_own_gpio
.subsections_via_symbols
