	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function type_pos_hit
_type_pos_hit:                          ## @type_pos_hit
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	%r8d, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_R_REG_NAME_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_r_reg_get_name
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_r_reg_getv
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_sdb_fmt
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_sdb_num_get
	movslq	%r14d, %rdx
	addq	%rbx, %rdx
	xorl	%ecx, %ecx
	cmpq	%rdx, %rax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r12d, %edi
	movq	%r9, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SDB_CONTAINS                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_REG_NAME_SP,4,2              ## @R_REG_NAME_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d.mem.write"

	.no_dead_strip	_type_pos_hit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function type_pos_hit
_type_pos_hit:                          ; @type_pos_hit
	.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, x3
	cbz	w2, LBB0_2
; %bb.1:
	mov	x19, x4
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _R_REG_NAME_SP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_REG_NAME_SP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_r_reg_get_name
	mov	x1, x0
	ldr	w0, [x22]
	bl	_r_reg_getv
	mov	x22, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_sdb_fmt
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_sdb_num_get
	add	x8, x22, w19, sxtw
	cmp	x0, x8
	cset	w0, eq
	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
LBB0_2:
	mov	x0, x21
	mov	x1, x5
	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
	b	_SDB_CONTAINS
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_REG_NAME_SP,4,2              ; @R_REG_NAME_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d.mem.write"

	.no_dead_strip	_type_pos_hit
.subsections_via_symbols
