	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_parse_heim_oid             ## -- Begin function der_parse_heim_oid
	.p2align	4, 0x90
_der_parse_heim_oid:                    ## @der_parse_heim_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	$0, (%rdx)
	movq	$0, 8(%rdx)
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %r15
	cmovneq	%rsi, %r15
	callq	_strdup
	leaq	-64(%rbp), %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strtok_r
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r14
	leaq	-56(%rbp), %r12
	leaq	-64(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movl	(%rbx), %eax
	leal	4(,%rax,4), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-56(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	js	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rcx
	movslq	(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rbx)
	movl	%eax, (%rcx,%rdx,4)
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_strtok_r
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rdi
	callq	_der_free_oid
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_der_free_oid
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_parse_heim_oid             ; -- Begin function der_parse_heim_oid
	.p2align	2
_der_parse_heim_oid:                    ; @der_parse_heim_oid
	.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
	str	wzr, [x2]
	str	xzr, [x2, #8]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x21, x8, x1, eq
	bl	_strdup
	mov	x20, x0
	add	x2, sp, #8
	mov	x1, x21
	bl	_strtok_r
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
Lloh2:
	adrp	x23, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _INT_MAX@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	lsl	w8, w8, #2
	add	w1, w8, #4
	bl	_realloc
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x0, [x19, #8]
	mov	x1, sp
	mov	x0, x22
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	x0, #63, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	cmp	x0, x8
	b.gt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	str	w0, [x8, x9, lsl #2]
	add	x2, sp, #8
	mov	x0, #0
	mov	x1, x21
	bl	_strtok_r
	mov	x22, x0
	cbnz	x0, LBB0_2
LBB0_7:
	mov	x0, x20
	bl	_free
	mov	w0, #0
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_der_free_oid
	mov	x0, x20
	bl	_free
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_der_free_oid
	mov	x0, x20
	bl	_free
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
