	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_addr_to_serpar_number
_map_addr_to_serpar_number:             ## @map_addr_to_serpar_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	cmpl	$15, %ecx
	jg	LBB0_4
## %bb.1:
	decl	%ecx
LBB0_2:
	movl	%ecx, (%rax)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	cmpl	$16, %ecx
	je	LBB0_8
## %bb.5:
	cmpl	$19, %ecx
	je	LBB0_9
## %bb.6:
	cmpl	$17, %ecx
	jne	LBB0_10
## %bb.7:
	movl	$15, (%rax)
	jmp	LBB0_3
LBB0_8:
	movl	$17, (%rax)
	jmp	LBB0_3
LBB0_9:
	movl	$16, (%rax)
	jmp	LBB0_3
LBB0_10:
	leal	-21(%rcx), %edx
	cmpl	$4, %edx
	ja	LBB0_12
## %bb.11:
	addl	$-3, %ecx
	jmp	LBB0_2
LBB0_12:
	cmpl	$99, %ecx
	je	LBB0_15
## %bb.13:
	cmpl	$28, %ecx
	jne	LBB0_16
## %bb.14:
	movl	$23, (%rax)
	jmp	LBB0_3
LBB0_15:
	movl	$99, (%rax)
	jmp	LBB0_3
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_map_addr_to_serpar_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_addr_to_serpar_number
_map_addr_to_serpar_number:             ; @map_addr_to_serpar_number
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #15
	b.gt	LBB0_2
; %bb.1:
	mov	w0, #0
	sub	w9, w9, #1
	str	w9, [x8]
	ret
LBB0_2:
	cmp	w9, #16
	b.eq	LBB0_6
; %bb.3:
	cmp	w9, #19
	b.eq	LBB0_7
; %bb.4:
	cmp	w9, #17
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #0
	mov	w9, #15
	str	w9, [x8]
	ret
LBB0_6:
	mov	w0, #0
	mov	w9, #17
	str	w9, [x8]
	ret
LBB0_7:
	mov	w0, #0
	mov	w9, #16
	str	w9, [x8]
	ret
LBB0_8:
	sub	w10, w9, #21
	cmp	w10, #4
	b.hi	LBB0_10
; %bb.9:
	mov	w0, #0
	sub	w9, w9, #3
	str	w9, [x8]
	ret
LBB0_10:
	cmp	w9, #99
	b.eq	LBB0_13
; %bb.11:
	cmp	w9, #28
	b.ne	LBB0_14
; %bb.12:
	mov	w0, #0
	mov	w9, #23
	str	w9, [x8]
	ret
LBB0_13:
	mov	w0, #0
	str	w9, [x8]
	ret
LBB0_14:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_map_addr_to_serpar_number
.subsections_via_symbols
