	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function printf_encode_decode_tests
LCPI0_0:
	.long	10                              ## 0xa
	.long	10                              ## 0xa
	.long	5                               ## 0x5
	.long	10                              ## 0xa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_printf_encode_decode_tests:            ## @printf_encode_decode_tests
	.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	$584, %rsp                      ## imm = 0x248
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_printf_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.1:
	movl	$24, %r15d
	xorl	%r12d, %r12d
	movq	%r14, -624(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	incl	%r13d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_printf_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	(%r14,%r15), %rax
	movq	%rax, -624(%rbp)                ## 8-byte Spill
	movq	(%r14,%r15), %rdx
	addq	$24, %r15
	incl	%r12d
	testq	%rdx, %rdx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, -612(%rbp)               ## 4-byte Spill
	movl	-16(%r14,%r15), %ecx
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_printf_encode
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-560(%rbp), %rdi
	movl	$400, %esi                      ## imm = 0x190
	movq	%rbx, %rdx
	movq	%rdi, %rbx
	callq	_printf_decode
	movslq	%eax, %r13
	cmpl	-16(%r14,%r15), %r13d
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-624(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_wpa_hexdump
	movl	-612(%rbp), %r13d               ## 4-byte Reload
	incl	%r13d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r14,%r15), %rdx
	movq	%rbx, %rdi
	movl	$400, %esi                      ## imm = 0x190
	callq	_printf_decode
	movq	%rbx, %rdx
	movslq	%eax, %rbx
	cmpl	-16(%r14,%r15), %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-624(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rdx, %rdi
	movq	%rdx, %r14
	movq	%rbx, %rdx
	callq	_os_memcmp
	movq	%r14, %rdx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-612(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_6
LBB0_10:
	movb	$65, -155(%rbp)
	leaq	L_.str.4(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$5, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -155(%rbp)
	je	LBB0_12
## %bb.11:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_12:
	movb	$65, -155(%rbp)
	leaq	L_.str.6(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$5, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -155(%rbp)
	je	LBB0_14
## %bb.13:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$5, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_14:
	movb	$65, -154(%rbp)
	leaq	L_.str.6(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$6, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -154(%rbp)
	je	LBB0_16
## %bb.15:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$6, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_16:
	movb	$65, -153(%rbp)
	leaq	L_.str.6(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$7, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -153(%rbp)
	je	LBB0_18
## %bb.17:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$7, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_18:
	movb	$65, -152(%rbp)
	leaq	L_.str.6(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$8, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -152(%rbp)
	je	LBB0_20
## %bb.19:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_20:
	movb	$65, -151(%rbp)
	leaq	L_.str.6(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$9, %esi
	movl	$5, %ecx
	callq	_printf_encode
	cmpb	$65, -151(%rbp)
	je	LBB0_22
## %bb.21:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$9, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	incl	%r13d
LBB0_22:
	leaq	L_.str.4(%rip), %rdx
	leaq	-560(%rbp), %r14
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_printf_decode
	xorl	%r12d, %r12d
	cmpl	$2, %eax
	setne	%r12b
	addl	%r13d, %r12d
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_printf_decode
	xorl	$1, %eax
	movl	-560(%rbp), %ecx
	xorl	$10, %ecx
	xorl	%r15d, %r15d
	orl	%eax, %ecx
	setne	%r15b
	addl	%r12d, %r15d
	leaq	L_.str.9(%rip), %rdx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_printf_decode
	xorl	$1, %eax
	movl	-560(%rbp), %ecx
	xorl	$113, %ecx
	xorl	%r12d, %r12d
	orl	%eax, %ecx
	setne	%r12b
	addl	%r15d, %r12d
	leaq	L_.str.10(%rip), %rdx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_printf_decode
	xorl	$1, %eax
	movl	-560(%rbp), %ecx
	xorl	$97, %ecx
	xorl	%r15d, %r15d
	orl	%eax, %ecx
	setne	%r15b
	addl	%r12d, %r15d
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [10,10,5,10]
	movaps	%xmm0, -608(%rbp)
	movq	$5, -592(%rbp)
	leaq	-608(%rbp), %r14
	movq	%r14, %rdi
	callq	_int_array_len
	xorl	%ebx, %ebx
	cmpl	$5, %eax
	setne	%bl
	addl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_int_array_sort_unique
	movq	%r14, %rdi
	callq	_int_array_len
	xorl	%edx, %edx
	cmpl	$2, %eax
	setne	%dl
	addl	%ebx, %edx
	je	LBB0_23
## %bb.24:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_25
LBB0_23:
	xorl	%eax, %eax
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.26:
	addq	$584, %rsp                      ## imm = 0x248
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"printf encode/decode tests"

	.comm	_printf_tests,8,3               ## @printf_tests
L_.str.1:                               ## @.str.1
	.asciz	"%d: -> \"%s\""

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Error in decoding#1"

L_.str.3:                               ## @.str.3
	.asciz	"Error in decoding#2"

L_.str.4:                               ## @.str.4
	.asciz	"abcde"

L_.str.5:                               ## @.str.5
	.asciz	"Error in bounds checking#1"

L_.str.6:                               ## @.str.6
	.asciz	"\335\335\335\335\335"

L_.str.7:                               ## @.str.7
	.asciz	"Error in bounds checking#2(%d)"

L_.str.8:                               ## @.str.8
	.asciz	"\\xa"

L_.str.9:                               ## @.str.9
	.asciz	"\\xq"

L_.str.10:                              ## @.str.10
	.asciz	"\\a"

L_.str.11:                              ## @.str.11
	.asciz	"%d printf test(s) failed"

	.no_dead_strip	_printf_encode_decode_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function printf_encode_decode_tests
lCPI0_0:
	.long	10                              ; 0xa
	.long	10                              ; 0xa
	.long	5                               ; 0x5
	.long	10                              ; 0xa
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_printf_encode_decode_tests:            ; @printf_encode_decode_tests
	.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
	sub	sp, sp, #576
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x26, _printf_tests@GOTPAGE
Lloh9:
	ldr	x26, [x26, _printf_tests@GOTPAGEOFF]
	ldr	x20, [x26]
	ldr	x2, [x20]
	cbz	x2, LBB0_9
; %bb.1:
	mov	w27, #0
	mov	x28, #0
	mov	w24, #0
Lloh10:
	adrp	x19, l_.str.1@PAGE
Lloh11:
	add	x19, x19, l_.str.1@PAGEOFF
	sub	x23, x29, #196
	mov	x21, x20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x2, sp, #60
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x22
	bl	_wpa_hexdump
	add	w24, w24, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x26]
	add	x20, x21, x28
	ldr	x2, [x20, #24]!
	add	x28, x28, #24
	add	w27, w27, #1
	cbz	x2, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x21, x28
	ldr	w3, [x25, #8]
	sub	x0, x29, #196
	mov	w1, #100
	bl	_printf_encode
Lloh17:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	stp	x27, x23, [sp]
	mov	x1, x19
	bl	_wpa_printf
	add	x0, sp, #60
	sub	x2, x29, #196
	mov	w1, #400
	bl	_printf_decode
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	ldr	w8, [x25, #8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	add	x0, sp, #60
	mov	x2, x22
	bl	_os_memcmp
	cbz	x0, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	add	x2, sp, #60
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x22
	bl	_wpa_hexdump
	add	w24, w24, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x21, x28
	ldr	x2, [x8, #16]
	add	x0, sp, #60
	mov	w1, #400
	bl	_printf_decode
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x22, w0
	ldr	w8, [x25, #8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	add	x0, sp, #60
	mov	x2, x22
	bl	_os_memcmp
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_9:
	mov	w24, #0
LBB0_10:
	mov	w19, #65
	sturb	w19, [x29, #-191]
Lloh25:
	adrp	x2, l_.str.4@PAGE
Lloh26:
	add	x2, x2, l_.str.4@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #5
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-191]
	cmp	w8, #65
	b.eq	LBB0_12
; %bb.11:
Lloh27:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_12:
	sturb	w19, [x29, #-191]
Lloh32:
	adrp	x2, l_.str.6@PAGE
Lloh33:
	add	x2, x2, l_.str.6@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #5
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-191]
	cmp	w8, #65
	b.eq	LBB0_14
; %bb.13:
Lloh34:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	mov	w8, #5
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_14:
	mov	w19, #65
	sturb	w19, [x29, #-190]
Lloh39:
	adrp	x2, l_.str.6@PAGE
Lloh40:
	add	x2, x2, l_.str.6@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #6
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-190]
	cmp	w8, #65
	b.eq	LBB0_16
; %bb.15:
Lloh41:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	mov	w8, #6
	str	x8, [sp]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_16:
	sturb	w19, [x29, #-189]
Lloh46:
	adrp	x2, l_.str.6@PAGE
Lloh47:
	add	x2, x2, l_.str.6@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #7
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-189]
	cmp	w8, #65
	b.eq	LBB0_18
; %bb.17:
Lloh48:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	mov	w8, #7
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_18:
	mov	w19, #65
	sturb	w19, [x29, #-188]
Lloh53:
	adrp	x2, l_.str.6@PAGE
Lloh54:
	add	x2, x2, l_.str.6@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #8
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-188]
	cmp	w8, #65
	b.eq	LBB0_20
; %bb.19:
Lloh55:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	mov	w8, #8
	str	x8, [sp]
Lloh58:
	adrp	x1, l_.str.7@PAGE
Lloh59:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_20:
	sturb	w19, [x29, #-187]
Lloh60:
	adrp	x2, l_.str.6@PAGE
Lloh61:
	add	x2, x2, l_.str.6@PAGEOFF
	sub	x0, x29, #196
	mov	w1, #9
	mov	w3, #5
	bl	_printf_encode
	ldurb	w8, [x29, #-187]
	cmp	w8, #65
	b.eq	LBB0_22
; %bb.21:
Lloh62:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	mov	w8, #9
	str	x8, [sp]
Lloh65:
	adrp	x1, l_.str.7@PAGE
Lloh66:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
	add	w24, w24, #1
LBB0_22:
Lloh67:
	adrp	x2, l_.str.4@PAGE
Lloh68:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #60
	mov	w1, #3
	bl	_printf_decode
	cmp	w0, #2
	cinc	w19, w24, ne
Lloh69:
	adrp	x2, l_.str.8@PAGE
Lloh70:
	add	x2, x2, l_.str.8@PAGEOFF
	add	x0, sp, #60
	mov	w1, #3
	bl	_printf_decode
	cmp	w0, #1
	ldr	w8, [sp, #60]
	ccmp	w8, #10, #0, eq
	cinc	w19, w19, ne
Lloh71:
	adrp	x2, l_.str.9@PAGE
Lloh72:
	add	x2, x2, l_.str.9@PAGEOFF
	add	x0, sp, #60
	mov	w1, #3
	bl	_printf_decode
	cmp	w0, #1
	ldr	w8, [sp, #60]
	mov	w9, #113
	ccmp	w8, w9, #0, eq
	cinc	w19, w19, ne
Lloh73:
	adrp	x2, l_.str.10@PAGE
Lloh74:
	add	x2, x2, l_.str.10@PAGEOFF
	add	x0, sp, #60
	mov	w1, #3
	bl	_printf_decode
	cmp	w0, #1
	ldr	w8, [sp, #60]
	mov	w9, #97
	ccmp	w8, w9, #0, eq
	cinc	w19, w19, ne
Lloh75:
	adrp	x8, lCPI0_0@PAGE
Lloh76:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]
Lloh77:
	adrp	x8, lCPI0_1@PAGE
Lloh78:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #32]
	add	x0, sp, #16
	bl	_int_array_len
	cmp	w0, #5
	cinc	w19, w19, ne
	add	x0, sp, #16
	bl	_int_array_sort_unique
	add	x0, sp, #16
	bl	_int_array_len
	cmp	w0, #2
	cinc	w8, w19, ne
	cbz	w8, LBB0_24
; %bb.23:
Lloh79:
	adrp	x9, _MSG_ERROR@GOTPAGE
Lloh80:
	ldr	x9, [x9, _MSG_ERROR@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh82:
	adrp	x1, l_.str.11@PAGE
Lloh83:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_25
LBB0_24:
	mov	w0, #0
LBB0_25:
	ldur	x8, [x29, #-96]
Lloh84:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh85:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	add	sp, sp, #576
	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
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdr	Lloh77, Lloh78
	.loh AdrpAdrp	Lloh75, Lloh77
	.loh AdrpLdr	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"printf encode/decode tests"

	.comm	_printf_tests,8,3               ; @printf_tests
l_.str.1:                               ; @.str.1
	.asciz	"%d: -> \"%s\""

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Error in decoding#1"

l_.str.3:                               ; @.str.3
	.asciz	"Error in decoding#2"

l_.str.4:                               ; @.str.4
	.asciz	"abcde"

l_.str.5:                               ; @.str.5
	.asciz	"Error in bounds checking#1"

l_.str.6:                               ; @.str.6
	.asciz	"\335\335\335\335\335"

l_.str.7:                               ; @.str.7
	.asciz	"Error in bounds checking#2(%d)"

l_.str.8:                               ; @.str.8
	.asciz	"\\xa"

l_.str.9:                               ; @.str.9
	.asciz	"\\xq"

l_.str.10:                              ; @.str.10
	.asciz	"\\a"

l_.str.11:                              ; @.str.11
	.asciz	"%d printf test(s) failed"

	.no_dead_strip	_printf_encode_decode_tests
.subsections_via_symbols
