	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_function_addr             ## -- Begin function find_function_addr
	.p2align	4, 0x90
_find_function_addr:                    ## @find_function_addr
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_VALUE_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_FUNC@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	je	LBB0_2
## %bb.1:
	movq	_TYPE_CODE_METHOD@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	je	LBB0_2
## %bb.4:
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_value_as_address
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_TYPE_TARGET_TYPE
	movq	%rax, %rdi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TYPE_CODE
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	cmpl	(%r12), %eax
	jne	LBB0_13
LBB0_7:
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current_target@GOTPCREL(%rip), %rdx
	movq	%r15, %rsi
	callq	_gdbarch_convert_from_func_ptr_addr
	jmp	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_VALUE_ADDRESS
LBB0_3:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_TYPE_TARGET_TYPE
	jmp	LBB0_15
LBB0_8:
	movq	_TYPE_CODE_INT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	movq	%r15, %rdi
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.10:
	callq	_value_addr
	movq	%rax, %rdi
	callq	_value_as_address
	jmp	LBB0_12
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	_error
                                        ## implicit-def: $rax
                                        ## implicit-def: $r15
	jmp	LBB0_15
LBB0_11:
	callq	_value_as_long
LBB0_12:
	movq	%rax, %r15
LBB0_13:
	movq	_builtin_type_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_15:
	movq	%rax, (%r14)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_FUNC,4,2             ## @TYPE_CODE_FUNC
	.comm	_TYPE_CODE_METHOD,4,2           ## @TYPE_CODE_METHOD
	.comm	_TYPE_CODE_PTR,4,2              ## @TYPE_CODE_PTR
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_current_target,4,2             ## @current_target
	.comm	_builtin_type_int,8,3           ## @builtin_type_int
	.comm	_TYPE_CODE_INT,4,2              ## @TYPE_CODE_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid data type for function to be called."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_function_addr             ; -- Begin function find_function_addr
	.p2align	2
_find_function_addr:                    ; @find_function_addr
	.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, x1
	mov	x20, x0
	bl	_VALUE_TYPE
	bl	_check_typedef
	mov	x21, x0
	bl	_TYPE_CODE
Lloh0:
	adrp	x23, _TYPE_CODE_FUNC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TYPE_CODE_FUNC@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x22, _TYPE_CODE_METHOD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TYPE_CODE_METHOD@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_VALUE_ADDRESS
	b	LBB0_6
LBB0_2:
Lloh4:
	adrp	x8, _TYPE_CODE_PTR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_value_as_address
	mov	x20, x0
	mov	x0, x21
	bl	_TYPE_TARGET_TYPE
	bl	_check_typedef
	mov	x21, x0
	bl	_TYPE_CODE
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_TYPE_CODE
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_13
LBB0_5:
Lloh7:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh8:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x2, _current_target@GOTPAGE
Lloh11:
	ldr	x2, [x2, _current_target@GOTPAGEOFF]
	mov	x1, x20
	bl	_gdbarch_convert_from_func_ptr_addr
LBB0_6:
	mov	x20, x0
	mov	x0, x21
	bl	_TYPE_TARGET_TYPE
	b	LBB0_14
LBB0_7:
Lloh12:
	adrp	x8, _TYPE_CODE_INT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TYPE_CODE_INT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_TYPE_LENGTH
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_value_addr
	bl	_value_as_address
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
                                        ; implicit-def: $x0
                                        ; implicit-def: $x20
	b	LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_value_as_long
LBB0_12:
	mov	x20, x0
LBB0_13:
Lloh17:
	adrp	x8, _builtin_type_int@GOTPAGE
Lloh18:
	ldr	x8, [x8, _builtin_type_int@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
LBB0_14:
	str	x0, [x19]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_FUNC,4,2             ; @TYPE_CODE_FUNC
	.comm	_TYPE_CODE_METHOD,4,2           ; @TYPE_CODE_METHOD
	.comm	_TYPE_CODE_PTR,4,2              ; @TYPE_CODE_PTR
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_current_target,4,2             ; @current_target
	.comm	_builtin_type_int,8,3           ; @builtin_type_int
	.comm	_TYPE_CODE_INT,4,2              ; @TYPE_CODE_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid data type for function to be called."

.subsections_via_symbols
