	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ungermann_try_io_port
_ungermann_try_io_port:                 ## @ungermann_try_io_port
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	$768, (%rax)                    ## imm = 0x300
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$800, (%rax)                    ## imm = 0x320
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$832, (%rax)                    ## imm = 0x340
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$864, (%rax)                    ## imm = 0x360
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$896, (%rax)                    ## imm = 0x380
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$928, (%rax)                    ## imm = 0x3A0
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$960, (%rax)                    ## imm = 0x3C0
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	shrl	$3, %eax
	andl	$28, %eax
	orl	$34, %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ungermann_try_io_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ungermann_try_io_port
_ungermann_try_io_port:                 ; @ungermann_try_io_port
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	mov	w9, #768
	str	w9, [x8]
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #800
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #832
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #864
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #896
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #928
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	w9, #960
	str	w9, [x8]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbnz	w0, LBB0_8
LBB0_7:
	mov	w0, #0
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	lsr	w8, w8, #3
	and	w8, w8, #0x1c
	mov	w9, #34
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ungermann_try_io_port
.subsections_via_symbols
