	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_self_id_pos
_get_self_id_pos:                       ## @get_self_id_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_7
## %bb.1:
	movl	%edx, %ecx
	movq	(%rdi), %rdx
	andl	$-16777216, %esi                ## imm = 0xFF000000
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	3(%rdx,%rax,4), %edi
	shll	$24, %edi
	cmpl	%edi, %esi
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_2
## %bb.5:
	movl	%ecx, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_self_id_pos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_self_id_pos
_get_self_id_pos:                       ; @get_self_id_pos
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	mov	w9, w2
	ldr	x8, [x8]
	and	w10, w1, #0xff000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x8, x0, lsl #2
	ldrb	w11, [x11, #3]
	lsl	w11, w11, #24
	cmp	w10, w11
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.ne	LBB0_2
; %bb.5:
	mov	x0, x9
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_7:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_8:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_self_id_pos
.subsections_via_symbols
