	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function release_io_elsa
_release_io_elsa:                       ## @release_io_elsa
	.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
	movq	%rdi, %rbx
	addq	$40, %rdi
	callq	_del_timer
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	callq	_byteout
LBB0_2:
	movq	(%rbx), %rax
	movq	_ELSA_QS1000PCI@GOTPCREL(%rip), %rcx
	movl	$8, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	24(%rbx), %rdi
	addq	$76, %rdi
	movl	$1, %esi
	callq	_byteout
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	movq	_IPAC_ATX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %ecx
	callq	_writereg
	movq	24(%rbx), %rdi
	movl	$128, %esi
	callq	_release_region
	movq	(%rbx), %rax
	movl	$2, %r14d
LBB0_4:
	movq	_ELSA_QS3000PCI@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:
	movq	24(%rbx), %rdi
	addq	$76, %rdi
	movl	$3, %esi
	callq	_byteout
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	movq	_IPAC_ATX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %ecx
	callq	_writereg
	movq	24(%rbx), %rdi
	movl	$128, %esi
	callq	_release_region
	movq	(%rbx), %rax
LBB0_6:
	movq	_ELSA_PCMCIA_IPAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	movq	_IPAC_ATX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, %ecx
	callq	_writereg
LBB0_8:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	movq	(%rbx), %rax
	movq	_ELSA_PCFPRO@GOTPCREL(%rip), %rcx
	movq	_ELSA_QS3000@GOTPCREL(%rip), %rdx
	cmpq	(%r15), %rax
	movq	_ELSA_PCF@GOTPCREL(%rip), %rsi
	movl	$16, %ebx
	cmovel	%ebx, %r14d
	cmpq	(%rsi), %rax
	cmovel	%ebx, %r14d
	cmpq	(%rdx), %rax
	cmovel	%ebx, %r14d
	cmpq	(%rcx), %rax
	cmovel	%ebx, %r14d
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_release_region                 ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELSA_QS1000PCI,8,3             ## @ELSA_QS1000PCI
	.comm	_IPAC_ATX,4,2                   ## @IPAC_ATX
	.comm	_ELSA_QS3000PCI,8,3             ## @ELSA_QS3000PCI
	.comm	_ELSA_PCMCIA_IPAC,8,3           ## @ELSA_PCMCIA_IPAC
	.comm	_ELSA_PCFPRO,8,3                ## @ELSA_PCFPRO
	.comm	_ELSA_QS3000,8,3                ## @ELSA_QS3000
	.comm	_ELSA_PCF,8,3                   ## @ELSA_PCF
	.no_dead_strip	_release_io_elsa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function release_io_elsa
_release_io_elsa:                       ; @release_io_elsa
	.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	x19, x0
	add	x0, x0, #40
	bl	_del_timer
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_byteout
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ELSA_QS1000PCI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ELSA_QS1000PCI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	add	x0, x8, #76
	mov	w1, #1
	bl	_byteout
	ldp	w1, w0, [x19, #16]
Lloh3:
	adrp	x8, _IPAC_ATX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPAC_ATX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #255
	bl	_writereg
	ldr	x0, [x19, #24]
	mov	w1, #128
	bl	_release_region
	ldr	x8, [x19]
	mov	w20, #2
	b	LBB0_5
LBB0_4:
	mov	w20, #8
LBB0_5:
Lloh6:
	adrp	x21, _ELSA_QS3000PCI@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ELSA_QS3000PCI@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19, #24]
	add	x0, x8, #76
	mov	w1, #3
	bl	_byteout
	ldp	w1, w0, [x19, #16]
Lloh8:
	adrp	x8, _IPAC_ATX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IPAC_ATX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w3, #255
	bl	_writereg
	ldr	x0, [x19, #24]
	mov	w1, #128
	bl	_release_region
	ldr	x8, [x19]
LBB0_7:
Lloh11:
	adrp	x9, _ELSA_PCMCIA_IPAC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ELSA_PCMCIA_IPAC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldp	w1, w0, [x19, #16]
Lloh14:
	adrp	x8, _IPAC_ATX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPAC_ATX@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w3, #255
	bl	_writereg
LBB0_9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _ELSA_PCFPRO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ELSA_PCFPRO@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	adrp	x10, _ELSA_QS3000@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ELSA_QS3000@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
Lloh23:
	adrp	x11, _ELSA_PCF@GOTPAGE
Lloh24:
	ldr	x11, [x11, _ELSA_PCF@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x11]
	ldr	x12, [x21]
	cmp	x8, x12
	ccmp	x8, x11, #4, ne
	ccmp	x8, x10, #4, ne
	ccmp	x8, x9, #4, ne
	mov	w8, #16
	csel	w1, w8, w20, eq
	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	_release_region
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ELSA_QS1000PCI,8,3             ; @ELSA_QS1000PCI
	.comm	_IPAC_ATX,4,2                   ; @IPAC_ATX
	.comm	_ELSA_QS3000PCI,8,3             ; @ELSA_QS3000PCI
	.comm	_ELSA_PCMCIA_IPAC,8,3           ; @ELSA_PCMCIA_IPAC
	.comm	_ELSA_PCFPRO,8,3                ; @ELSA_PCFPRO
	.comm	_ELSA_QS3000,8,3                ; @ELSA_QS3000
	.comm	_ELSA_PCF,8,3                   ; @ELSA_PCF
	.no_dead_strip	_release_io_elsa
.subsections_via_symbols
