	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmatest_mismatch
_dmatest_mismatch:                      ## @dmatest_mismatch
	.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	%r8d, %ebx
	movl	%edx, %r14d
	movl	%esi, %r12d
	movl	%edi, %r15d
	movl	%ecx, %edi
	movl	%r9d, %esi
	callq	_gen_inv_idx
	movq	_current@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rsi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	movl	%r12d, %ecx
	xorl	%r15d, %ecx
	movq	_PATTERN_COPY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r12d, %edx
	je	LBB0_5
## %bb.3:
	movq	_PATTERN_OVERWRITE@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	testl	%ecx, %edx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	movq	_PATTERN_SRC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rcx, %rdi
LBB0_6:
	orl	%r12d, %eax
	movl	%r14d, %edx
	movl	%eax, %ecx
	movl	%r15d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: srcbuf[0x%x] overwritten! Expected %02x, got %02x\n"

	.comm	_PATTERN_COPY,4,2               ## @PATTERN_COPY
	.comm	_PATTERN_OVERWRITE,4,2          ## @PATTERN_OVERWRITE
L_.str.1:                               ## @.str.1
	.asciz	"%s: dstbuf[0x%x] not copied! Expected %02x, got %02x\n"

	.comm	_PATTERN_SRC,4,2                ## @PATTERN_SRC
L_.str.2:                               ## @.str.2
	.asciz	"%s: dstbuf[0x%x] was copied! Expected %02x, got %02x\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: dstbuf[0x%x] mismatch! Expected %02x, got %02x\n"

	.no_dead_strip	_dmatest_mismatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmatest_mismatch
_dmatest_mismatch:                      ; @dmatest_mismatch
	.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	x22, x4
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x3
	mov	x1, x5
	bl	_gen_inv_idx
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x1, [x8]
	cbz	w22, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	eor	w8, w21, w19
Lloh5:
	adrp	x9, _PATTERN_COPY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PATTERN_COPY@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_5
; %bb.3:
Lloh8:
	adrp	x10, _PATTERN_OVERWRITE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PATTERN_OVERWRITE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x9, _PATTERN_SRC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PATTERN_SRC@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, l_.str.2@PAGE
Lloh17:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh18:
	adrp	x11, l_.str.3@PAGE
Lloh19:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_6:
	orr	w3, w0, w21
	mov	x0, x8
	mov	x2, x20
	mov	x4, 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
	b	_pr_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: srcbuf[0x%x] overwritten! Expected %02x, got %02x\n"

	.comm	_PATTERN_COPY,4,2               ; @PATTERN_COPY
	.comm	_PATTERN_OVERWRITE,4,2          ; @PATTERN_OVERWRITE
l_.str.1:                               ; @.str.1
	.asciz	"%s: dstbuf[0x%x] not copied! Expected %02x, got %02x\n"

	.comm	_PATTERN_SRC,4,2                ; @PATTERN_SRC
l_.str.2:                               ; @.str.2
	.asciz	"%s: dstbuf[0x%x] was copied! Expected %02x, got %02x\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: dstbuf[0x%x] mismatch! Expected %02x, got %02x\n"

	.no_dead_strip	_dmatest_mismatch
.subsections_via_symbols
