	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_get_next                  ## -- Begin function asn1_get_next
	.p2align	4, 0x90
_asn1_get_next:                         ## @asn1_get_next
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_os_memset
	testq	%r15, %r15
	jle	LBB0_11
## %bb.1:
	leaq	(%r12,%r15,4), %r13
	movl	(%r12), %eax
	addq	$4, %r12
	movl	%eax, (%r14)
	movl	%eax, %ecx
	sarl	$6, %ecx
	movl	%ecx, 4(%r14)
	movl	%eax, %ecx
	shrl	$5, %ecx
	andl	$1, %ecx
	movl	%ecx, 8(%r14)
	andl	$31, %eax
	cmpl	$31, %eax
	jne	LBB0_12
## %bb.2:
	movl	$0, 12(%r14)
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %r12
	jae	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %ebx
	addq	$4, %r12
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	12(%r14), %eax
	shll	$7, %eax
	movl	%ebx, %ecx
	andl	$127, %ecx
	orl	%eax, %ecx
	movl	%ecx, 12(%r14)
	testb	$-128, %bl
	jne	LBB0_3
## %bb.5:
	cmpq	%r13, %r12
	jae	LBB0_13
LBB0_6:
	leaq	4(%r12), %rcx
	movl	(%r12), %eax
	testb	$-128, %al
	jne	LBB0_15
## %bb.7:
	movl	%eax, 16(%r14)
LBB0_8:
	subq	%rcx, %r13
	jb	LBB0_10
## %bb.9:
	shrq	$2, %r13
	cmpl	%r13d, %eax
	jbe	LBB0_19
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_34
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_34
LBB0_12:
	movl	%eax, 12(%r14)
	cmpq	%r13, %r12
	jb	LBB0_6
LBB0_13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_34
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_34
LBB0_15:
	cmpl	$255, %eax
	jne	LBB0_17
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_34
LBB0_17:
	andl	$127, %eax
	movl	$0, 16(%r14)
	cmpl	$4, %eax
	jbe	LBB0_20
## %bb.18:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_34
LBB0_19:
	movq	%rcx, 24(%r14)
	movq	%r14, %rdi
	callq	_asn1_valid_der
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	jmp	LBB0_35
LBB0_20:
	testl	%eax, %eax
	je	LBB0_24
## %bb.21:
	cmpq	%r13, %rcx
	jae	LBB0_33
## %bb.22:
	leaq	8(%r12), %rcx
	movl	4(%r12), %edx
	movl	%edx, 16(%r14)
	cmpl	$1, %eax
	jne	LBB0_25
LBB0_23:
	movl	%edx, %eax
	jmp	LBB0_8
LBB0_24:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_25:
	cmpq	%r13, %rcx
	jae	LBB0_33
## %bb.26:
	shll	$8, %edx
	leaq	12(%r12), %rcx
	orl	8(%r12), %edx
	movl	%edx, 16(%r14)
	cmpl	$2, %eax
	je	LBB0_23
## %bb.28:
	cmpq	%r13, %rcx
	jae	LBB0_33
## %bb.29:
	shll	$8, %edx
	leaq	16(%r12), %rcx
	orl	12(%r12), %edx
	movl	%edx, 16(%r14)
	cmpl	$3, %eax
	je	LBB0_23
## %bb.31:
	cmpq	%r13, %rcx
	jae	LBB0_33
## %bb.32:
	shll	$8, %edx
	orl	16(%r12), %edx
	addq	$20, %r12
	movl	%edx, 16(%r14)
	movl	%edx, %eax
	movq	%r12, %rcx
	jmp	LBB0_8
LBB0_33:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_34:
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASN.1: No room for Identifier"

L_.str.1:                               ## @.str.1
	.asciz	"ASN.1: Identifier underflow"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.2:                               ## @.str.2
	.asciz	"ASN.1: Extended tag data: 0x%02x"

L_.str.3:                               ## @.str.3
	.asciz	"ASN.1: No room for Length"

L_.str.4:                               ## @.str.4
	.asciz	"ASN.1: Reserved length value 0xff used"

L_.str.5:                               ## @.str.5
	.asciz	"ASN.1: Too long length field"

L_.str.6:                               ## @.str.6
	.asciz	"ASN.1: Length underflow"

