	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_spg_node_number
_inet_spg_node_number:                  ## @inet_spg_node_number
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_ip_maxbits
	xorl	%ebx, %ebx
	cmpl	%r15d, %eax
	jle	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_ip_addr
	leal	7(%r15), %ecx
	testl	%r15d, %r15d
	cmovnsl	%r15d, %ecx
	movl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	andl	$-8, %ecx
	movl	%r15d, %edx
	subl	%ecx, %edx
	movb	$7, %cl
	subb	%dl, %cl
	movzbl	%cl, %ecx
	xorl	%ebx, %ebx
	btl	%ecx, %eax
	setb	%bl
LBB0_2:
	movq	%r14, %rdi
	callq	_ip_bits
	leal	2(%rbx), %ecx
	cmpl	%r15d, %eax
	cmovlel	%ebx, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_inet_spg_node_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_spg_node_number
_inet_spg_node_number:                  ; @inet_spg_node_number
	.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	x19, x1
	mov	x20, x0
	bl	_ip_maxbits
	cmp	w0, w19
	b.le	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ip_addr
	add	w8, w19, #7
	cmp	w19, #0
	csel	w8, w8, w19, lt
	asr	w9, w8, #3
	ldr	w9, [x0, w9, sxtw #2]
	and	w8, w8, #0xfffffff8
	sub	w8, w8, w19
	add	w8, w8, #7
	lsr	w8, w9, w8
	and	w21, w8, #0x1
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
	mov	x0, x20
	bl	_ip_bits
	orr	w8, w21, #0x2
	cmp	w0, w19
	csel	w0, w8, w21, gt
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_inet_spg_node_number
.subsections_via_symbols
