	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_32bit_dynamic_section
_get_32bit_dynamic_section:             ## @get_32bit_dynamic_section
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_dynamic_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_dynamic_size@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	leaq	L_.str(%rip), %rdi
	callq	__
	xorl	%edi, %edi
	movq	%r15, %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	movl	$1, %ecx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	callq	_get_data
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	movq	_dynamic_nent@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	movslq	(%r13), %rax
	addq	%r14, %rax
	xorl	%edi, %edi
	cmpq	%r14, %rax
	jbe	LBB0_7
## %bb.2:
	movl	$1, (%r12)
	movl	4(%r14), %edi
	callq	_BYTE_GET
	movq	_DT_NULL@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_6
## %bb.3:
	leaq	8(%r14), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r13), %rax
	addq	%r14, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	(%r12)
	movl	4(%rbx), %edi
	callq	_BYTE_GET
	addq	$8, %rbx
	cmpq	(%r15), %rax
	jne	LBB0_4
LBB0_6:
	movl	(%r12), %edi
LBB0_7:
	movl	$16, %esi
	callq	_cmalloc
	movq	_dynamic_section@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movl	$1, %r15d
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.9:
	movq	%rax, %rbx
	movq	%r14, %r15
	addq	$4, %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_BYTE_GET
	movq	%rax, 8(%rbx)
	movl	-4(%r15), %edi
	callq	_BYTE_GET
	movq	%rax, (%rbx)
	addq	$16, %rbx
	movslq	(%r12), %rax
	shlq	$4, %rax
	addq	(%r13), %rax
	addq	$8, %r15
	cmpq	%rax, %rbx
	jb	LBB0_10
## %bb.11:
	movl	$1, %r15d
	jmp	LBB0_12
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r14, %rdi
	callq	_free
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dynamic_addr,4,2               ## @dynamic_addr
	.comm	_dynamic_size,4,2               ## @dynamic_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dynamic section"

	.comm	_dynamic_nent,4,2               ## @dynamic_nent
	.comm	_DT_NULL,8,3                    ## @DT_NULL
	.comm	_dynamic_section,8,3            ## @dynamic_section
L_.str.1:                               ## @.str.1
	.asciz	"Out of memory\n"

	.no_dead_strip	_get_32bit_dynamic_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_32bit_dynamic_section
_get_32bit_dynamic_section:             ; @get_32bit_dynamic_section
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _dynamic_addr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dynamic_addr@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x22, _dynamic_size@GOTPAGE
Lloh4:
	ldr	x22, [x22, _dynamic_size@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x5, x0
	mov	x0, #0
	mov	x1, x19
	mov	x2, x20
	mov	w3, #1
	mov	x4, x21
	bl	_get_data
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	mov	w0, #0
Lloh7:
	adrp	x21, _dynamic_nent@GOTPAGE
Lloh8:
	ldr	x21, [x21, _dynamic_nent@GOTPAGEOFF]
	str	wzr, [x21]
	ldrsw	x8, [x22]
	add	x8, x19, x8
	cmp	x8, x19
	b.ls	LBB0_7
; %bb.2:
	mov	w8, #1
	str	w8, [x21]
	ldr	w0, [x19, #4]
	bl	_BYTE_GET
Lloh9:
	adrp	x20, _DT_NULL@GOTPAGE
Lloh10:
	ldr	x20, [x20, _DT_NULL@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.3:
	add	x23, x19, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	add	x8, x19, x8
	cmp	x8, x23
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w0, [x23, #4]
	bl	_BYTE_GET
	ldr	x8, [x20]
	add	x23, x23, #8
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_6:
	ldr	w0, [x21]
LBB0_7:
	mov	w1, #16
	bl	_cmalloc
	mov	x20, x0
Lloh11:
	adrp	x22, _dynamic_section@GOTPAGE
Lloh12:
	ldr	x22, [x22, _dynamic_section@GOTPAGEOFF]
	str	x0, [x22]
	cbz	x0, LBB0_13
; %bb.8:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	add	x23, x19, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	bl	_BYTE_GET
	str	x0, [x20, #8]
	ldur	w0, [x23, #-4]
	bl	_BYTE_GET
	str	x0, [x20], #16
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #4
	add	x23, x23, #8
	cmp	x20, x8
	b.lo	LBB0_10
LBB0_11:
	mov	w20, #1
	b	LBB0_14
LBB0_12:
	mov	w20, #0
	b	LBB0_15
LBB0_13:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_error
LBB0_14:
	mov	x0, x19
	bl	_free
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_dynamic_addr,4,2               ; @dynamic_addr
	.comm	_dynamic_size,4,2               ; @dynamic_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dynamic section"

	.comm	_dynamic_nent,4,2               ; @dynamic_nent
	.comm	_DT_NULL,8,3                    ; @DT_NULL
	.comm	_dynamic_section,8,3            ; @dynamic_section
l_.str.1:                               ; @.str.1
	.asciz	"Out of memory\n"

	.no_dead_strip	_get_32bit_dynamic_section
.subsections_via_symbols