L_.str.7:                               ## @.str.7
	.asciz	"ASN.1: Contents underflow"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_get_next                  ; -- Begin function asn1_get_next
	.p2align	2
_asn1_get_next:                         ; @asn1_get_next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #32
	bl	_os_memset
	cmp	x21, #0
	b.le	LBB0_11
; %bb.1:
	add	x22, x20, x21, lsl #2
	ldr	w8, [x20], #4
	asr	w9, w8, #6
	stp	w8, w9, [x19]
	ubfx	w9, w8, #5, #1
	str	w9, [x19, #8]
	and	w8, w8, #0x1f
	cmp	w8, #31
	b.ne	LBB0_12
; %bb.2:
	str	wzr, [x19, #12]
Lloh0:
	adrp	x23, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, x22
	b.hs	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x20], #4
	ldr	w0, [x23]
	str	x24, [sp]
	mov	x1, x21
	bl	_wpa_printf
	ldr	w8, [x19, #12]
	mov	x9, x24
	bfi	w9, w8, #7, #25
	str	w9, [x19, #12]
	tbnz	w24, #7, LBB0_3
; %bb.5:
	cmp	x20, x22
	b.hs	LBB0_13
LBB0_6:
	mov	x8, x20
	ldr	w9, [x8], #4
	tbnz	w9, #7, LBB0_15
LBB0_7:
	str	w9, [x19, #16]
LBB0_8:
	subs	x10, x22, x8
	b.lo	LBB0_10
; %bb.9:
	lsr	x10, x10, #2
	cmp	w9, w10
	b.ls	LBB0_19
LBB0_10:
Lloh4:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.7@PAGE
Lloh8:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_11:
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_30
LBB0_12:
	str	w8, [x19, #12]
	cmp	x20, x22
	b.lo	LBB0_6
LBB0_13:
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_30
LBB0_14:
Lloh19:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_15:
	cmp	w9, #255
	b.ne	LBB0_17
; %bb.16:
Lloh24:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_17:
	and	w10, w9, #0x7f
	str	wzr, [x19, #16]
	cmp	w10, #4
	b.ls	LBB0_20
; %bb.18:
Lloh29:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_19:
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_asn1_valid_der
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_31
LBB0_20:
	cbz	w10, LBB0_32
; %bb.21:
	cmp	x8, x22
	b.hs	LBB0_29
; %bb.22:
	add	x8, x20, #8
	ldr	w9, [x20, #4]
	str	w9, [x19, #16]
	cmp	w10, #1
	b.eq	LBB0_8
; %bb.23:
	cmp	x8, x22
	b.hs	LBB0_29
; %bb.24:
	add	x8, x20, #12
	ldr	w11, [x20, #8]
	orr	w9, w11, w9, lsl #8
	str	w9, [x19, #16]
	cmp	w10, #2
	b.eq	LBB0_8
; %bb.25:
	cmp	x8, x22
	b.hs	LBB0_29
; %bb.26:
	add	x8, x20, #16
	ldr	w11, [x20, #12]
	orr	w9, w11, w9, lsl #8
	str	w9, [x19, #16]
	cmp	w10, #3
	b.eq	LBB0_8
; %bb.27:
	cmp	x8, x22
	b.hs	LBB0_29
; %bb.28:
	add	x8, x20, #20
	ldr	w10, [x20, #16]
	orr	w9, w10, w9, lsl #8
	b	LBB0_7
LBB0_29:
Lloh34:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_30:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_31:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_32:
	mov	w9, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASN.1: No room for Identifier"

l_.str.1:                               ; @.str.1
	.asciz	"ASN.1: Identifier underflow"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.2:                               ; @.str.2
	.asciz	"ASN.1: Extended tag data: 0x%02x"

l_.str.3:                               ; @.str.3
	.asciz	"ASN.1: No room for Length"

l_.str.4:                               ; @.str.4
	.asciz	"ASN.1: Reserved length value 0xff used"

l_.str.5:                               ; @.str.5
	.asciz	"ASN.1: Too long length field"

l_.str.6:                               ; @.str.6
	.asciz	"ASN.1: Length underflow"

l_.str.7:                               ; @.str.7
	.asciz	"ASN.1: Contents underflow"

.subsections_via_symbols
