	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isolation_protocol             ## -- Begin function isolation_protocol
	.p2align	4, 0x90
_isolation_protocol:                    ## @isolation_protocol
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_send_Initiation_LFSR
	movq	_PNP_CONFIG_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_pnp_write
	movq	_PNP_MAX_CARDS@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.1:
	movl	$1, %ebx
	movq	_rd_port@GOTPCREL(%rip), %r13
	movq	__PNP_ADDRESS@GOTPCREL(%rip), %r12
	movq	_PNP_SERIAL_ISOLATION@GOTPCREL(%rip), %r15
	leaq	-96(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_logdevs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_PNP_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pnp_write
	movq	_PNP_SET_RD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_pnp_write
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_outb
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_DELAY
	movq	%r14, %rdi
	callq	_get_serial
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_dump_resdata
	incl	%ebx
	movq	_PNP_MAX_CARDS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_2
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	decl	%ebx
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PNP_CONFIG_CONTROL,4,2         ## @PNP_CONFIG_CONTROL
	.comm	_PNP_MAX_CARDS,4,2              ## @PNP_MAX_CARDS
	.comm	_logdevs,8,3                    ## @logdevs
	.comm	_PNP_WAKE,4,2                   ## @PNP_WAKE
	.comm	_PNP_SET_RD_DATA,4,2            ## @PNP_SET_RD_DATA
	.comm	_rd_port,4,2                    ## @rd_port
	.comm	__PNP_ADDRESS,4,2               ## @_PNP_ADDRESS
	.comm	_PNP_SERIAL_ISOLATION,4,2       ## @PNP_SERIAL_ISOLATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isolation_protocol             ; -- Begin function isolation_protocol
	.p2align	2
_isolation_protocol:                    ; @isolation_protocol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_send_Initiation_LFSR
Lloh3:
	adrp	x8, _PNP_CONFIG_CONTROL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PNP_CONFIG_CONTROL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_pnp_write
Lloh6:
	adrp	x20, _PNP_MAX_CARDS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _PNP_MAX_CARDS@GOTPAGEOFF]
	ldr	w8, [x20]
	mov	w19, #1
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
Lloh8:
	adrp	x21, _logdevs@GOTPAGE
Lloh9:
	ldr	x21, [x21, _logdevs@GOTPAGEOFF]
Lloh10:
	adrp	x22, _PNP_WAKE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _PNP_WAKE@GOTPAGEOFF]
Lloh12:
	adrp	x23, _PNP_SET_RD_DATA@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PNP_SET_RD_DATA@GOTPAGEOFF]
Lloh14:
	adrp	x24, _rd_port@GOTPAGE
Lloh15:
	ldr	x24, [x24, _rd_port@GOTPAGEOFF]
Lloh16:
	adrp	x25, __PNP_ADDRESS@GOTPAGE
Lloh17:
	ldr	x25, [x25, __PNP_ADDRESS@GOTPAGEOFF]
Lloh18:
	adrp	x26, _PNP_SERIAL_ISOLATION@GOTPAGE
Lloh19:
	ldr	x26, [x26, _PNP_SERIAL_ISOLATION@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x21]
	ldr	w0, [x22]
	mov	w1, #0
	bl	_pnp_write
	ldr	w0, [x23]
	ldr	w1, [x24]
	bl	_pnp_write
	ldr	w0, [x25]
	ldr	w1, [x26]
	bl	_outb
	mov	w0, #1000
	bl	_DELAY
	add	x0, sp, #4
	bl	_get_serial
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #4
	mov	x1, x19
	bl	_dump_resdata
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [sp, #40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	w0, w19, #1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PNP_CONFIG_CONTROL,4,2         ; @PNP_CONFIG_CONTROL
	.comm	_PNP_MAX_CARDS,4,2              ; @PNP_MAX_CARDS
	.comm	_logdevs,8,3                    ; @logdevs
	.comm	_PNP_WAKE,4,2                   ; @PNP_WAKE
	.comm	_PNP_SET_RD_DATA,4,2            ; @PNP_SET_RD_DATA
	.comm	_rd_port,4,2                    ; @rd_port
	.comm	__PNP_ADDRESS,4,2               ; @_PNP_ADDRESS
	.comm	_PNP_SERIAL_ISOLATION,4,2       ; @PNP_SERIAL_ISOLATION
.subsections_via_symbols
