	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpts_cpuid
_hpts_cpuid:                            ## @hpts_cpuid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 40(%rdi)
	je	LBB0_3
## %bb.1:
	movl	(%rdi), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	cmpq	$0, 32(%rdi)
	je	LBB0_5
## %bb.4:
	movl	4(%rdi), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rdi), %rax
	movq	_M_HASHTYPE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	popq	%rbp
	jmp	_hpts_random_cpu                ## TAILCALL
LBB0_7:
	movq	8(%rdi), %rax
	movq	_mp_ncpus@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.8:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_HASHTYPE_NONE,8,3            ## @M_HASHTYPE_NONE
	.comm	_mp_ncpus,4,2                   ## @mp_ncpus
	.comm	_M_NODOM,8,3                    ## @M_NODOM
	.comm	_NETISR_CPUID_NONE,4,2          ## @NETISR_CPUID_NONE
	.comm	_hpts_domains,8,3               ## @hpts_domains
	.comm	_tcp_bind_threads,4,2           ## @tcp_bind_threads
	.no_dead_strip	_hpts_cpuid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpts_cpuid
_hpts_cpuid:                            ; @hpts_cpuid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	ret
LBB0_2:
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x0, #4]
	ret
LBB0_4:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _M_HASHTYPE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_HASHTYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	b	_hpts_random_cpu
LBB0_6:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _mp_ncpus@GOTPAGE
Lloh4:
	ldr	x9, [x9, _mp_ncpus@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	udiv	x10, x8, x9
	msub	w0, w10, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_M_HASHTYPE_NONE,8,3            ; @M_HASHTYPE_NONE
	.comm	_mp_ncpus,4,2                   ; @mp_ncpus
	.comm	_M_NODOM,8,3                    ; @M_NODOM
	.comm	_NETISR_CPUID_NONE,4,2          ; @NETISR_CPUID_NONE
	.comm	_hpts_domains,8,3               ; @hpts_domains
	.comm	_tcp_bind_threads,4,2           ; @tcp_bind_threads
	.no_dead_strip	_hpts_cpuid
.subsections_via_symbols
