	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bluecard_write_wakeup
_bluecard_write_wakeup:                 ## @bluecard_write_wakeup
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	movq	_XMIT_SENDING_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	_XMIT_SENDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.23:
	movq	_XMIT_WAKEUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_22:
	leaq	L_.str(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BT_ERR                         ## TAILCALL
LBB0_3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_skb_pull
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_skb_queue_head
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	addl	%ebx, (%rax)
	movq	_XMIT_BUFFER_NUMBER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_change_bit
	movq	_XMIT_WAKEUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_20
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	24(%r14), %rax
	movl	(%rax), %r12d
	movq	_XMIT_WAKEUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	24(%r14), %rdi
	callq	_pcmcia_dev_present
	testl	%eax, %eax
	je	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_XMIT_BUFFER_NUMBER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_XMIT_BUF_TWO_READY@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_test_bit
	movl	$16, %ebx
	movq	%r14, %rcx
	movq	_REG_COMMAND_TX_BUF_TWO@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_XMIT_BUF_ONE_READY@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	movq	%r14, %rcx
	movq	_REG_COMMAND_TX_BUF_ONE@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	je	LBB0_20
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rdx), %r15d
	movq	(%rcx), %r14
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_bt_cb
	testb	$-128, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_REG_CONTROL_RTS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%rax)
	movq	_REG_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	callq	_outb
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bluecard_enable_activity_led
	movl	(%r13), %ecx
	movl	4(%r13), %edx
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_bluecard_write
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_REG_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movzbl	%r15b, %edi
	callq	_outb_p
	movq	%r14, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_clear_bit
	movq	%r13, %rdi
	callq	_bt_cb
	testb	$-128, (%rax)
	movq	_wq@GOTPCREL(%rip), %rax
	movq	_wait@GOTPCREL(%rip), %rbx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %edi
	callq	_DECLARE_WAIT_QUEUE_HEAD_ONSTACK
	movl	(%rbx), %edi
	callq	_DEFINE_WAIT
	movq	%r13, %rdi
	callq	_bt_cb
	movl	(%rax), %eax
	movl	$-129, %ecx
	addl	%ecx, %eax
	movq	_REG_CONTROL_BAUD_RATE_57600@GOTPCREL(%rip), %rcx
	cmpl	$2, %eax
	ja	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	cltq
	leaq	l_switch.table.bluecard_write_wakeup(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rcx), %r14d
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wq@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_prepare_to_wait
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_schedule_timeout
	movq	_wq@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_finish_wait
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	andl	$-4, %edi
	orl	%r14d, %edi
	movl	%edi, (%rbx)
	movq	_REG_CONTROL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	%r12, %rsi
	callq	_outb
	movq	_REG_CONTROL_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	(%rbx), %edi
	movl	%edi, (%rbx)
	movq	_wq@GOTPCREL(%rip), %rbx
	addq	(%r14), %r12
	movq	%r12, %rsi
	callq	_outb
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %r14
	movq	_wait@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_prepare_to_wait
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_schedule_timeout
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_finish_wait
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	cmpl	(%r13), %ebx
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_kfree_skb
	jmp	LBB0_19
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_XMIT_SENDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown device"

	.comm	_XMIT_SENDING_READY,8,3         ## @XMIT_SENDING_READY
	.comm	_XMIT_SENDING,8,3               ## @XMIT_SENDING
	.comm	_XMIT_WAKEUP,8,3                ## @XMIT_WAKEUP
	.comm	_XMIT_BUFFER_NUMBER,8,3         ## @XMIT_BUFFER_NUMBER
	.comm	_XMIT_BUF_TWO_READY,8,3         ## @XMIT_BUF_TWO_READY
	.comm	_REG_COMMAND_TX_BUF_TWO,1,0     ## @REG_COMMAND_TX_BUF_TWO
	.comm	_XMIT_BUF_ONE_READY,8,3         ## @XMIT_BUF_ONE_READY
	.comm	_REG_COMMAND_TX_BUF_ONE,1,0     ## @REG_COMMAND_TX_BUF_ONE
	.comm	_REG_CONTROL_RTS,4,2            ## @REG_CONTROL_RTS
	.comm	_REG_CONTROL,8,3                ## @REG_CONTROL
	.comm	_REG_COMMAND,8,3                ## @REG_COMMAND
	.comm	_wq,4,2                         ## @wq
	.comm	_wait,4,2                       ## @wait
	.comm	_REG_CONTROL_BAUD_RATE_460800,1,0 ## @REG_CONTROL_BAUD_RATE_460800
	.comm	_REG_CONTROL_BAUD_RATE_230400,1,0 ## @REG_CONTROL_BAUD_RATE_230400
	.comm	_REG_CONTROL_BAUD_RATE_115200,1,0 ## @REG_CONTROL_BAUD_RATE_115200
	.comm	_REG_CONTROL_BAUD_RATE_57600,1,0 ## @REG_CONTROL_BAUD_RATE_57600
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_bluecard_write_wakeup
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.bluecard_write_wakeup
l_switch.table.bluecard_write_wakeup:
	.quad	_REG_CONTROL_BAUD_RATE_460800
	.quad	_REG_CONTROL_BAUD_RATE_230400
	.quad	_REG_CONTROL_BAUD_RATE_115200

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bluecard_write_wakeup
_bluecard_write_wakeup:                 ; @bluecard_write_wakeup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _XMIT_SENDING_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XMIT_SENDING_READY@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	add	x19, x20, #4
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_23
; %bb.2:
Lloh3:
	adrp	x8, _XMIT_SENDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XMIT_SENDING@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _XMIT_WAKEUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XMIT_WAKEUP@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_set_bit
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_BT_ERR
LBB0_5:
Lloh11:
	adrp	x21, _wq@GOTPAGE
