	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modem_out_state
_modem_out_state:                       ## @modem_out_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_modem@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	movl	(%rax), %ecx
	je	LBB0_9
## %bb.1:
	andl	$3, %ecx
	cmpl	$2, %ecx
	je	LBB0_6
## %bb.2:
	cmpl	$1, %ecx
	je	LBB0_5
## %bb.3:
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.4:
	movb	$65, (%rdi)
	jmp	LBB0_8
LBB0_9:
	movb	%cl, (%rdi)
	movl	(%rax), %ecx
	movl	%ecx, %edx
	incl	%edx
	movslq	%edx, %rdx
	imulq	$-2139062143, %rdx, %rdx        ## imm = 0x80808081
	shrq	$32, %rdx
	addl	%ecx, %edx
	incl	%edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$7, %edx
	addl	%esi, %edx
	movl	%edx, %esi
	shll	$8, %esi
	subl	%esi, %edx
	addl	%edx, %ecx
	incl	%ecx
	jmp	LBB0_10
LBB0_6:
	movb	$13, (%rdi)
	jmp	LBB0_8
LBB0_5:
	movb	$84, (%rdi)
	jmp	LBB0_8
LBB0_7:
	movb	$10, (%rdi)
	incl	4(%rax)
LBB0_8:
	movl	(%rax), %ecx
	incl	%ecx
LBB0_10:
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modem,16,3                     ## @modem
	.no_dead_strip	_modem_out_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modem_out_state
_modem_out_state:                       ; @modem_out_state
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _modem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _modem@GOTPAGEOFF]
	ldr	x10, [x8, #8]
	ldr	w9, [x8]
	cbz	x10, LBB0_5
; %bb.1:
	and	w9, w9, #0x3
	cmp	w9, #2
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #1
	b.eq	LBB0_7
; %bb.3:
	cbnz	w9, LBB0_8
; %bb.4:
	mov	w9, #65
	strb	w9, [x0]
	b	LBB0_9
LBB0_5:
	strb	w9, [x0]
	ldr	w9, [x8]
	add	w9, w9, #1
	mov	w10, #32897
	movk	w10, #32896, lsl #16
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #7
	add	w10, w11, w10, lsr #31
	sub	w10, w10, w10, lsl #8
	add	w9, w9, w10
	str	w9, [x8]
	ret
LBB0_6:
	mov	w9, #13
	strb	w9, [x0]
	b	LBB0_9
LBB0_7:
	mov	w9, #84
	strb	w9, [x0]
	b	LBB0_9
LBB0_8:
	mov	w9, #10
	strb	w9, [x0]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_9:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_modem,16,3                     ; @modem
	.no_dead_strip	_modem_out_state
.subsections_via_symbols
