	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stl_cd1400sendbreak
_stl_cd1400sendbreak:                   ## @stl_cd1400sendbreak
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_pr_debug
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	callq	_BRDENABLE
	movq	_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	andl	$3, %edx
	movq	%rbx, %rdi
	callq	_stl_cd1400setreg
	movq	_SRER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_stl_cd1400getreg
	movq	_SRER_TXDATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SRER_TXEMPTY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_stl_cd1400setreg
	movl	12(%rbx), %edi
	callq	_BRDDISABLE
	movl	%r14d, 4(%rbx)
	cmpl	$1, %r14d
	jne	LBB0_2
## %bb.1:
	incl	8(%rbx)
LBB0_2:
	movq	_brd_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stl_cd1400sendbreak(portp=%p,len=%d)\n"

	.comm	_brd_lock,4,2                   ## @brd_lock
	.comm	_CAR,4,2                        ## @CAR
	.comm	_SRER,4,2                       ## @SRER
	.comm	_SRER_TXDATA,4,2                ## @SRER_TXDATA
	.comm	_SRER_TXEMPTY,4,2               ## @SRER_TXEMPTY
	.no_dead_strip	_stl_cd1400sendbreak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stl_cd1400sendbreak
_stl_cd1400sendbreak:                   ; @stl_cd1400sendbreak
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_pr_debug
Lloh2:
	adrp	x0, _brd_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	ldp	w0, w1, [x19, #12]
	bl	_BRDENABLE
Lloh4:
	adrp	x8, _CAR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CAR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w8, [x19]
	and	w2, w8, #0x3
	mov	x0, x19
	bl	_stl_cd1400setreg
Lloh7:
	adrp	x8, _SRER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SRER@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_stl_cd1400getreg
Lloh10:
	adrp	x8, _SRER_TXDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SRER_TXDATA@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh13:
	adrp	x9, _SRER_TXEMPTY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SRER_TXEMPTY@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x21
	bl	_stl_cd1400setreg
	ldr	w0, [x19, #12]
	bl	_BRDDISABLE
	str	w20, [x19, #4]
	cmp	w20, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_2:
Lloh16:
	adrp	x0, _brd_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _brd_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stl_cd1400sendbreak(portp=%p,len=%d)\n"

	.comm	_brd_lock,4,2                   ; @brd_lock
	.comm	_CAR,4,2                        ; @CAR
	.comm	_SRER,4,2                       ; @SRER
	.comm	_SRER_TXDATA,4,2                ; @SRER_TXDATA
	.comm	_SRER_TXEMPTY,4,2               ; @SRER_TXEMPTY
	.no_dead_strip	_stl_cd1400sendbreak
.subsections_via_symbols
