	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_parse_of
_stm32_dfsdm_parse_of:                  ## @stm32_dfsdm_parse_of
	.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
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%rax), %ecx
	movl	%ecx, 24(%r14)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	16(%r14), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	32(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_7
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	$0, 40(%r14)
LBB0_13:
	movq	32(%r14), %rdi
	jmp	LBB0_15
LBB0_14:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
LBB0_15:
	callq	_clk_get_rate
	movq	%rax, %r12
	movq	(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %rdx
	callq	_of_property_read_u32
	xorl	%ebx, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.16:
	movl	-40(%rbp), %esi
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	callq	_div_u64_rem
	movq	%rax, %rcx
	movl	-36(%rbp), %esi
	cmpl	$1, %esi
	sbbq	$-1, %rcx
	leaq	-257(%rcx), %rax
	cmpq	$-256, %rax
	ja	LBB0_18
## %bb.17:
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_18:
	leaq	-1(%rcx), %rax
	movq	%rax, (%r14)
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_20
## %bb.19:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_21
LBB0_20:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_21:
	movq	%rax, 8(%r14)
	testl	%esi, %esi
	je	LBB0_7
## %bb.22:
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	movl	-40(%rbp), %ecx
	movq	(%r14), %r8
	incq	%r8
	movl	-36(%rbp), %r9d
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_dev_warn
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get memory resource\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"dfsdm"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"Failed to get clock (%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"audio"

L_.str.4:                               ## @.str.4
	.asciz	"spi-max-frequency"

L_.str.5:                               ## @.str.5
	.asciz	"spi-max-frequency not achievable\n"

L_.str.6:                               ## @.str.6
	.asciz	"SPI clock not accurate\n"

L_.str.7:                               ## @.str.7
	.asciz	"%ld = %d * %d + %d\n"

	.no_dead_strip	_stm32_dfsdm_parse_of
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_dfsdm_parse_of
_stm32_dfsdm_parse_of:                  ; @stm32_dfsdm_parse_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
	ldr	w8, [x0]
	str	w8, [x20, #24]
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_16
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x0, [x20, #32]
	bl	_PTR_ERR
	mov	x20, x0
Lloh9:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_17
; %bb.7:
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_17
LBB0_8:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	str	xzr, [x20, #40]
LBB0_10:
	ldr	x0, [x20, #32]
	b	LBB0_12
LBB0_11:
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_10
LBB0_12:
	bl	_clk_get_rate
	mov	x21, x0
	ldr	x0, [x19]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	sub	x2, x29, #36
	bl	_of_property_read_u32
	tbnz	w0, #31, LBB0_20
; %bb.13:
	ldur	w1, [x29, #-36]
	add	x2, sp, #40
	mov	x0, x21
	bl	_div_u64_rem
	ldr	w8, [sp, #40]
	cmp	w8, #0
	cinc	x9, x0, ne
	sub	x10, x9, #257
	cmn	x10, #256
	b.hi	LBB0_18
; %bb.14:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_15:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	sub	x10, x9, #1
	udiv	x9, x21, x9
	stp	x10, x9, [x20]
	cbz	w8, LBB0_20
; %bb.19:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	ldr	x8, [x20]
	add	x8, x8, #1
	ldur	w9, [x29, #-36]
	ldr	w10, [sp, #40]
	stp	x8, x10, [sp, #16]
	stp	x21, x9, [sp]
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_20:
	mov	w20, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get memory resource\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"dfsdm"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"Failed to get clock (%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"audio"

l_.str.4:                               ; @.str.4
	.asciz	"spi-max-frequency"

l_.str.5:                               ; @.str.5
	.asciz	"spi-max-frequency not achievable\n"

l_.str.6:                               ; @.str.6
	.asciz	"SPI clock not accurate\n"

l_.str.7:                               ; @.str.7
	.asciz	"%ld = %d * %d + %d\n"

	.no_dead_strip	_stm32_dfsdm_parse_of
.subsections_via_symbols
