	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxt_prepare_cfg_mem
_mxt_prepare_cfg_mem:                   ## @mxt_prepare_cfg_mem
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	xorl	%r15d, %r15d
	cmpq	8(%rsi), %rdi
	jge	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	cmpq	8(%r12), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-48(%rbp), %r9
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	addq	16(%r12), %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	-48(%rbp), %rax
	addq	%rax, (%r12)
	movl	-52(%rbp), %esi
	movq	%rbx, %rdi
	callq	_mxt_get_object
	movl	-44(%rbp), %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mxt_obj_size
	cmpl	%eax, %ebx
	jbe	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ebx
	movq	%r15, %rdi
	callq	_mxt_obj_size
	subl	%eax, %ebx
	movl	-52(%rbp), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	16(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_13 Depth=2
	movslq	-48(%rbp), %rdi
	addq	(%r12), %rdi
	movq	%rdi, (%r12)
	incl	%ebx
	cmpl	-44(%rbp), %ebx
	jb	LBB0_13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_mxt_obj_size
	cmpl	-44(%rbp), %eax
	jbe	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_mxt_obj_size
	subl	-44(%rbp), %eax
	movl	-52(%rbp), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_dev_warn
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %ebx
	movq	%r15, %rdi
	callq	_mxt_obj_instances
	cmpl	%eax, %ebx
	jae	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %ebx
	movq	%r15, %rdi
	callq	_mxt_obj_size
	cmpl	$0, -44(%rbp)
	je	LBB0_7
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	imull	-68(%rbp), %r13d
	addl	%ebx, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=2
	incl	%r14d
	cmpl	-44(%rbp), %r14d
	jae	LBB0_7
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	addq	16(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	movslq	-48(%rbp), %rax
	addq	%rax, (%r12)
	movq	%r15, %rdi
	callq	_mxt_obj_size
	cmpl	%eax, %r14d
	jg	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	24(%r12), %eax
	leal	(%r14,%r13), %ecx
	subl	%eax, %ecx
	cmpl	28(%r12), %ecx
	jae	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	-72(%rbp), %eax
	movq	32(%r12), %rdx
	movl	%ecx, %ecx
	movl	%eax, (%rdx,%rcx,4)
	jmp	LBB0_31
LBB0_27:
	movl	-52(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %ecx
	jmp	LBB0_15
LBB0_14:
	movl	-52(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %ecx
LBB0_15:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_32:
	movl	4(%r15), %ecx
	movl	%r13d, %r8d
	subl	%eax, %r8d
	addl	%r14d, %r8d
	leaq	L_.str.7(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_3:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_23:
	leaq	L_.str.6(%rip), %rsi
LBB0_5:
	xorl	%r15d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$40, %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	"%x %x %x%n"

L_.str.1:                               ## @.str.1
	.asciz	"Bad format: failed to parse object\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"%hhx%n"

L_.str.3:                               ## @.str.3
	.asciz	"Bad format in T%d at %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Discarding %zu byte(s) in T%u\n"

L_.str.5:                               ## @.str.5
	.asciz	"Zeroing %zu byte(s) in T%d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Object instances exceeded!\n"

L_.str.7:                               ## @.str.7
	.asciz	"Bad object: reg:%d, T%d, ofs=%d\n"

	.no_dead_strip	_mxt_prepare_cfg_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxt_prepare_cfg_mem
_mxt_prepare_cfg_mem:                   ; @mxt_prepare_cfg_mem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	x8, x9, [x1]
	cmp	x8, x9
	b.ge	LBB0_22
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	add	x28, sp, #48
	add	x10, sp, #52
	ldr	x9, [x0]
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	add	x11, sp, #56
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x23, l_.str.2@PAGE
Lloh3:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x20]
	cmp	x8, x9
	add	x10, sp, #52
	add	x11, sp, #56
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	b.ge	LBB0_22
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x20, #16]
	add	x0, x9, x8
	stp	x10, x28, [sp, #8]
	add	x2, sp, #60
	str	x11, [sp]
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_27
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [sp, #48]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
	ldr	w1, [sp, #60]
	mov	x0, x21
	bl	_mxt_get_object
	ldr	w19, [sp, #52]
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	bl	_mxt_obj_size
	cmp	w19, w0
	b.ls	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w19, [sp, #52]
	mov	x0, x26
	bl	_mxt_obj_size
	sub	w2, w19, w0
	ldr	w3, [sp, #60]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w19, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
	ldr	x8, [x20]
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x20, #16]
	add	x0, x8, x9
	str	x28, [sp]
	add	x2, sp, #44
	mov	x1, x23
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_24
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrsw	x8, [sp, #48]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
	add	w19, w19, #1
	ldr	w9, [sp, #52]
	cmp	w19, w9
	b.lo	LBB0_9
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_mxt_obj_size
	ldr	w8, [sp, #52]
	cmp	w0, w8
	b.ls	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_mxt_obj_size
	ldr	w8, [sp, #52]
	sub	w2, w0, w8
	ldr	w3, [sp, #60]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_dev_warn
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w19, [sp, #56]
	mov	x0, x26
	bl	_mxt_obj_instances
	cmp	w19, w0
	b.hs	LBB0_29
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x26]
	mov	x0, x26
	bl	_mxt_obj_size
	ldr	w8, [sp, #52]
	cbz	w8, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x0
	mov	w24, #0
	ldr	w19, [sp, #56]
	madd	w22, w19, w0, w25
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	w24, w24, #1
	ldr	w8, [sp, #52]
	cmp	w24, w8
	b.hs	LBB0_2
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	add	x0, x9, x8
	str	x28, [sp]
	add	x2, sp, #44
	mov	x1, x23
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldrsw	x8, [sp, #48]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
	mov	x0, x26
	bl	_mxt_obj_size
	cmp	w24, w0
	b.gt	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=2
	ldp	w8, w10, [x20, #24]
	add	w9, w22, w24
	sub	w9, w9, w8
	cmp	w9, w10
	b.hs	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	w8, [sp, #44]
	ldr	x10, [x20, #32]
	str	w8, [x10, w9, uxtw #2]
	b	LBB0_17
LBB0_22:
	mov	w0, #0
	b	LBB0_31
LBB0_23:
	ldr	w8, [sp, #60]
	str	x24, [sp, #8]
	b	LBB0_25
LBB0_24:
	ldr	w8, [sp, #60]
	str	x19, [sp, #8]
LBB0_25:
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_26:
	madd	w9, w27, w19, w25
	sub	w8, w9, w8
	add	w8, w8, w24
	ldr	w9, [x26, #4]
	stp	x22, x9, [sp]
	str	x8, [sp, #16]
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_27:
	cbz	w0, LBB0_31
; %bb.28:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_30:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_dev_err
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_31:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%x %x %x%n"

l_.str.1:                               ; @.str.1
	.asciz	"Bad format: failed to parse object\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"%hhx%n"

l_.str.3:                               ; @.str.3
	.asciz	"Bad format in T%d at %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Discarding %zu byte(s) in T%u\n"

l_.str.5:                               ; @.str.5
	.asciz	"Zeroing %zu byte(s) in T%d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Object instances exceeded!\n"

l_.str.7:                               ; @.str.7
	.asciz	"Bad object: reg:%d, T%d, ofs=%d\n"

	.no_dead_strip	_mxt_prepare_cfg_mem
.subsections_via_symbols
