	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_get_address                ## -- Begin function dsa_get_address
	.p2align	4, 0x90
_dsa_get_address:                       ## @dsa_get_address
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_DsaPointerIsValid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_check_for_freed_segments
	movl	%ebx, %edi
	callq	_DSA_EXTRACT_SEGMENT_NUMBER
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_DSA_EXTRACT_OFFSET
	movq	%rax, %rbx
	movq	_DSA_MAX_SEGMENTS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r15
	setb	%dil
	callq	_Assert
	movq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r15,8)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_get_segment_by_index
LBB0_4:
	movq	(%r14), %rax
	addq	(%rax,%r15,8), %rbx
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSA_MAX_SEGMENTS,8,3           ## @DSA_MAX_SEGMENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_get_address                ; -- Begin function dsa_get_address
	.p2align	2
_dsa_get_address:                       ; @dsa_get_address
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_DsaPointerIsValid
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_check_for_freed_segments
	mov	x0, x21
	bl	_DSA_EXTRACT_SEGMENT_NUMBER
	mov	x20, x0
	mov	x0, x21
	bl	_DSA_EXTRACT_OFFSET
	mov	x21, x0
Lloh0:
	adrp	x8, _DSA_MAX_SEGMENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSA_MAX_SEGMENTS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	cset	w0, lo
	bl	_Assert
	ldr	x8, [x19]
	ldr	x8, [x8, x20, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_get_segment_by_index
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8, x20, lsl #3]
	add	x0, x8, x21
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSA_MAX_SEGMENTS,8,3           ; @DSA_MAX_SEGMENTS
.subsections_via_symbols