Lloh12:
	ldr	x21, [x21, _wq@GOTPAGEOFF]
Lloh13:
	adrp	x22, _wait@GOTPAGE
Lloh14:
	ldr	x22, [x22, _wait@GOTPAGEOFF]
	add	x23, x20, #16
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	mov	x1, x26
	bl	_skb_pull
	mov	x0, x23
	mov	x1, x25
	bl	_skb_queue_head
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	add	w9, w9, w26
	str	w9, [x8]
Lloh15:
	adrp	x8, _XMIT_BUFFER_NUMBER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XMIT_BUFFER_NUMBER@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_change_bit
Lloh18:
	adrp	x8, _XMIT_WAKEUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _XMIT_WAKEUP@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	w24, [x8]
Lloh21:
	adrp	x8, _XMIT_WAKEUP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XMIT_WAKEUP@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_clear_bit
	ldr	x0, [x20, #24]
	bl	_pcmcia_dev_present
	cbz	w0, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh24:
	adrp	x8, _XMIT_BUFFER_NUMBER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XMIT_BUFFER_NUMBER@GOTPAGEOFF]
Lloh26:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh27:
	adrp	x8, _XMIT_BUF_TWO_READY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XMIT_BUF_TWO_READY@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w26, #16
Lloh30:
	adrp	x8, _XMIT_BUF_TWO_READY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _XMIT_BUF_TWO_READY@GOTPAGEOFF]
Lloh32:
	adrp	x9, _REG_COMMAND_TX_BUF_TWO@GOTPAGE
Lloh33:
	ldr	x9, [x9, _REG_COMMAND_TX_BUF_TWO@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh34:
	adrp	x8, _XMIT_BUF_ONE_READY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _XMIT_BUF_ONE_READY@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w26, #0
Lloh37:
	adrp	x8, _XMIT_BUF_ONE_READY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _XMIT_BUF_ONE_READY@GOTPAGEOFF]
Lloh39:
	adrp	x9, _REG_COMMAND_TX_BUF_ONE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _REG_COMMAND_TX_BUF_ONE@GOTPAGEOFF]
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w28, [x9]
	ldr	x27, [x8]
	mov	x0, x23
	bl	_skb_dequeue
	cbz	x0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	bl	_bt_cb
	ldrb	w8, [x0]
	tbz	w8, #7, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh41:
	adrp	x8, _REG_CONTROL_RTS@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_CONTROL_RTS@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w0, w9, w8
	str	w0, [x20]
Lloh44:
	adrp	x8, _REG_CONTROL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _REG_CONTROL@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	add	x1, x8, x24
	bl	_outb
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_bluecard_enable_activity_led
	ldp	w3, w2, [x25]
	mov	x0, x24
	mov	x1, x26
	bl	_bluecard_write
	mov	x26, x0
Lloh47:
	adrp	x8, _REG_COMMAND@GOTPAGE
