	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em_text_change
_em_text_change:                        ## @em_text_change
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$48, %edx
	jb	LBB0_2
## %bb.1:
	movq	%rsi, %r12
	movslq	%edx, %rax
	movslq	(%rsi), %rdx
	leaq	48(%rdx), %rsi
	cmpq	%rax, %rsi
	ja	LBB0_2
## %bb.4:
	movq	16(%r12), %rax
	cmpq	%rax, 8(%r12)
	jle	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	jne	LBB0_7
## %bb.6:
	movq	24(%r12), %rax
	cmpq	32(%r12), %rax
	jg	LBB0_2
LBB0_7:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	192(%r12), %r15
	movq	_TS_AUTOLOAD@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	40(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %r8d
	callq	_textsearch_prepare
	movq	%rax, %r13
	testl	%ebx, (%r14)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_rtnl_lock
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%ebx, (%r14)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_rtnl_unlock
	orl	(%r14), %ebx
	movl	(%r12), %edx
	jmp	LBB0_8
LBB0_14:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_15:
	testl	%ebx, (%r14)
	je	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	callq	_textsearch_destroy
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_17:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movups	24(%r12), %xmm0
	movups	%xmm0, (%rax)
	movups	8(%r12), %xmm0
	movups	%xmm0, 16(%rax)
	movq	%r13, 32(%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	$40, (%rcx)
	movq	%rax, 8(%rcx)
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_18:
	movq	%r13, %rdi
	callq	_textsearch_destroy
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_TS_AUTOLOAD,4,2                ## @TS_AUTOLOAD
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_em_text_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em_text_change
_em_text_change:                        ; @em_text_change
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w2, #48
	b.lo	LBB0_3
; %bb.1:
	mov	x8, x2
	mov	x20, x1
	ldrsw	x2, [x1]
	add	x9, x2, #48
	cmp	x9, w8, sxtw
	b.hi	LBB0_3
; %bb.2:
	ldp	x8, x9, [x20, #8]
	cmp	x8, x9
	b.le	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x19, x3
	b.ne	LBB0_8
; %bb.7:
	ldp	x8, x9, [x20, #24]
	cmp	x8, x9
	b.gt	LBB0_3
LBB0_8:
	mov	w21, #0
	add	x22, x20, #192
Lloh2:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TS_AUTOLOAD@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TS_AUTOLOAD@GOTPAGEOFF]
Lloh6:
	adrp	x26, _ENOENT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ENOENT@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #40]
	ldr	w3, [x24]
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x4, x21
	bl	_textsearch_prepare
	mov	x23, x0
	ldr	w8, [x25]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_rtnl_lock
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_PTR_ERR
	ldr	w8, [x26]
	cmn	w0, w8
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25]
	tst	w8, w21
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_rtnl_unlock
	ldr	w8, [x25]
	orr	w21, w8, w21
	ldr	w2, [x20]
	b	LBB0_9
LBB0_15:
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_16:
	ldr	w8, [x25]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x23
	bl	_textsearch_destroy
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_4
LBB0_18:
	ldr	w1, [x24]
	mov	w21, #40
	mov	w0, #40
	bl	_kmalloc
	cbz	x0, LBB0_20
; %bb.19:
	mov	x8, x0
	mov	w0, #0
	ldur	q0, [x20, #24]
	str	q0, [x8]
	ldur	q0, [x20, #8]
	str	q0, [x8, #16]
	str	x23, [x8, #32]
	str	w21, [x19]
	str	x8, [x19, #8]
	b	LBB0_5
LBB0_20:
	mov	x0, x23
	bl	_textsearch_destroy
Lloh10:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_TS_AUTOLOAD,4,2                ; @TS_AUTOLOAD
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_em_text_change
.subsections_via_symbols
