	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Sedl_card_msg
_Sedl_card_msg:                         ## @Sedl_card_msg
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_25
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_18:
	movl	32(%rbx), %eax
	movq	_SEDL_SPEEDFAX_PYRAMID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.19:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	testq	%r14, %r14
	je	LBB0_21
## %bb.20:
	movq	_SEDL_ISAR_PCI_LED2@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_13:
	movl	32(%rbx), %eax
	movq	_SEDL_SPEEDFAX_PYRAMID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.14:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	_SEDL_ISAR_PCI_LED2@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_2:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_reset_sedlbauer
	jmp	LBB0_24
LBB0_3:
	movl	24(%rbx), %eax
	movq	_SEDL_BUS_PCI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	addl	$5, %edi
	xorl	%esi, %esi
	callq	_byteout
LBB0_5:
	movl	20(%rbx), %eax
	movq	_SEDL_CHIP_ISAC_ISAR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movq	_ISAR_IRQBIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%ecx, %ecx
	callq	_writereg
	movl	16(%rbx), %edi
	movl	28(%rbx), %esi
	movq	_ISAC_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$255, %ecx
	callq	_writereg
	movq	%rbx, %rdi
	callq	_reset_sedlbauer
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movl	(%r14), %edx
	xorl	%ecx, %ecx
	callq	_writereg
	movl	16(%rbx), %edi
	movl	28(%rbx), %esi
	movl	(%r15), %edx
	movl	$255, %ecx
	callq	_writereg
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_7:
	movq	%rbx, %rdi
	callq	_release_io_sedlbauer
	jmp	LBB0_25
LBB0_8:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	24(%rbx), %eax
	movq	_SEDL_BUS_PCI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movl	8(%rbx), %edi
	addl	$5, %edi
	movl	$2, %esi
	callq	_byteout
LBB0_10:
	movq	%rbx, %rdi
	callq	_reset_sedlbauer
	movl	20(%rbx), %eax
	movq	_SEDL_CHIP_ISAC_ISAR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_clear_pending_isac_ints
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	movq	_ISAR_IRQBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_writereg
	movq	%rbx, %rdi
	callq	_initisac
	movq	%rbx, %rdi
	callq	_initisar
	movq	_ISAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*40(%rbx)
	movq	_ISAC_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65, %edx
	callq	*40(%rbx)
	jmp	LBB0_24
LBB0_12:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_inithscxisac
	jmp	LBB0_24
LBB0_21:
	movq	_SEDL_ISAR_PCI_LED1@GOTPCREL(%rip), %rax
LBB0_22:
	movl	4(%rbx), %esi
	orl	(%rax), %esi
	jmp	LBB0_23
LBB0_16:
	movq	_SEDL_ISAR_PCI_LED1@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	notl	%esi
	andl	4(%rbx), %esi
LBB0_23:
	movl	%esi, 4(%rbx)
	movl	8(%rbx), %edi
	addl	$3, %edi
	callq	_byteout
LBB0_24:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
LBB0_25:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_25
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_SEDL_BUS_PCI,4,2               ## @SEDL_BUS_PCI
	.comm	_SEDL_CHIP_ISAC_ISAR,4,2        ## @SEDL_CHIP_ISAC_ISAR
	.comm	_ISAR_IRQBIT,4,2                ## @ISAR_IRQBIT
	.comm	_ISAC_MASK,4,2                  ## @ISAC_MASK
	.comm	_ISAC_CMDR,4,2                  ## @ISAC_CMDR
	.comm	_SEDL_SPEEDFAX_PYRAMID,4,2      ## @SEDL_SPEEDFAX_PYRAMID
	.comm	_SEDL_ISAR_PCI_LED2,4,2         ## @SEDL_ISAR_PCI_LED2
	.comm	_SEDL_ISAR_PCI_LED1,4,2         ## @SEDL_ISAR_PCI_LED1
	.no_dead_strip	_Sedl_card_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Sedl_card_msg
_Sedl_card_msg:                         ; @Sedl_card_msg
	.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
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_25
; %bb.1:
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19, #32]
Lloh2:
	adrp	x9, _SEDL_SPEEDFAX_PYRAMID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SEDL_SPEEDFAX_PYRAMID@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.3:
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbz	x20, LBB0_19
; %bb.4:
Lloh5:
	adrp	x8, _SEDL_ISAR_PCI_LED2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEDL_ISAR_PCI_LED2@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
	ldr	w8, [x19, #32]
Lloh7:
	adrp	x9, _SEDL_SPEEDFAX_PYRAMID@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SEDL_SPEEDFAX_PYRAMID@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.6:
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbz	x20, LBB0_21
; %bb.7:
Lloh10:
	adrp	x8, _SEDL_ISAR_PCI_LED2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEDL_ISAR_PCI_LED2@GOTPAGEOFF]
	b	LBB0_22
