	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_array                      ## -- Begin function xdr_array
	.p2align	4, 0x90
_xdr_array:                             ## @xdr_array
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rsi), %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_xdr_u_int
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	movl	(%r14), %r14d
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jg	LBB0_3
## %bb.2:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%r12d
	cmpl	%r14d, %eax
	jge	LBB0_4
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$128, (%rax)
	jne	LBB0_20
LBB0_4:
	movl	%r12d, %eax
	movl	%r14d, %r12d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	imull	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_12
LBB0_5:
	testl	%r14d, %r14d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	jle	LBB0_10
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.7:
	movslq	-44(%rbp), %r12                 ## 4-byte Folded Reload
	shlq	$2, %r12
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movq	%rax, %rbx
	cmpl	%r14d, %r15d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%r15d
	addq	%r12, %r13
	testq	%rbx, %rbx
	jne	LBB0_8
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$128, (%rax)
	jne	LBB0_22
## %bb.11:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_mem_free
	movq	$0, (%r14)
	jmp	LBB0_22
LBB0_12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_17
## %bb.13:
	cmpl	$130, %eax
	jne	LBB0_18
## %bb.14:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.15:
	movl	%r12d, %edi
	callq	_mem_alloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	%rax, %r13
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	jmp	LBB0_5
LBB0_17:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_20:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_21:
	movq	(%rax), %rbx
LBB0_22:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xdr_array: out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdr_array                      ; -- Begin function xdr_array
	.p2align	2
_xdr_array:                             ; @xdr_array
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x25, x4
	mov	x23, x3
	mov	x26, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x1]
Lloh0:
	adrp	x27, _TRUE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	ldr	x19, [x27]
	mov	x1, x2
	bl	_xdr_u_int
	cbz	w0, LBB0_20
; %bb.1:
	ldr	w26, [x26]
	cmp	w26, w23
	b.gt	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sdiv	w8, w8, w25
	cmp	w8, w26
	b.ge	LBB0_4
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_20
LBB0_4:
	mul	w23, w26, w25
	cbz	x24, LBB0_12
LBB0_5:
	cmp	w26, #1
	b.lt	LBB0_10
; %bb.6:
	cbz	x19, LBB0_10
; %bb.7:
	sbfiz	x25, x25, #2, #32
	mov	w27, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	blr	x22
	mov	x19, x0
	cmp	w27, w26
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w27, w27, #1
	add	x24, x24, x25
	cbnz	x19, LBB0_8
LBB0_10:
	ldr	w8, [x21]
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.11:
	ldr	x0, [x20]
	mov	x1, x23
	bl	_mem_free
	str	xzr, [x20]
	b	LBB0_21
LBB0_12:
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_17
; %bb.13:
	cmp	w8, #130
	b.ne	LBB0_18
; %bb.14:
	cbz	w26, LBB0_17
; %bb.15:
	mov	x0, x23
	bl	_mem_alloc
	str	x0, [x20]
	cbz	x0, LBB0_19
; %bb.16:
	mov	x24, x0
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	b	LBB0_5
LBB0_17:
	ldr	x19, [x27]
	b	LBB0_21
LBB0_18:
	mov	x24, #0
	b	LBB0_5
LBB0_19:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_20:
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	x19, [x8]
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xdr_array: out of memory"

.subsections_via_symbols
