	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lkdtm_parse_commandline
_lkdtm_parse_commandline:               ## @lkdtm_parse_commandline
	.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
	movq	_cpoint_count@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_11
## %bb.1:
	movq	_recur_count@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.2:
	movq	_count_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_count@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_cpoint_type@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_cpoint_name@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	xorl	%eax, %eax
	movl	%ebx, %edx
	orl	%ecx, %edx
	je	LBB0_12
## %bb.3:
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.4:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.5:
	movl	%ebx, %edi
	callq	_strlen
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_parse_cp_type
	movq	_cptype@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.6:
	movq	_cp_name@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	incl	%ebx
	movq	_cpoint@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_cpoint_count,4,2               ## @cpoint_count
	.comm	_recur_count,4,2                ## @recur_count
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_count_lock,4,2                 ## @count_lock
	.comm	_count,4,2                      ## @count
	.comm	_cpoint_type,4,2                ## @cpoint_type
	.comm	_cpoint_name,4,2                ## @cpoint_name
	.comm	_cptype,8,3                     ## @cptype
	.comm	_CT_NONE,8,3                    ## @CT_NONE
	.comm	_cp_name,8,3                    ## @cp_name
	.comm	_cpoint,4,2                     ## @cpoint
	.no_dead_strip	_lkdtm_parse_commandline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lkdtm_parse_commandline
_lkdtm_parse_commandline:               ; @lkdtm_parse_commandline
	.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
Lloh0:
	adrp	x20, _cpoint_count@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cpoint_count@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _recur_count@GOTPAGE
Lloh3:
	ldr	x9, [x9, _recur_count@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, #1
	ccmp	w9, #0, #4, ge
	b.gt	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_2:
Lloh8:
	adrp	x19, _count_lock@GOTPAGE
Lloh9:
	ldr	x19, [x19, _count_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _count@GOTPAGE
Lloh11:
	ldr	x9, [x9, _count@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh13:
	adrp	x8, _cpoint_type@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cpoint_type@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
Lloh16:
	adrp	x20, _cpoint_name@GOTPAGE
Lloh17:
	ldr	x20, [x20, _cpoint_name@GOTPAGEOFF]
	ldr	w8, [x20]
	orr	w9, w19, w8
	cbz	w9, LBB0_9
; %bb.3:
	cmp	w19, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_parse_cp_type
Lloh18:
	adrp	x8, _cptype@GOTPAGE
Lloh19:
	ldr	x8, [x8, _cptype@GOTPAGEOFF]
Lloh20:
	str	x0, [x8]
Lloh21:
	adrp	x8, _CT_NONE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CT_NONE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.5:
Lloh24:
	adrp	x19, _cp_name@GOTPAGE
Lloh25:
	ldr	x19, [x19, _cp_name@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_1
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	ldr	x8, [x19]
	ldr	w1, [x8, x21, lsl #2]
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_7
	b	LBB0_1
LBB0_9:
	mov	w0, #0
LBB0_10:
	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_11:
	add	w8, w21, #1
Lloh26:
	adrp	x9, _cpoint@GOTPAGE
Lloh27:
	ldr	x9, [x9, _cpoint@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_cpoint_count,4,2               ; @cpoint_count
	.comm	_recur_count,4,2                ; @recur_count
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_count_lock,4,2                 ; @count_lock
	.comm	_count,4,2                      ; @count
	.comm	_cpoint_type,4,2                ; @cpoint_type
	.comm	_cpoint_name,4,2                ; @cpoint_name
	.comm	_cptype,8,3                     ; @cptype
	.comm	_CT_NONE,8,3                    ; @CT_NONE
	.comm	_cp_name,8,3                    ; @cp_name
	.comm	_cpoint,4,2                     ; @cpoint
	.no_dead_strip	_lkdtm_parse_commandline
.subsections_via_symbols
