	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_dirty_stub                  ## -- Begin function do_dirty_stub
	.p2align	4, 0x90
_do_dirty_stub:                         ## @do_dirty_stub
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_start@GOTPCREL(%rip), %r15
	leal	(%r14,%r14), %ebx
	movl	(%r15), %esi
	addl	%ebx, %esi
	leaq	L_.str(%rip), %rdi
	callq	_assem_debug
	movq	_source@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	andl	$-4, %edi
	movq	_EAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emit_movimm
	movq	_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EBX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emit_movimm
	movl	(%r12), %eax
	movq	_slen@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,2), %edi
	addl	$2, %edi
	andl	$-4, %edi
	andl	$-4, %eax
	subl	%eax, %edi
	movq	_ECX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emit_movimm
	addl	(%r15), %ebx
	movq	_slave@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$12, %esi
	callq	_emit_movimm
	movl	_verify_code@GOTPCREL(%rip), %edi
	callq	_emit_call
	movq	_out@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movl	%r14d, %edi
	callq	_load_regs_entry
	cmpl	(%r15), %ebx
	movq	_instr_addr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	(%rax,%rcx,4), %edi
	cmovel	%edi, %ebx
	callq	_emit_jmp
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_dirty_stub %x\n"

	.comm	_start,4,2                      ## @start
	.comm	_source,8,3                     ## @source
	.comm	_slen,4,2                       ## @slen
	.comm	_alignedsource,8,3              ## @alignedsource
	.comm	_EAX,4,2                        ## @EAX
	.comm	_copy,8,3                       ## @copy
	.comm	_EBX,4,2                        ## @EBX
	.comm	_ECX,4,2                        ## @ECX
	.comm	_slave,4,2                      ## @slave
	.comm	_verify_code,4,2                ## @verify_code
	.comm	_out,8,3                        ## @out
	.comm	_instr_addr,8,3                 ## @instr_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_dirty_stub                  ; -- Begin function do_dirty_stub
	.p2align	2
_do_dirty_stub:                         ; @do_dirty_stub
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x20, _start@GOTPAGE
Lloh1:
	ldr	x20, [x20, _start@GOTPAGEOFF]
	ldr	w8, [x20]
	lsl	w21, w0, #1
	add	w1, w8, w21
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assem_debug
Lloh4:
	adrp	x22, _source@GOTPAGE
Lloh5:
	ldr	x22, [x22, _source@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w0, w8, #0xfffffffc
Lloh6:
	adrp	x8, _EAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_emit_movimm
Lloh9:
	adrp	x8, _copy@GOTPAGE
Lloh10:
	ldr	x8, [x8, _copy@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _EBX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBX@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_emit_movimm
	ldr	w8, [x22]
Lloh15:
	adrp	x9, _slen@GOTPAGE
Lloh16:
	ldr	x9, [x9, _slen@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	add	w9, w8, w9, lsl #1
	add	w9, w9, #2
	and	w9, w9, #0xfffffffc
	and	w8, w8, #0xfffffffc
	sub	w0, w9, w8
Lloh18:
	adrp	x8, _ECX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ECX@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_emit_movimm
	ldr	w8, [x20]
Lloh21:
	adrp	x9, _slave@GOTPAGE
Lloh22:
	ldr	x9, [x9, _slave@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	add	w8, w8, w21
	add	w0, w8, w9
	mov	w1, #12
	bl	_emit_movimm
Lloh24:
	adrp	x0, _verify_code@GOTPAGE
Lloh25:
	ldr	x0, [x0, _verify_code@GOTPAGEOFF]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_emit_call
Lloh26:
	adrp	x20, _out@GOTPAGE
Lloh27:
	ldr	x20, [x20, _out@GOTPAGEOFF]
	ldr	w21, [x20]
	mov	x0, x19
	bl	_load_regs_entry
Lloh28:
	adrp	x8, _instr_addr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _instr_addr@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh30:
	ldr	x8, [x8]
	ldr	w0, [x8, w19, sxtw #2]
	cmp	w21, w9
	csel	w19, w0, w21, eq
	bl	_emit_jmp
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_dirty_stub %x\n"

	.comm	_start,4,2                      ; @start
	.comm	_source,8,3                     ; @source
	.comm	_slen,4,2                       ; @slen
	.comm	_alignedsource,8,3              ; @alignedsource
	.comm	_EAX,4,2                        ; @EAX
	.comm	_copy,8,3                       ; @copy
	.comm	_EBX,4,2                        ; @EBX
	.comm	_ECX,4,2                        ; @ECX
	.comm	_slave,4,2                      ; @slave
	.comm	_verify_code,4,2                ; @verify_code
	.comm	_out,8,3                        ; @out
	.comm	_instr_addr,8,3                 ; @instr_addr
.subsections_via_symbols
