	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wine_dbgstr_an                 ## -- Begin function wine_dbgstr_an
	.p2align	4, 0x90
_wine_dbgstr_an:                        ## @wine_dbgstr_an
	.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
	movq	%rdi, %r13
	movq	%rdi, %rax
	shrq	$16, %rax
	testw	%ax, %ax
	je	LBB0_20
## %bb.1:
	movl	%esi, %r15d
	cmpl	$-1, %esi
	jne	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %r15d
LBB0_3:
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	cmovgl	%r15d, %r12d
	leal	(,%r12,4), %esi
	movl	$300, %edi                      ## imm = 0x12C
	callq	_min
	movb	$34, _wine_dbgstr_an.buffer(%rip)
	leaq	_wine_dbgstr_an.buffer(%rip), %r14
	leaq	_wine_dbgstr_an.buffer+1(%rip), %rdx
	testl	%r15d, %r15d
	jle	LBB0_23
## %bb.4:
	cltq
	leaq	(%rax,%r14), %r10
	incq	%r10
	leaq	_wine_dbgstr_an.buffer+1(%rip), %rax
	cmpq	%rax, %r10
	jb	LBB0_23
## %bb.5:
	movl	%r12d, %edx
	decq	%rdx
	xorl	%esi, %esi
	leaq	_wine_dbgstr_an.hex(%rip), %r8
	leaq	LJTI0_0(%rip), %r9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rsi), %edi
	leal	-9(%rdi), %ebx
	cmpb	$25, %bl
	ja	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%bl, %ebx
	movslq	(%r9,%rbx,4), %rbx
	addq	%r9, %rbx
	jmpq	*%rbx
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movw	$29788, (%rax)                  ## imm = 0x745C
	addq	$2, %rax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$92, %dil
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movw	$23644, (%rax)                  ## imm = 0x5C5C
	addq	$2, %rax
	jmp	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	-32(%rdi), %ebx
	cmpb	$94, %bl
	ja	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	%dil, (%rax)
	incq	%rax
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movw	$28252, (%rax)                  ## imm = 0x6E5C
	addq	$2, %rax
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movw	$29276, (%rax)                  ## imm = 0x725C
	addq	$2, %rax
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movw	$8796, (%rax)                   ## imm = 0x225C
	addq	$2, %rax
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%dil, %ebx
	movw	$30812, (%rax)                  ## imm = 0x785C
	movq	%rbx, %rdi
	shrq	$4, %rdi
	movzbl	(%rdi,%r8), %ecx
	movb	%cl, 2(%rax)
	andl	$15, %ebx
	movzbl	(%rbx,%r8), %ecx
	movb	%cl, 3(%rax)
	addq	$4, %rax
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%esi, %ecx
	incq	%rsi
	cmpl	%ecx, %edx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r10, %rax
	jbe	LBB0_6
LBB0_19:
	subl	%esi, %r12d
	jmp	LBB0_24
LBB0_20:
	testq	%r13, %r13
	je	LBB0_29
