	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wine_dbgstr_wn                 ## -- Begin function wine_dbgstr_wn
	.p2align	4, 0x90
_wine_dbgstr_wn:                        ## @wine_dbgstr_wn
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	%rdi, %rax
	shrq	$16, %rax
	testw	%ax, %ax
	je	LBB0_21
## %bb.1:
	movl	%esi, %ebx
	cmpl	$-1, %esi
	jne	LBB0_4
## %bb.2:
	movl	$-1, %ebx
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	cmpl	$0, (%rax)
	leaq	4(%rax), %rax
	jne	LBB0_3
LBB0_4:
	xorl	%r13d, %r13d
	testl	%ebx, %ebx
	cmovgl	%ebx, %r13d
	leal	(%r13,%r13,4), %esi
	movl	$300, %edi                      ## imm = 0x12C
	callq	_min
	movw	$8780, _wine_dbgstr_wn.buffer(%rip) ## imm = 0x224C
	leaq	_wine_dbgstr_wn.buffer(%rip), %r14
	leaq	_wine_dbgstr_wn.buffer+2(%rip), %rcx
	testl	%ebx, %ebx
	jle	LBB0_24
## %bb.5:
	cltq
	leaq	(%rax,%r14), %r15
	addq	$2, %r15
	leaq	_wine_dbgstr_wn.buffer+2(%rip), %rbx
	cmpq	%rbx, %r15
	jb	LBB0_24
## %bb.6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	decq	%r14
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rcx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r13,4), %edx
	leal	-9(%rdx), %eax
	cmpl	$25, %eax
	ja	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movw	$29788, (%rbx)                  ## imm = 0x745C
	addq	$2, %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$92, %edx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movw	$23644, (%rbx)                  ## imm = 0x5C5C
	addq	$2, %rbx
	jmp	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	leal	-32(%rdx), %eax
	cmpl	$94, %eax
	ja	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movb	%dl, (%rbx)
	incq	%rbx
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movw	$28252, (%rbx)                  ## imm = 0x6E5C
	addq	$2, %rbx
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movw	$29276, (%rbx)                  ## imm = 0x725C
	addq	$2, %rbx
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movw	$8796, (%rbx)                   ## imm = 0x225C
	addq	$2, %rbx
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rbx), %rdi
	movb	$92, (%rbx)
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rcx, %r12
	callq	_sprintf
	movq	%r12, %rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addq	$5, %rbx
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, %eax
	incq	%r13
	cmpl	%eax, %r14d
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r15, %rbx
	jbe	LBB0_7
LBB0_20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	%r13d, %eax
	movq	%rax, %r13
	leaq	_wine_dbgstr_wn.buffer(%rip), %r14
	jmp	LBB0_25
LBB0_21:
	testq	%r12, %r12
	je	LBB0_30
## %bb.22:
	movq	%r12, %rdi
	callq	_LOWORD
	leaq	_wine_dbgstr_wn.buffer(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	jmp	LBB0_29
LBB0_24:
	movq	%rcx, %rbx
LBB0_25:
	movb	$34, (%rbx)
	cmpl	$2, %r13d
	jb	LBB0_27
## %bb.26:
	movw	$11822, 1(%rbx)                 ## imm = 0x2E2E
	movb	$46, 3(%rbx)
	addq	$4, %rbx
	jmp	LBB0_28
LBB0_27:
	incq	%rbx
LBB0_28:
	movb	$0, (%rbx)
LBB0_29:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_wine_dbgstr_wn.buffer,256,4 ## @wine_dbgstr_wn.buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

L_.str.1:                               ## @.str.1
	.asciz	"#%04x"

L_.str.2:                               ## @.str.2
	.asciz	"%04x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wine_dbgstr_wn                 ; -- Begin function wine_dbgstr_wn
	.p2align	2
_wine_dbgstr_wn:                        ; @wine_dbgstr_wn
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	tst	x0, #0xffff0000
	b.eq	LBB0_22
; %bb.1:
	mov	x20, x1
	cmn	w1, #1
	b.ne	LBB0_4
; %bb.2:
	mov	x8, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8], #4
	add	w20, w20, #1
	cbnz	w9, LBB0_3
LBB0_4:
	cmp	w20, #0
	csel	w21, w20, wzr, gt
	add	w1, w21, w21, lsl #2
	mov	w0, #300
	bl	_min
Lloh0:
	adrp	x8, _wine_dbgstr_wn.buffer@PAGE
Lloh1:
	add	x8, x8, _wine_dbgstr_wn.buffer@PAGEOFF
	mov	w9, #8780
	mov	x22, x8
	strh	w9, [x22], #2
	cmp	w20, #1
	b.lt	LBB0_19
; %bb.5:
	add	x8, x8, w0, sxtw
	add	x23, x8, #2
Lloh2:
	adrp	x8, _wine_dbgstr_wn.buffer@PAGE+2
Lloh3:
	add	x8, x8, _wine_dbgstr_wn.buffer@PAGEOFF+2
	cmp	x23, x8
	b.lo	LBB0_19
; %bb.6:
Lloh4:
	adrp	x22, _wine_dbgstr_wn.buffer@PAGE+2
Lloh5:
	add	x22, x22, _wine_dbgstr_wn.buffer@PAGEOFF+2
	mov	w24, #23644
	mov	w26, #29788
	mov	w27, #28252
	mov	w28, #29276
	mov	w25, #8796
Lloh6:
	adrp	x20, lJTI0_0@PAGE
Lloh7:
	add	x20, x20, lJTI0_0@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x19], #4
	sub	w8, w2, #9
	cmp	w8, #25
	b.hi	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_9
	ldrb	w10, [x20, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	strh	w26, [x22], #2
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w2, #92
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	strh	w24, [x22], #2
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w2, #32
	cmp	w8, #94
	b.hi	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	strb	w2, [x22], #1
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	strh	w27, [x22], #2
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	strh	w28, [x22], #2
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	strh	w25, [x22], #2
	subs	w21, w21, #1
	b.ne	LBB0_18
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x22, #1
	mov	w8, #92
	strb	w8, [x22], #5
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	subs	w21, w21, #1
	b.eq	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x22, x23
	b.ls	LBB0_7
LBB0_19:
	mov	w9, #34
	mov	x8, x22
	strb	w9, [x8], #1
	cmp	w21, #2
	b.lo	LBB0_21
; %bb.20:
	mov	w8, #11822
	sturh	w8, [x22, #1]
	add	x8, x22, #4
	mov	w9, #46
	strb	w9, [x22, #3]
LBB0_21:
	strb	wzr, [x8]
Lloh10:
	adrp	x19, _wine_dbgstr_wn.buffer@PAGE
Lloh11:
	add	x19, x19, _wine_dbgstr_wn.buffer@PAGEOFF
	b	LBB0_25
LBB0_22:
	cbz	x19, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_LOWORD
	mov	x2, x0
Lloh12:
	adrp	x19, _wine_dbgstr_wn.buffer@PAGE
Lloh13:
	add	x19, x19, _wine_dbgstr_wn.buffer@PAGEOFF
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_25
LBB0_24:
Lloh16:
	adrp	x19, l_.str@PAGE
Lloh17:
	add	x19, x19, l_.str@PAGEOFF
LBB0_25:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_wine_dbgstr_wn.buffer,256,0 ; @wine_dbgstr_wn.buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

l_.str.1:                               ; @.str.1
	.asciz	"#%04x"

l_.str.2:                               ; @.str.2
	.asciz	"%04x"

.subsections_via_symbols
