	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kfib_parse_opts
_kfib_parse_opts:                       ## @kfib_parse_opts
	.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
	xorl	%r15d, %r15d
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movb	$0, (%rax)
LBB0_8:
	addq	$4, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-32(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_9
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, (%r14)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fib="

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_kfib_parse_opts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kfib_parse_opts
_kfib_parse_opts:                       ; @kfib_parse_opts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x0, x1
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.2:
	sub	x20, x0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, #1]!
	cmp	w8, #32
	b.eq	LBB0_3
; %bb.4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #4
	bl	_strncmp
	cbnz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_7
; %bb.6:
	strb	wzr, [x0]
LBB0_7:
	add	x0, x20, #4
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	ldr	x9, [sp, #8]
	ldrb	w9, [x9]
	cbz	w9, LBB0_11
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_10
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
	add	sp, sp, #48
	ret
LBB0_11:
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fib="

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_kfib_parse_opts
.subsections_via_symbols
