	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comc_init
_comc_init:                             ## @comc_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_comc_curspeed@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_comc_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_comc_setup
	movq	_comconsole@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_C_PRESENTIN@GOTPCREL(%rip), %rcx
	movq	_C_PRESENTOUT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_1
## %bb.2:
	movq	_CMD_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_comc_curspeed,4,2              ## @comc_curspeed
	.comm	_comc_port,4,2                  ## @comc_port
	.comm	_comconsole,4,2                 ## @comconsole
	.comm	_C_PRESENTIN,4,2                ## @C_PRESENTIN
	.comm	_C_PRESENTOUT,4,2               ## @C_PRESENTOUT
	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.no_dead_strip	_comc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comc_init
_comc_init:                             ; @comc_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _comc_curspeed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _comc_curspeed@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _comc_port@GOTPAGE
Lloh4:
	ldr	x8, [x8, _comc_port@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_comc_setup
Lloh6:
	adrp	x8, _comconsole@GOTPAGE
Lloh7:
	ldr	x8, [x8, _comconsole@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _C_PRESENTIN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _C_PRESENTIN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _C_PRESENTOUT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _C_PRESENTOUT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh15:
	adrp	x10, _CMD_OK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _CMD_OK@GOTPAGEOFF]
Lloh17:
	adrp	x11, _CMD_ERROR@GOTPAGE
Lloh18:
	ldr	x11, [x11, _CMD_ERROR@GOTPAGEOFF]
	bics	wzr, w9, w8
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_comc_curspeed,4,2              ; @comc_curspeed
	.comm	_comc_port,4,2                  ; @comc_port
	.comm	_comconsole,4,2                 ; @comconsole
	.comm	_C_PRESENTIN,4,2                ; @C_PRESENTIN
	.comm	_C_PRESENTOUT,4,2               ; @C_PRESENTOUT
	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.no_dead_strip	_comc_init
.subsections_via_symbols
