	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_rd_port@GOTPCREL(%rip), %rbx
	movl	$128, (%rbx)
	movl	$128, %eax
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	3(,%rax,4), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	%eax, %edi
	callq	_DEB
	xorl	%eax, %eax
	callq	_isolation_protocol
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %ecx
	leal	16(%rcx), %eax
	movl	%eax, (%rbx)
	cmpl	$239, %ecx
	jl	LBB0_1
## %bb.3:
	leaq	L_str.3(%rip), %rdi
	callq	_puts
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rd_port,4,2                    ## @rd_port
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Trying Read_Port at %x...\n"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_str:                                  ## @str
	.asciz	"Checking for Plug-n-Play devices..."

L_str.3:                                ## @str.3
	.asciz	"No Plug-n-Play devices were found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x20, _rd_port@GOTPAGE
Lloh3:
	ldr	x20, [x20, _rd_port@GOTPAGEOFF]
	mov	w8, #128
	str	w8, [x20]
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w9, #3
	bfi	w9, w8, #2, #30
	str	x9, [sp]
	mov	x0, x19
	bl	_printf
	bl	_DEB
	bl	_isolation_protocol
	cbnz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x20]
	add	w8, w9, #16
	str	w8, [x20]
	cmp	w9, #239
	b.lt	LBB0_1
; %bb.3:
Lloh6:
	adrp	x0, l_str.3@PAGE
Lloh7:
	add	x0, x0, l_str.3@PAGEOFF
	bl	_puts
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_rd_port,4,2                    ; @rd_port
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Trying Read_Port at %x...\n"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_str:                                  ; @str
	.asciz	"Checking for Plug-n-Play devices..."

l_str.3:                                ; @str.3
	.asciz	"No Plug-n-Play devices were found"

.subsections_via_symbols
