	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hap_can_use_tex_in_place
_hap_can_use_tex_in_place:              ## @hap_can_use_tex_in_place
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	movl	$1, %eax
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_HAP_COMP_NONE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rdi)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, 8(%rcx,%rdi)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	16(%rcx,%rdi), %rdx
	addq	$24, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAP_COMP_NONE,8,3              ## @HAP_COMP_NONE
	.no_dead_strip	_hap_can_use_tex_in_place
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hap_can_use_tex_in_place
_hap_can_use_tex_in_place:              ; @hap_can_use_tex_in_place
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x9, #0
	ldr	x11, [x0, #8]
Lloh0:
	adrp	x10, _HAP_COMP_NONE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HAP_COMP_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x11, x11, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x9
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x11]
	cmp	x12, x10
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x11, #8]
	add	x9, x12, x9
	add	x11, x11, #24
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_5:
	mov	w0, #1
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HAP_COMP_NONE,8,3              ; @HAP_COMP_NONE
	.no_dead_strip	_hap_can_use_tex_in_place
.subsections_via_symbols
