	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_size_for_pointer_math
_find_size_for_pointer_math:            ## @find_size_for_pointer_math
	.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
	movq	%rdi, %r15
	callq	_TYPE_TARGET_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TYPE_LENGTH
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_VOID@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_TYPE_NAME
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_TYPE_TAG_NAME
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_VOID,8,3             ## @TYPE_CODE_VOID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot perform pointer math on incomplete types, try casting to a known type, or void *."

L_.str.1:                               ## @.str.1
	.asciz	"Cannot perform pointer math on incomplete type \"%s\", try casting to a known type, or void *."

	.no_dead_strip	_find_size_for_pointer_math
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_size_for_pointer_math
_find_size_for_pointer_math:            ; @find_size_for_pointer_math
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_TYPE_TARGET_TYPE
	bl	_check_typedef
	mov	x19, x0
	bl	_TYPE_LENGTH
	cbnz	w0, LBB0_7
; %bb.1:
	mov	x0, x20
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_VOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_TYPE_NAME
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_TYPE_TAG_NAME
	cbz	x0, LBB0_8
LBB0_5:
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_error
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_VOID,8,3             ; @TYPE_CODE_VOID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot perform pointer math on incomplete types, try casting to a known type, or void *."

l_.str.1:                               ; @.str.1
	.asciz	"Cannot perform pointer math on incomplete type \"%s\", try casting to a known type, or void *."

	.no_dead_strip	_find_size_for_pointer_math
.subsections_via_symbols
