	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_dfsdm_channel_parse_of
_stm32_dfsdm_channel_parse_of:          ## @stm32_dfsdm_channel_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %r15d
	movl	(%rsi), %edi
	leaq	8(%rdx), %rbx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_of_property_read_u32_index
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movq	(%rbx), %rdx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_4
## %bb.5:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	movl	(%r12), %edi
	addq	$16, %r14
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edx
	movq	%r14, %rcx
	callq	_of_property_read_string_index
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	8(%rbx), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rcx,%r14,8)
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edx
	callq	_of_property_read_string_index
	movq	%r12, %rcx
	xorl	%r12d, %r12d
	movl	$0, %r13d
	testl	%eax, %eax
	movl	%r15d, %ebx
	movq	%rcx, %r15
	jne	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi
	movq	_stm32_dfsdm_chan_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stm32_dfsdm_str2val
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_13
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, 8(%rax,%r14,8)
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movl	%ebx, %edx
	callq	_of_property_read_string_index
	movl	%ebx, %edx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	-56(%rbp), %rdi
	movq	_stm32_dfsdm_chan_src@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stm32_dfsdm_str2val
	movl	%ebx, %edx
	movl	%eax, %r12d
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_13
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, 12(%rax,%r14,8)
	movl	(%r15), %edi
	leaq	(%rax,%r14,8), %r14
	addq	$16, %r14
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rcx
	callq	_of_property_read_u32_index
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movq	$0, (%r14)
	jmp	LBB0_13
LBB0_1:
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_13
LBB0_6:
	movl	%eax, %r13d
	leaq	L_.str.4(%rip), %rsi
LBB0_2:
	movq	%r12, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %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	"st,adc-channels"

L_.str.1:                               ## @.str.1
	.asciz	" Error parsing 'st,adc-channels' for idx %d\n"

L_.str.2:                               ## @.str.2
	.asciz	" Error bad channel number %d (max = %d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"st,adc-channel-names"

L_.str.4:                               ## @.str.4
	.asciz	" Error parsing 'st,adc-channel-names' for idx %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"st,adc-channel-types"

	.comm	_stm32_dfsdm_chan_type,4,2      ## @stm32_dfsdm_chan_type
L_.str.6:                               ## @.str.6
	.asciz	"st,adc-channel-clk-src"

	.comm	_stm32_dfsdm_chan_src,4,2       ## @stm32_dfsdm_chan_src
L_.str.7:                               ## @.str.7
	.asciz	"st,adc-alt-channel"

	.no_dead_strip	_stm32_dfsdm_channel_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_channel_parse_of
_stm32_dfsdm_channel_parse_of:          ; @stm32_dfsdm_channel_parse_of
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
	mov	x22, x2
	ldr	w20, [x22], #8
	ldr	w0, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_of_property_read_u32_index
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x2, [x22]
	ldr	x8, [x23]
	cmp	x2, x8
	b.hs	LBB0_6
; %bb.2:
	ldr	w0, [x19]
	add	x3, x24, #16
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_of_property_read_string_index
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x23, [x23, #8]
	ldr	x22, [x22]
	mov	w8, #24
	mul	x8, x22, x8
	str	x22, [x23, x8]
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.5@PAGE
Lloh5:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x3, sp, #8
	mov	x2, x20
	bl	_of_property_read_string_index
	cbz	w0, LBB0_10
; %bb.4:
	mov	w21, #0
	b	LBB0_11
LBB0_5:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_7:
	mov	x21, x0
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_8:
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_10:
	ldr	x0, [sp, #8]
Lloh15:
	adrp	x8, _stm32_dfsdm_chan_type@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stm32_dfsdm_chan_type@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_stm32_dfsdm_str2val
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
LBB0_11:
	mov	w8, #24
	madd	x8, x22, x8, x23
	str	w21, [x8, #8]
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x3, sp, #8
	mov	x2, x20
	bl	_of_property_read_string_index
	cbz	w0, LBB0_13
; %bb.12:
	mov	w21, #0
	b	LBB0_14
LBB0_13:
	ldr	x0, [sp, #8]
Lloh20:
	adrp	x8, _stm32_dfsdm_chan_src@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stm32_dfsdm_chan_src@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_stm32_dfsdm_str2val
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
LBB0_14:
	mov	w8, #24
	madd	x8, x22, x8, x23
	str	w21, [x8, #12]
	ldr	w0, [x19]
	add	x19, x8, #16
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_of_property_read_u32_index
	mov	w21, #0
	tbz	w0, #31, LBB0_9
; %bb.15:
	str	xzr, [x19]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"st,adc-channels"

l_.str.1:                               ; @.str.1
	.asciz	" Error parsing 'st,adc-channels' for idx %d\n"

l_.str.2:                               ; @.str.2
	.asciz	" Error bad channel number %d (max = %d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"st,adc-channel-names"

l_.str.4:                               ; @.str.4
	.asciz	" Error parsing 'st,adc-channel-names' for idx %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"st,adc-channel-types"

	.comm	_stm32_dfsdm_chan_type,4,2      ; @stm32_dfsdm_chan_type
l_.str.6:                               ; @.str.6
	.asciz	"st,adc-channel-clk-src"

	.comm	_stm32_dfsdm_chan_src,4,2       ; @stm32_dfsdm_chan_src
l_.str.7:                               ; @.str.7
	.asciz	"st,adc-alt-channel"

	.no_dead_strip	_stm32_dfsdm_channel_parse_of
.subsections_via_symbols
