	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32mp1_parse_data
_stm32mp1_parse_data:                   ## @stm32mp1_parse_data
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_to_platform_device
	movq	%rax, %r14
	movq	(%r12), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	movq	%rax, 40(%r15)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_bool
	movq	%rax, 32(%r15)
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
	movq	$0, 8(%r15)
LBB0_2:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	24(%r15), %rdi
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	16(%r15), %rdi
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movl	%eax, (%r15)
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %ebx
	addl	%eax, %ecx
	je	LBB0_15
## %bb.8:
	xorl	%ebx, %ebx
	cmpq	$0, 8(%r15)
	jne	LBB0_15
## %bb.9:
	testl	%eax, %eax
	js	LBB0_15
## %bb.10:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_15
LBB0_12:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_dev_pm_set_dedicated_wake_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_device_init_wakeup
LBB0_14:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_device_set_wakeup_enable
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"st,eth-clk-sel"

L_.str.1:                               ## @.str.1
	.asciz	"st,eth-ref-clk-sel"

L_.str.2:                               ## @.str.2
	.asciz	"eth-ck"

L_.str.3:                               ## @.str.3
	.asciz	"No phy clock provided...\n"

L_.str.4:                               ## @.str.4
	.asciz	"ethstp"

L_.str.5:                               ## @.str.5
	.asciz	"No ETH peripheral clock provided for CStop mode ...\n"

L_.str.6:                               ## @.str.6
	.asciz	"syscfg-clk"

L_.str.7:                               ## @.str.7
	.asciz	"No syscfg clock provided...\n"

L_.str.8:                               ## @.str.8
	.asciz	"stm32_pwr_wakeup"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.9:                               ## @.str.9
	.asciz	"Failed to init wake up irq\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to set wake up irq\n"

	.no_dead_strip	_stm32mp1_parse_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32mp1_parse_data
_stm32mp1_parse_data:                   ; @stm32mp1_parse_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_to_platform_device
	mov	x19, x0
	ldr	x22, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	str	x0, [x20, #40]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	str	x0, [x20, #32]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
	str	xzr, [x20, #8]
LBB0_2:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x20, #24]
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x20, #16]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	str	w0, [x20]
Lloh18:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.8:
	mov	x21, x0
	b	LBB0_16
LBB0_9:
	mov	w21, #0
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_16
; %bb.10:
	tbnz	w0, #31, LBB0_16
; %bb.11:
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
	cbz	w0, LBB0_13
; %bb.12:
	mov	x21, x0
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_16
LBB0_13:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_dev_pm_set_dedicated_wake_irq
	mov	x21, x0
	cbz	w0, LBB0_15
; %bb.14:
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x19
	mov	w1, #0
	bl	_device_init_wakeup
LBB0_15:
	mov	x0, x19
	mov	w1, #0
	bl	_device_set_wakeup_enable
LBB0_16:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"st,eth-clk-sel"

l_.str.1:                               ; @.str.1
	.asciz	"st,eth-ref-clk-sel"

l_.str.2:                               ; @.str.2
	.asciz	"eth-ck"

l_.str.3:                               ; @.str.3
	.asciz	"No phy clock provided...\n"

l_.str.4:                               ; @.str.4
	.asciz	"ethstp"

l_.str.5:                               ; @.str.5
	.asciz	"No ETH peripheral clock provided for CStop mode ...\n"

l_.str.6:                               ; @.str.6
	.asciz	"syscfg-clk"

l_.str.7:                               ; @.str.7
	.asciz	"No syscfg clock provided...\n"

l_.str.8:                               ; @.str.8
	.asciz	"stm32_pwr_wakeup"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.9:                               ; @.str.9
	.asciz	"Failed to init wake up irq\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to set wake up irq\n"

	.no_dead_strip	_stm32mp1_parse_data
.subsections_via_symbols