LBB0_8:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_reset_sedlbauer
	b	LBB0_24
LBB0_9:
	ldr	w8, [x19, #24]
Lloh12:
	adrp	x9, _SEDL_BUS_PCI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SEDL_BUS_PCI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [x19, #8]
	add	w0, w8, #5
	mov	w1, #0
	bl	_byteout
LBB0_11:
	ldr	w8, [x19, #20]
Lloh15:
	adrp	x9, _SEDL_CHIP_ISAC_ISAR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SEDL_CHIP_ISAC_ISAR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldp	w1, w0, [x19, #12]
Lloh18:
	adrp	x20, _ISAR_IRQBIT@GOTPAGE
Lloh19:
	ldr	x20, [x20, _ISAR_IRQBIT@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w3, #0
	bl	_writereg
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #28]
Lloh20:
	adrp	x21, _ISAC_MASK@GOTPAGE
Lloh21:
	ldr	x21, [x21, _ISAC_MASK@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w3, #255
	bl	_writereg
	mov	x0, x19
	bl	_reset_sedlbauer
	ldp	w1, w0, [x19, #12]
	ldr	w2, [x20]
	mov	w3, #0
	bl	_writereg
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #28]
	ldr	w2, [x21]
	mov	w3, #255
	bl	_writereg
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_13:
	mov	x0, x19
	bl	_release_io_sedlbauer
	b	LBB0_25
LBB0_14:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #24]
Lloh22:
	adrp	x9, _SEDL_BUS_PCI@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SEDL_BUS_PCI@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x19, #8]
	add	w0, w8, #5
	mov	w1, #2
	bl	_byteout
LBB0_16:
	mov	x0, x19
	bl	_reset_sedlbauer
	ldr	w8, [x19, #20]
Lloh25:
	adrp	x9, _SEDL_CHIP_ISAC_ISAR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _SEDL_CHIP_ISAC_ISAR@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	mov	x0, x19
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.17:
	bl	_clear_pending_isac_ints
	ldp	w1, w0, [x19, #12]
Lloh28:
	adrp	x8, _ISAR_IRQBIT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ISAR_IRQBIT@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_writereg
	mov	x0, x19
	bl	_initisac
	mov	x0, x19
	bl	_initisar
	ldr	x8, [x19, #40]
Lloh31:
	adrp	x9, _ISAC_MASK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ISAC_MASK@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #40]
Lloh34:
	adrp	x9, _ISAC_CMDR@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ISAC_CMDR@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #65
	blr	x8
	b	LBB0_24
LBB0_18:
	mov	w1, #3
	bl	_inithscxisac
	b	LBB0_24
LBB0_19:
Lloh37:
	adrp	x8, _SEDL_ISAR_PCI_LED1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SEDL_ISAR_PCI_LED1@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w1, w9, w8
	b	LBB0_23
LBB0_21:
Lloh39:
	adrp	x8, _SEDL_ISAR_PCI_LED1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SEDL_ISAR_PCI_LED1@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w1, w9, w8
LBB0_23:
	str	w1, [x19, #4]
	ldr	w8, [x19, #8]
	add	w0, w8, #3
	bl	_byteout
LBB0_24:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_25:
	mov	w0, #0
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_SEDL_BUS_PCI,4,2               ; @SEDL_BUS_PCI
	.comm	_SEDL_CHIP_ISAC_ISAR,4,2        ; @SEDL_CHIP_ISAC_ISAR
	.comm	_ISAR_IRQBIT,4,2                ; @ISAR_IRQBIT
	.comm	_ISAC_MASK,4,2                  ; @ISAC_MASK
	.comm	_ISAC_CMDR,4,2                  ; @ISAC_CMDR
	.comm	_SEDL_SPEEDFAX_PYRAMID,4,2      ; @SEDL_SPEEDFAX_PYRAMID
	.comm	_SEDL_ISAR_PCI_LED2,4,2         ; @SEDL_ISAR_PCI_LED2
	.comm	_SEDL_ISAR_PCI_LED1,4,2         ; @SEDL_ISAR_PCI_LED1
	.no_dead_strip	_Sedl_card_msg
.subsections_via_symbols