Lloh48:
	ldr	x8, [x8, _REG_COMMAND@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	add	x1, x8, x24
	mov	x0, x28
	bl	_outb_p
	mov	x0, x27
	mov	x1, x19
	bl	_clear_bit
	mov	x0, x25
	bl	_bt_cb
	ldrb	w8, [x0]
	tbz	w8, #7, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x21]
	bl	_DECLARE_WAIT_QUEUE_HEAD_ONSTACK
	ldr	w0, [x22]
	bl	_DEFINE_WAIT
	mov	x0, x25
	bl	_bt_cb
	ldr	w8, [x0]
	sub	w9, w8, #129
Lloh50:
	adrp	x8, _REG_CONTROL_BAUD_RATE_57600@GOTPAGE
Lloh51:
	ldr	x8, [x8, _REG_CONTROL_BAUD_RATE_57600@GOTPAGEOFF]
	cmp	w9, #2
	b.hi	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh52:
	adrp	x8, l_switch.table.bluecard_write_wakeup@PAGE
Lloh53:
	add	x8, x8, l_switch.table.bluecard_write_wakeup@PAGEOFF
	ldr	x8, [x8, w9, sxtw #3]
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w27, [x8]
Lloh54:
	adrp	x28, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh55:
	ldr	x28, [x28, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x21
	mov	x1, x22
	bl	_prepare_to_wait
Lloh56:
	adrp	x23, _HZ@GOTPAGE
Lloh57:
	ldr	x23, [x23, _HZ@GOTPAGEOFF]
	ldrsw	x8, [x23]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w0, w8, w9
	bl	_schedule_timeout
	mov	x0, x21
	mov	x1, x22
	bl	_finish_wait
	ldr	w8, [x20]
	and	w8, w8, #0xfffffffc
	orr	w0, w8, w27
	str	w0, [x20]
Lloh58:
	adrp	x27, _REG_CONTROL@GOTPAGE
Lloh59:
	ldr	x27, [x27, _REG_CONTROL@GOTPAGEOFF]
	ldr	x8, [x27]
	add	x1, x8, x24
	bl	_outb
Lloh60:
	adrp	x8, _REG_CONTROL_RTS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _REG_CONTROL_RTS@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w0, w9, w8
	str	w0, [x20]
	ldr	x8, [x27]
	add	x1, x8, x24
	bl	_outb
	ldr	w2, [x28]
	mov	x0, x21
	mov	x1, x22
	bl	_prepare_to_wait
	ldr	w0, [x23]
	bl	_schedule_timeout
	mov	x0, x21
	mov	x1, x22
	bl	_finish_wait
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	cmp	w26, w8
	b.ne	LBB0_6
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_kfree_skb
	b	LBB0_7
LBB0_23:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_24:
Lloh63:
	adrp	x8, _XMIT_SENDING@GOTPAGE
Lloh64:
	ldr	x8, [x8, _XMIT_SENDING@GOTPAGEOFF]
Lloh65:
	ldr	x0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown device"

	.comm	_XMIT_SENDING_READY,8,3         ; @XMIT_SENDING_READY
	.comm	_XMIT_SENDING,8,3               ; @XMIT_SENDING
	.comm	_XMIT_WAKEUP,8,3                ; @XMIT_WAKEUP
	.comm	_XMIT_BUFFER_NUMBER,8,3         ; @XMIT_BUFFER_NUMBER
	.comm	_XMIT_BUF_TWO_READY,8,3         ; @XMIT_BUF_TWO_READY
	.comm	_REG_COMMAND_TX_BUF_TWO,1,0     ; @REG_COMMAND_TX_BUF_TWO
	.comm	_XMIT_BUF_ONE_READY,8,3         ; @XMIT_BUF_ONE_READY
	.comm	_REG_COMMAND_TX_BUF_ONE,1,0     ; @REG_COMMAND_TX_BUF_ONE
	.comm	_REG_CONTROL_RTS,4,2            ; @REG_CONTROL_RTS
	.comm	_REG_CONTROL,8,3                ; @REG_CONTROL
	.comm	_REG_COMMAND,8,3                ; @REG_COMMAND
	.comm	_wq,4,2                         ; @wq
	.comm	_wait,4,2                       ; @wait
	.comm	_REG_CONTROL_BAUD_RATE_460800,1,0 ; @REG_CONTROL_BAUD_RATE_460800
	.comm	_REG_CONTROL_BAUD_RATE_230400,1,0 ; @REG_CONTROL_BAUD_RATE_230400
	.comm	_REG_CONTROL_BAUD_RATE_115200,1,0 ; @REG_CONTROL_BAUD_RATE_115200
	.comm	_REG_CONTROL_BAUD_RATE_57600,1,0 ; @REG_CONTROL_BAUD_RATE_57600
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_bluecard_write_wakeup
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bluecard_write_wakeup
l_switch.table.bluecard_write_wakeup:
	.quad	_REG_CONTROL_BAUD_RATE_460800
	.quad	_REG_CONTROL_BAUD_RATE_230400
	.quad	_REG_CONTROL_BAUD_RATE_115200

.subsections_via_symbols
