	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps_read_extension_data
_ps_read_extension_data:                ## @ps_read_extension_data
	.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
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_get_bits_count
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.1:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_get_bits1
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	movq	_huff_ipd_dt@GOTPCREL(%rip), %r13
	movq	_huff_opd_dt@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdx), %r8d
	movl	%eax, (%rsp)
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %r9d
	callq	_read_ipdopd_data
	incl	%ebx
	cmpl	(%r12), %ebx
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_get_bits1
	movq	%r13, %rdx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_huff_ipd_df@GOTPCREL(%rip), %rdx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r12), %ecx
	movl	(%rdx), %r8d
	movl	%eax, (%rsp)
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%ebx, %r9d
	callq	_read_ipdopd_data
	movq	%r15, %rdi
	callq	_get_bits1
	movl	4(%r12), %ecx
	movq	%r14, %rdx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_huff_opd_df@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_9:
	movq	%r15, %rdi
	callq	_skip_bits1
	movq	%r15, %rdi
	callq	_get_bits_count
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_huff_ipd_dt,4,2                ## @huff_ipd_dt
	.comm	_huff_ipd_df,4,2                ## @huff_ipd_df
	.comm	_huff_opd_dt,4,2                ## @huff_opd_dt
	.comm	_huff_opd_df,4,2                ## @huff_opd_df
	.no_dead_strip	_ps_read_extension_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps_read_extension_data
_ps_read_extension_data:                ; @ps_read_extension_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_get_bits_count
	cbz	w22, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	bl	_get_bits1
	str	x0, [x21, #16]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w22, #0
Lloh0:
	adrp	x23, _huff_ipd_dt@GOTPAGE
Lloh1:
	ldr	x23, [x23, _huff_ipd_dt@GOTPAGEOFF]
Lloh2:
	adrp	x24, _huff_ipd_df@GOTPAGE
Lloh3:
	ldr	x24, [x24, _huff_ipd_df@GOTPAGEOFF]
Lloh4:
	adrp	x25, _huff_opd_dt@GOTPAGE
Lloh5:
	ldr	x25, [x25, _huff_opd_dt@GOTPAGEOFF]
Lloh6:
	adrp	x26, _huff_opd_df@GOTPAGE
Lloh7:
	ldr	x26, [x26, _huff_opd_df@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_bits1
	mov	x6, x0
	ldr	w3, [x21, #8]
	cmp	w6, #0
	csel	x8, x24, x23, eq
	ldr	w4, [x8]
	mov	x0, #0
	mov	x1, x19
	mov	x2, x21
	mov	x5, x22
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_read_ipdopd_data
	mov	x0, x19
	bl	_get_bits1
	mov	x6, x0
	ldr	w3, [x21, #4]
	cmp	w6, #0
	csel	x8, x26, x25, eq
	ldr	w4, [x8]
	mov	x0, #0
	mov	x1, x19
	mov	x2, x21
	mov	x5, x22
                                        ; kill: def $w6 killed $w6 killed $x6
	bl	_read_ipdopd_data
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_skip_bits1
	mov	x0, x19
	bl	_get_bits_count
	sub	w0, w0, w20
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_huff_ipd_dt,4,2                ; @huff_ipd_dt
	.comm	_huff_ipd_df,4,2                ; @huff_ipd_df
	.comm	_huff_opd_dt,4,2                ; @huff_opd_dt
	.comm	_huff_opd_df,4,2                ; @huff_opd_df
	.no_dead_strip	_ps_read_extension_data
.subsections_via_symbols
