	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devm_gpiod_get_from_of_node    ## -- Begin function devm_gpiod_get_from_of_node
	.p2align	4, 0x90
_devm_gpiod_get_from_of_node:           ## @devm_gpiod_get_from_of_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	movq	%r9, %r8
	callq	_gpiod_get_from_of_node
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_GPIOD_FLAGS_BIT_NONEXCLUSIVE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_devm_gpiod_release@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_devm_gpiod_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movq	%r14, %rdi
	callq	_devres_find
	testq	%rax, %rax
	jne	LBB0_6
LBB0_3:
	movq	_devm_gpiod_release@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_devres_alloc
	movq	-32(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rdi, (%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devres_add
LBB0_6:
	movq	-32(%rbp), %rbx
	jmp	LBB0_7
LBB0_4:
	callq	_gpiod_put
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOD_FLAGS_BIT_NONEXCLUSIVE,4,2 ## @GPIOD_FLAGS_BIT_NONEXCLUSIVE
	.comm	_devm_gpiod_release,4,2         ## @devm_gpiod_release
	.comm	_devm_gpiod_match,4,2           ## @devm_gpiod_match
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devm_gpiod_get_from_of_node    ; -- Begin function devm_gpiod_get_from_of_node
	.p2align	2
_devm_gpiod_get_from_of_node:           ; @devm_gpiod_get_from_of_node
	.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	x20, x4
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	bl	_gpiod_get_from_of_node
	mov	x21, x0
	str	x0, [sp, #8]
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _GPIOD_FLAGS_BIT_NONEXCLUSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOD_FLAGS_BIT_NONEXCLUSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _devm_gpiod_release@GOTPAGE
Lloh4:
	ldr	x21, [x21, _devm_gpiod_release@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _devm_gpiod_match@GOTPAGE
Lloh6:
	ldr	x8, [x8, _devm_gpiod_match@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_devres_find
	cbnz	x0, LBB0_5
LBB0_3:
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_devres_alloc
	mov	x1, x0
	ldr	x0, [sp, #8]
	cbz	x1, LBB0_6
; %bb.4:
	str	x0, [x1]
	mov	x0, x19
	bl	_devres_add
LBB0_5:
	ldr	x21, [sp, #8]
	b	LBB0_7
LBB0_6:
	bl	_gpiod_put
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x21, x0
LBB0_7:
	mov	x0, x21
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOD_FLAGS_BIT_NONEXCLUSIVE,4,2 ; @GPIOD_FLAGS_BIT_NONEXCLUSIVE
	.comm	_devm_gpiod_release,4,2         ; @devm_gpiod_release
	.comm	_devm_gpiod_match,4,2           ; @devm_gpiod_match
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
