	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adi_init_digital
_adi_init_digital:                      ## @adi_init_digital
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	_adi_init_digital.seq(%rip), %r15
	xorl	%ebx, %ebx
	movl	$265, %r12d                     ## imm = 0x109
	movl	$246, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	addq	$4, %r15
	cmpq	$9, %rbx
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_gameport_trigger
	btq	%rbx, %r12
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	callq	_msleep
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	btq	%rbx, %r13
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %r12d
	movl	%r12d, %edi
	negl	%edi
	callq	_mdelay
	imull	$-14, %r12d, %edi
	movl	$265, %r12d                     ## imm = 0x109
	callq	_udelay
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @adi_init_digital.seq
_adi_init_digital.seq:
	.long	4                               ## 0x4
	.long	4294967294                      ## 0xfffffffe
	.long	4294967293                      ## 0xfffffffd
	.long	10                              ## 0xa
	.long	4294967290                      ## 0xfffffffa
	.long	4294967285                      ## 0xfffffff5
	.long	4294967289                      ## 0xfffffff9
	.long	4294967287                      ## 0xfffffff7
	.long	11                              ## 0xb
	.long	0                               ## 0x0

	.no_dead_strip	_adi_init_digital
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adi_init_digital
_adi_init_digital:                      ; @adi_init_digital
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	x20, #0
	mov	w21, #265
	mov	w22, #246
	mov	w23, #-14
Lloh0:
	adrp	x24, _adi_init_digital.seq@PAGE
Lloh1:
	add	x24, x24, _adi_init_digital.seq@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	cmp	x20, #9
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_gameport_trigger
	lsr	x8, x21, x20
	tbz	w8, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24, x20, lsl #2]
	bl	_msleep
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsr	x8, x22, x20
	tbz	w8, #0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w25, [x24, x20, lsl #2]
	neg	w0, w25
	bl	_mdelay
	mul	w0, w25, w23
	bl	_udelay
	b	LBB0_1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @adi_init_digital.seq
_adi_init_digital.seq:
	.long	4                               ; 0x4
	.long	4294967294                      ; 0xfffffffe
	.long	4294967293                      ; 0xfffffffd
	.long	10                              ; 0xa
	.long	4294967290                      ; 0xfffffffa
	.long	4294967285                      ; 0xfffffff5
	.long	4294967289                      ; 0xfffffff9
	.long	4294967287                      ; 0xfffffff7
	.long	11                              ; 0xb
	.long	0                               ; 0x0

	.no_dead_strip	_adi_init_digital
.subsections_via_symbols
