	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_set_region_mappings
_process_set_region_mappings:           ## @process_set_region_mappings
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$2, %esi
	jb	LBB0_32
## %bb.1:
	movq	%rdi, %r15
	movl	%esi, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	leaq	-48(%rbp), %rbx
	je	LBB0_31
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rax
	movq	%rax, -48(%rbp)
	movb	(%rax), %cl
	movl	%ecx, %edx
	andb	$-33, %dl
	cmpb	$82, %dl
	jne	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	xorl	%edi, %edi
	cmpb	$44, 1(%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_parse_hex
	movq	%rax, %r12
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpb	$44, (%rax)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	xorl	%edi, %edi
	cmpb	$0, 1(%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_parse_hex
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	movsbl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	subq	$1, %r12
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	%r13, %r12
	seta	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %r12
	addq	%r13, %r12
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	(%r15), %r12
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r12d
	subq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r12,%r13), %rsi
	incq	%r13
	movq	%r15, %rdi
	callq	_switch_region_table_read
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_switch_region_table_write
	decq	%rbx
	jne	LBB0_16
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$58, %cl
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_parse_hex
	movq	%rax, %r13
	movq	-48(%rbp), %rax
	xorl	%edi, %edi
	cmpb	$58, (%rax)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rax), %rcx
	movq	%rcx, -48(%rbp)
	xorl	%edi, %edi
	cmpb	$0, 1(%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_parse_hex
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	movsbl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	(%r15), %r13
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpq	8(%r15), %rbx
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_switch_region_table_write
	jmp	LBB0_30
LBB0_4:
	movl	%r14d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMWARN
	jmp	LBB0_28
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	jmp	LBB0_11
LBB0_31:
	xorl	%eax, %eax
	jmp	LBB0_32
LBB0_27:
	movq	(%r15), %rcx
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_DMWARN
	jmp	LBB0_28
LBB0_24:
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	jmp	LBB0_11
LBB0_26:
	movq	8(%r15), %rdx
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
LBB0_11:
	xorl	%eax, %eax
	callq	_DMWARN
LBB0_28:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_32:
	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	"invalid set_region_mappings argument: '%s'"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid set_region_mappings cycle length: %lu > %lu"

L_.str.2:                               ## @.str.2
	.asciz	"invalid set_region_mappings region number: %lu + %lu >= %lu"

L_.str.3:                               ## @.str.3
	.asciz	"invalid set_region_mappings region number: %lu >= %lu"

L_.str.4:                               ## @.str.4
	.asciz	"invalid set_region_mappings device: %lu >= %u"

	.no_dead_strip	_process_set_region_mappings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_set_region_mappings
_process_set_region_mappings:           ; @process_set_region_mappings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cmp	w1, #2
	b.lo	LBB0_25
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	mov	x26, #0
	mov	w24, #1
	mov	w23, #1
	mov	w25, w1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x26
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	mov	x26, x21
	cmp	x23, x25
	b.eq	LBB0_25
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x19, x23, lsl #3]
	str	x8, [sp, #24]
	ldrb	w9, [x8]
	and	w10, w9, #0xffffffdf
	cmp	w10, #82
	b.ne	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #24]
	ldrb	w8, [x8, #1]
	cmp	w8, #44
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	bl	_parse_hex
	mov	x21, x0
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cmp	w8, #44
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
	add	x9, x8, #1
	str	x9, [sp, #24]
	ldrb	w8, [x8, #1]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	bl	_parse_hex
	mov	x22, x0
	ldr	x8, [sp, #24]
	ldrsb	w0, [x8]
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x21, #0
	cset	w0, eq
	bl	_unlikely
	sub	x27, x21, #1
	cbnz	x0, LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x27, x26
	cset	w0, hi
	bl	_unlikely
	cbnz	x0, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	adds	x27, x22, x26
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x27, x8
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x22, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	x27, x24, x21
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x22, x22, #1
	add	x21, x26, #1
	add	x1, x27, x26
	mov	x0, x20
	bl	_switch_region_table_read
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_switch_region_table_write
	mov	x26, x21
	cbnz	x22, LBB0_15
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #58
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x26, #1
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	bl	_parse_hex
	mov	x21, x0
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cmp	w8, #58
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	str	x9, [sp, #24]
	ldrb	w8, [x8, #1]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	bl	_parse_hex
	mov	x22, x0
	ldr	x8, [sp, #24]
	ldrsb	w0, [x8]
	bl	_unlikely
	cbnz	x0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x21, x8
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	cmp	x22, x8
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_switch_region_table_write
	b	LBB0_3
LBB0_25:
	mov	w0, #0
	b	LBB0_32
LBB0_26:
	ldr	x8, [x19, w23, uxtw #3]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_31
LBB0_27:
	stp	x27, x26, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_31
LBB0_28:
	ldr	x8, [x20]
	stp	x22, x8, [sp, #8]
	str	x26, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_31
LBB0_29:
	ldr	x8, [x20]
	stp	x21, x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_30:
	ldr	x8, [x20, #8]
	stp	x22, x8, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_31:
	bl	_DMWARN
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_32:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid set_region_mappings argument: '%s'"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid set_region_mappings cycle length: %lu > %lu"

l_.str.2:                               ; @.str.2
	.asciz	"invalid set_region_mappings region number: %lu + %lu >= %lu"

l_.str.3:                               ; @.str.3
	.asciz	"invalid set_region_mappings region number: %lu >= %lu"

l_.str.4:                               ; @.str.4
	.asciz	"invalid set_region_mappings device: %lu >= %u"

	.no_dead_strip	_process_set_region_mappings
.subsections_via_symbols
