	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_get_oid                   ## -- Begin function asn1_get_oid
	.p2align	4, 0x90
_asn1_get_oid:                          ## @asn1_get_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	leaq	-56(%rbp), %rdx
	callq	_asn1_get_next
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	-48(%rbp), %rdx
	movq	-40(%rbp), %rcx
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_4
## %bb.3:
	movq	_ASN1_TAG_OID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_4
## %bb.5:
	movq	-32(%rbp), %rdi
	leaq	(%rdi,%rsi,4), %rax
	movq	%rax, (%r15)
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	callq	_asn1_parse_oid
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
LBB0_6:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ## @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_OID,8,3               ## @ASN1_TAG_OID
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASN.1: Expected OID - found class %d tag 0x%x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_asn1_get_oid                   ; -- Begin function asn1_get_oid
	.p2align	2
_asn1_get_oid:                          ; @asn1_get_oid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x3
	mov	x19, x2
	mov	x2, sp
	bl	_asn1_get_next
	mov	x8, x0
	mov	w0, #-1
	tbnz	x8, #63, LBB0_5
; %bb.1:
	ldr	x1, [sp]
	cbz	x1, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x2, x3, [sp, #8]
Lloh3:
	adrp	x9, _ASN1_TAG_OID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASN1_TAG_OID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x2, x8
	ccmp	x3, x9, #0, eq
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	ldr	x0, [sp, #24]
	add	x8, x0, x1, lsl #2
	str	x8, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_asn1_parse_oid
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ; @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_OID,8,3               ; @ASN1_TAG_OID
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASN.1: Expected OID - found class %d tag 0x%x"

.subsections_via_symbols
