	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_line_in_mode
_get_line_in_mode:                      ## @get_line_in_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$39, (%rdi)
	jl	LBB0_2
## %bb.1:
	movq	_CM_REG_LEGACY_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_cmipci_read
	movl	%eax, %ecx
	movq	_CM_CENTR2LIN@GOTPCREL(%rip), %rax
	movq	_CM_BASE2LIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movl	$2, %eax
	testl	%ecx, %edx
	jne	LBB0_3
LBB0_2:
	movq	_CM_REG_MIXER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_cmipci_read_b
	movl	%eax, %ecx
	movq	_CM_REAR2LIN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	setne	%al
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_REG_LEGACY_CTRL,4,2         ## @CM_REG_LEGACY_CTRL
	.comm	_CM_CENTR2LIN,4,2               ## @CM_CENTR2LIN
	.comm	_CM_BASE2LIN,4,2                ## @CM_BASE2LIN
	.comm	_CM_REG_MIXER1,4,2              ## @CM_REG_MIXER1
	.comm	_CM_REAR2LIN,4,2                ## @CM_REAR2LIN
	.no_dead_strip	_get_line_in_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_line_in_mode
_get_line_in_mode:                      ; @get_line_in_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #39
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CM_REG_LEGACY_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_REG_LEGACY_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_cmipci_read
Lloh3:
	adrp	x8, _CM_CENTR2LIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_CENTR2LIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CM_BASE2LIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CM_BASE2LIN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #2
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _CM_REG_MIXER1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CM_REG_MIXER1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_snd_cmipci_read_b
Lloh12:
	adrp	x8, _CM_REAR2LIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CM_REAR2LIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_REG_LEGACY_CTRL,4,2         ; @CM_REG_LEGACY_CTRL
	.comm	_CM_CENTR2LIN,4,2               ; @CM_CENTR2LIN
	.comm	_CM_BASE2LIN,4,2                ; @CM_BASE2LIN
	.comm	_CM_REG_MIXER1,4,2              ; @CM_REG_MIXER1
	.comm	_CM_REAR2LIN,4,2                ; @CM_REAR2LIN
	.no_dead_strip	_get_line_in_mode
.subsections_via_symbols
