	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_parse_oid                 ## -- Begin function asn1_parse_oid
	.p2align	4, 0x90
_asn1_parse_oid:                        ## @asn1_parse_oid
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	testq	%r12, %r12
	jle	LBB0_14
## %bb.1:
	leaq	(%r15,%r12,4), %rcx
	xorl	%ebx, %ebx
	movq	_ASN1_MAX_OID_LEN@GOTPCREL(%rip), %rsi
	movabsq	$-3689348814741910323, %r8      ## imm = 0xCCCCCCCCCCCCCCCD
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rdx
	leaq	1(%rax), %rdi
	movq	%rdi, (%r14)
	movq	%rbx, (%rdx,%rax,8)
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	cmpq	%rcx, %r15
	jae	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r15
	jae	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %eax
	addq	$4, %r15
	movq	%rbx, %rdx
	shlq	$7, %rdx
	movl	%eax, %ebx
	andl	$127, %ebx
	orq	%rdx, %rbx
	testb	$-128, %al
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	cmpq	(%rsi), %rax
	jge	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$2, %edx
	cmpq	$119, %rbx
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rax
	mulq	%r8
	shrq	$5, %rdx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movq	%rdx, (%rax)
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	subq	%rdx, %rbx
	movq	%rbx, 8(%rax)
	movq	$2, (%r14)
	jmp	LBB0_3
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_13:
	movl	$-1, %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_MAX_OID_LEN,8,3           ## @ASN1_MAX_OID_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASN.1: Too long OID value"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_parse_oid                 ; -- Begin function asn1_parse_oid
	.p2align	2
_asn1_parse_oid:                        ; @asn1_parse_oid
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	cmp	x21, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x14, #0
Lloh0:
	adrp	x8, _ASN1_MAX_OID_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_MAX_OID_LEN@GOTPAGEOFF]
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	mov	w10, #2
	mov	x11, #-40
	add	x12, x20, x21, lsl #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x19, #8]
	add	x16, x14, #1
	str	x16, [x19]
	str	x13, [x15, x14, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	cmp	x20, x12
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, x12
	b.hs	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w15, [x20], #4
	mov	x13, x15
	bfi	x13, x14, #7, #57
	mov	x14, x13
	tbnz	w15, #7, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x19]
	ldr	x15, [x8]
	cmp	x14, x15
	b.ge	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x14, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	umulh	x14, x13, x9
	lsr	x14, x14, #5
	ldr	x15, [x19, #8]
	cmp	x13, #119
	csel	x14, x10, x14, hi
	madd	x13, x14, x11, x13
	stp	x14, x13, [x15]
	str	x10, [x19]
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
Lloh2:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
LBB0_11:
	mov	w0, #-1
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_MAX_OID_LEN,8,3           ; @ASN1_MAX_OID_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASN.1: Too long OID value"

.subsections_via_symbols
