	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_extensions
_parse_extensions:                      ## @parse_extensions
	.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	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rdi, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, (%r13)
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_malloc
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_hex_decode
	testq	%rax, %rax
	js	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_decode_HDB_extension
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	movl	(%rax), %eax
	leal	4(,%rax,4), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movl	-44(%rbp), %eax
	movq	(%r13), %rcx
	movq	8(%rcx), %rdx
	movslq	(%rcx), %rsi
	movl	%eax, (%rdx,%rsi,4)
	incl	(%rcx)
	leaq	-56(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strsep
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_11
LBB0_2:
	movq	$0, (%r13)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	callq	_free
LBB0_7:
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.asciz	":"

	.no_dead_strip	_parse_extensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_extensions
_parse_extensions:                      ; @parse_extensions
	.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, x1
	mov	x20, x0
	str	x0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.2:
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	str	x0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_11
; %bb.3:
	mov	x21, x0
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x23, x0
	bl	_malloc
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_hex_decode
	tbnz	x0, #63, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
	add	x2, sp, #4
	mov	x0, x22
	mov	x3, #0
	bl	_decode_HDB_extension
	mov	x21, x0
	mov	x0, x22
	bl	_free
	cbnz	w21, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w1, w8, #4
	bl	_realloc
	cbz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	w8, [sp, #4]
	ldr	x9, [x19]
	ldr	x10, [x9, #8]
	ldrsw	x11, [x9]
	str	w8, [x10, x11, lsl #2]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	add	x0, sp, #8
	mov	x1, x20
	bl	_strsep
	mov	x21, x0
	cbnz	x0, LBB0_4
	b	LBB0_11
LBB0_8:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_11
LBB0_9:
	mov	x0, x22
	bl	_free
LBB0_10:
	mov	w0, #-1
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
LBB0_12:
	bl	_abort
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	":"

	.no_dead_strip	_parse_extensions
.subsections_via_symbols
