	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc20230_set_piomode
_pdc20230_set_piomode:                  ## @pdc20230_set_piomode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_local_irq_save
	movl	$-4, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$501, %edi                      ## imm = 0x1F5
	callq	_inb
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	orl	$128, %eax
	movl	%eax, %edi
	movl	$498, %esi                      ## imm = 0x1F2
	callq	_outb
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	movl	$1014, %edi                     ## imm = 0x3F6
	callq	_inb
	movl	$1014, %edi                     ## imm = 0x3F6
	callq	_inb
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	testb	$-128, %al
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_1
LBB0_3:
	callq	_local_irq_restore
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_inb
	andl	$7, %eax
	movl	%eax, %edi
	movl	$500, %esi                      ## imm = 0x1F4
	callq	_outb
	movl	$499, %edi                      ## imm = 0x1F3
	callq	_inb
	movl	$100, %edi
	callq	_udelay
	movl	$498, %edi                      ## imm = 0x1F2
	callq	_inb
	orl	$1, %eax
	movl	%eax, %edi
	movl	$498, %esi                      ## imm = 0x1F2
	callq	_outb
	movl	$100, %edi
	callq	_udelay
	movl	$501, %edi                      ## imm = 0x1F5
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_inb                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XFER_PIO_0,4,2                 ## @XFER_PIO_0
	.no_dead_strip	_pdc20230_set_piomode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc20230_set_piomode
_pdc20230_set_piomode:                  ; @pdc20230_set_piomode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_local_irq_save
	mov	w0, #501
	bl	_inb
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x80
	mov	w1, #498
	bl	_outb
	mov	w0, #498
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	tbz	w0, #7, LBB0_5
; %bb.1:
	mov	w0, #501
	bl	_inb
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x80
	mov	w1, #498
	bl	_outb
	mov	w0, #498
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	tbz	w0, #7, LBB0_5
; %bb.2:
	mov	w0, #501
	bl	_inb
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x80
	mov	w1, #498
	bl	_outb
	mov	w0, #498
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	tbz	w0, #7, LBB0_5
; %bb.3:
	mov	w0, #501
	bl	_inb
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x80
	mov	w1, #498
	bl	_outb
	mov	w0, #498
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	tbz	w0, #7, LBB0_5
; %bb.4:
	mov	w0, #501
	bl	_inb
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x80
	mov	w1, #498
	bl	_outb
	mov	w0, #498
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #1014
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
	mov	w0, #498
	bl	_inb
LBB0_5:
	bl	_local_irq_restore
	mov	w0, #500
	bl	_inb
	and	w0, w0, #0x7
	mov	w1, #500
	bl	_outb
	mov	w0, #499
	bl	_inb
	mov	w0, #100
	bl	_udelay
	mov	w0, #498
	bl	_inb
	orr	w0, w0, #0x1
	mov	w1, #498
	bl	_outb
	mov	w0, #100
	bl	_udelay
	mov	w0, #501
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_inb
	.cfi_endproc
                                        ; -- End function
	.comm	_XFER_PIO_0,4,2                 ; @XFER_PIO_0
	.no_dead_strip	_pdc20230_set_piomode
.subsections_via_symbols
