	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sr_scan_args                   ## -- Begin function sr_scan_args
	.p2align	4, 0x90
_sr_scan_args:                          ## @sr_scan_args
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_12
## %bb.2:
	movq	%rdi, %r14
	movsbl	%al, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, -48(%rbp)
	movb	(%rbx), %al
	movq	%rbx, %r15
	testb	%al, %al
	je	LBB0_9
## %bb.6:
	movq	%rbx, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movzbl	1(%r15), %eax
	incq	%r15
	testb	%al, %al
	jne	LBB0_7
LBB0_9:
	movq	%r15, -40(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CHECKDONE
	movl	%r15d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_savestring
	movl	%eax, %edi
	callq	_sr_set_device
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %ebx
	movq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_CHECKDONE
	movq	_baud_rate@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r15d
	movq	-40(%rbp), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_CHECKDONE
	movl	%r15d, %edi
	callq	_sr_set_debug
	decq	%rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:
	cmpb	$0, (%rbx)
	je	LBB0_12
## %bb.13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usage                          ## TAILCALL
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_baud_rate,4,2                  ## @baud_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sr_scan_args                   ; -- Begin function sr_scan_args
	.p2align	2
_sr_scan_args:                          ; @sr_scan_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_12
; %bb.1:
	mov	x20, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x19, x0
	sxtb	w0, w8
	bl	_isspace
	cbz	x0, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_3
LBB0_4:
	str	x20, [sp, #8]
	ldrb	w8, [x20]
	mov	x21, x20
	cbz	w8, LBB0_8
; %bb.5:
	mov	x21, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x21, #1]!
	cbnz	w8, LBB0_6
LBB0_8:
	str	x21, [sp]
	mov	x0, x20
	mov	x1, x21
	bl	_CHECKDONE
	sub	w1, w21, w20
	mov	x0, x20
	bl	_savestring
	bl	_sr_set_device
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	mov	x20, x0
	ldr	x22, [sp, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_CHECKDONE
Lloh0:
	adrp	x8, _baud_rate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _baud_rate@GOTPAGEOFF]
Lloh2:
	str	w20, [x8]
	mov	x1, sp
	mov	x0, x22
	mov	w2, #10
	bl	_strtol
	mov	x20, x0
	ldr	x21, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_CHECKDONE
	mov	x0, x20
	bl	_sr_set_debug
	sub	x20, x21, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_isspace
	cbnz	x0, LBB0_9
; %bb.10:
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_usage
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_baud_rate,4,2                  ; @baud_rate
.subsections_via_symbols
