	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad7879_parse_dt
_ad7879_parse_dt:                       ## @ad7879_parse_dt
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_device_property_read_u32
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movq	-32(%rbp), %rax
	movq	%rax, 24(%r15)
	leaq	20(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u8
	leaq	16(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u8
	leaq	12(%r15), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u8
	leaq	8(%r15), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u8
	leaq	4(%r15), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_u8
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_property_read_bool
	movl	%eax, (%r15)
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adi,resistance-plate-x"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get resistance-plate-x property\n"

L_.str.2:                               ## @.str.2
	.asciz	"adi,first-conversion-delay"

L_.str.3:                               ## @.str.3
	.asciz	"adi,acquisition-time"

L_.str.4:                               ## @.str.4
	.asciz	"adi,median-filter-size"

L_.str.5:                               ## @.str.5
	.asciz	"adi,averaging"

L_.str.6:                               ## @.str.6
	.asciz	"adi,conversion-interval"

L_.str.7:                               ## @.str.7
	.asciz	"touchscreen-swapped-x-y"

	.no_dead_strip	_ad7879_parse_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad7879_parse_dt
_ad7879_parse_dt:                       ; @ad7879_parse_dt
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_device_property_read_u32
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #8]
	str	x8, [x20, #24]
	add	x2, x20, #20
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_u8
	add	x2, x20, #16
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_u8
	add	x2, x20, #12
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_u8
	add	x2, x20, #8
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_u8
	add	x2, x20, #4
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_u8
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_device_property_read_bool
	str	w0, [x20]
LBB0_3:
	mov	x0, x19
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adi,resistance-plate-x"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get resistance-plate-x property\n"

l_.str.2:                               ; @.str.2
	.asciz	"adi,first-conversion-delay"

l_.str.3:                               ; @.str.3
	.asciz	"adi,acquisition-time"

l_.str.4:                               ; @.str.4
	.asciz	"adi,median-filter-size"

l_.str.5:                               ; @.str.5
	.asciz	"adi,averaging"

l_.str.6:                               ; @.str.6
	.asciz	"adi,conversion-interval"

l_.str.7:                               ; @.str.7
	.asciz	"touchscreen-swapped-x-y"

	.no_dead_strip	_ad7879_parse_dt
.subsections_via_symbols