## %bb.21:
	movq	%r13, %rdi
	callq	_LOWORD
	leaq	_wine_dbgstr_an.buffer(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
	jmp	LBB0_28
LBB0_23:
	movq	%rdx, %rax
LBB0_24:
	movb	$34, (%rax)
	cmpl	$2, %r12d
	jb	LBB0_26
## %bb.25:
	movw	$11822, 1(%rax)                 ## imm = 0x2E2E
	movb	$46, 3(%rax)
	addq	$4, %rax
	jmp	LBB0_27
LBB0_26:
	incq	%rax
LBB0_27:
	movb	$0, (%rax)
LBB0_28:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_28
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @wine_dbgstr_an.hex
_wine_dbgstr_an.hex:
	.ascii	"0123456789abcdef"

.zerofill __DATA,__bss,_wine_dbgstr_an.buffer,256,4 ## @wine_dbgstr_an.buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wine_dbgstr_an                 ; -- Begin function wine_dbgstr_an
	.p2align	2
_wine_dbgstr_an:                        ; @wine_dbgstr_an
	.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
	tst	x0, #0xffff0000
	b.eq	LBB0_21
; %bb.1:
	mov	x20, x1
	cmn	w1, #1
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
LBB0_3:
	cmp	w20, #0
	csel	w21, w20, wzr, gt
	lsl	w1, w21, #2
	mov	w0, #300
	bl	_min
Lloh0:
	adrp	x10, _wine_dbgstr_an.buffer@PAGE
Lloh1:
	add	x10, x10, _wine_dbgstr_an.buffer@PAGEOFF
	mov	w9, #34
	mov	x8, x10
	strb	w9, [x8], #1
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.4:
	add	x10, x10, w0, sxtw
	add	x10, x10, #1
Lloh2:
	adrp	x11, _wine_dbgstr_an.buffer@PAGE+1
Lloh3:
	add	x11, x11, _wine_dbgstr_an.buffer@PAGEOFF+1
	cmp	x10, x11
	b.lo	LBB0_18
; %bb.5:
Lloh4:
	adrp	x8, _wine_dbgstr_an.buffer@PAGE+1
Lloh5:
	add	x8, x8, _wine_dbgstr_an.buffer@PAGEOFF+1
	mov	w11, #23644
	mov	w12, #30812
Lloh6:
	adrp	x13, _wine_dbgstr_an.hex@PAGE
Lloh7:
	add	x13, x13, _wine_dbgstr_an.hex@PAGEOFF
	mov	w14, #29788
	mov	w15, #28252
	mov	w16, #29276
	mov	w17, #8796
Lloh8:
	adrp	x0, lJTI0_0@PAGE
Lloh9:
	add	x0, x0, lJTI0_0@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x19], #1
	sub	w2, w1, #9
	cmp	w2, #25
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x3, LBB0_8
	ldrb	w4, [x0, x2]
	add	x3, x3, x4, lsl #2
	br	x3
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	strh	w14, [x8], #2
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w1, #92
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	strh	w11, [x8], #2
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w2, w1, #32
	cmp	w2, #94
	b.hi	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	strb	w1, [x8], #1
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	strh	w15, [x8], #2
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	strh	w16, [x8], #2
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	strh	w17, [x8], #2
	subs	w21, w21, #1
	b.ne	LBB0_17
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	strh	w12, [x8]
	lsr	x2, x1, #4
	ldrb	w2, [x13, x2]
	strb	w2, [x8, #2]
	and	x1, x1, #0xf
	ldrb	w1, [x13, x1]
	strb	w1, [x8, #3]
	add	x8, x8, #4
	subs	w21, w21, #1
	b.eq	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x8, x10
	b.ls	LBB0_6
LBB0_18:
	mov	x10, x8
	strb	w9, [x10], #1
	cmp	w21, #2
	b.lo	LBB0_20
; %bb.19:
	mov	w9, #11822
	sturh	w9, [x8, #1]
	add	x10, x8, #4
	mov	w9, #46
	strb	w9, [x8, #3]
LBB0_20:
	strb	wzr, [x10]
Lloh10:
	adrp	x19, _wine_dbgstr_an.buffer@PAGE
Lloh11:
	add	x19, x19, _wine_dbgstr_an.buffer@PAGEOFF
	b	LBB0_24
LBB0_21:
	cbz	x19, LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_LOWORD
	mov	x2, x0
Lloh12:
	adrp	x19, _wine_dbgstr_an.buffer@PAGE
Lloh13:
	add	x19, x19, _wine_dbgstr_an.buffer@PAGEOFF
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_24
LBB0_23:
Lloh16:
	adrp	x19, l_.str@PAGE
Lloh17:
	add	x19, x19, l_.str@PAGEOFF
LBB0_24:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.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_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
                                        ; -- End function
_wine_dbgstr_an.hex:                    ; @wine_dbgstr_an.hex
	.ascii	"0123456789abcdef"

.zerofill __DATA,__bss,_wine_dbgstr_an.buffer,256,0 ; @wine_dbgstr_an.buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

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

.subsections_via_symbols
