	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_get_element_expanded
_array_get_element_expanded:            ## @array_get_element_expanded
	.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
	movl	%r9d, %ebx
	movl	%r8d, %r13d
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_DatumGetEOHP
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	_EA_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$-1, %r15d
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	%r13d, 8(%r12)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	%ebx, 12(%r12)
	sete	%dil
	callq	_Assert
	movb	16(%r12), %al
	xorl	%edi, %edi
	cmpb	16(%rbp), %al
	sete	%dil
	callq	_Assert
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	20(%r12), %eax
	cmpl	%edi, %eax
	jne	LBB0_9
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	movq	_MAXDIM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_9
## %bb.3:
	movq	24(%r12), %rsi
	movq	32(%r12), %rdx
	movl	%edi, %r8d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rcx,4), %eax
	movl	(%rdx,%rcx,4), %ebx
	cmpl	%ebx, %eax
	jl	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	(%rsi,%rcx,4), %ebx
	cmpl	%ebx, %eax
	jge	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_5
## %bb.7:
	movq	%r14, %rcx
	callq	_ArrayGetOffset
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_deconstruct_expanded_array
	movq	40(%r12), %rdx
	movq	48(%r12), %rax
	movslq	%r14d, %rcx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:
	cmpl	$0, (%rdx,%rcx,4)
	je	LBB0_10
LBB0_9:
	movq	24(%rbp), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	24(%rbp), %rdx
	movl	$0, (%rdx)
	movl	(%rax,%rcx,4), %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EA_MAGIC,8,3                   ## @EA_MAGIC
	.comm	_MAXDIM,4,2                     ## @MAXDIM
	.no_dead_strip	_array_get_element_expanded
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_get_element_expanded
_array_get_element_expanded:            ; @array_get_element_expanded
	.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	x19, x7
	mov	x23, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x21, x2
	mov	x22, x1
	bl	_DatumGetEOHP
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EA_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EA_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	cmn	w26, #1
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x20, #8]
	cmp	w8, w25
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x20, #12]
	cmp	w8, w24
	cset	w0, eq
	bl	_Assert
	ldrb	w8, [x20, #16]
	cmp	w8, w23, uxtb
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x20, #20]
	cmp	w8, w22
	b.ne	LBB0_9
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
Lloh3:
	adrp	x9, _MAXDIM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAXDIM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_9
; %bb.3:
	mov	x8, #0
	ldp	x1, x2, [x20, #24]
	mov	w9, w22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w10, [x21, x11]
	ldr	w11, [x2, x11]
	cmp	w10, w11
	b.lt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x1, x8, lsl #2]
	add	w11, w12, w11
	cmp	w10, w11
	b.ge	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.7:
	mov	x0, x22
	mov	x3, x21
	bl	_ArrayGetOffset
	mov	x21, x0
	mov	x0, x20
	bl	_deconstruct_expanded_array
	ldp	x10, x8, [x20, #40]
	sxtw	x9, w21
	cbz	x10, LBB0_11
; %bb.8:
	ldr	w10, [x10, x9, lsl #2]
	cbz	w10, LBB0_11
LBB0_9:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
	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
LBB0_11:
	str	wzr, [x19]
	ldr	w0, [x8, x9, lsl #2]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EA_MAGIC,8,3                   ; @EA_MAGIC
	.comm	_MAXDIM,4,2                     ; @MAXDIM
	.no_dead_strip	_array_get_element_expanded
.subsections_via_symbols
