	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sx_request_io_range
_sx_request_io_range:                   ## @sx_request_io_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movl	4(%rdi), %edi
	movq	_SX_BOARD_IS_PCI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_SX_IO_SPACE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SX_PCI_IO_SPACE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_request_region
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SX_BOARD_IS_PCI,4,2            ## @SX_BOARD_IS_PCI
	.comm	_SX_PCI_IO_SPACE,4,2            ## @SX_PCI_IO_SPACE
	.comm	_SX_IO_SPACE,4,2                ## @SX_IO_SPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"specialix IO8+"

	.no_dead_strip	_sx_request_io_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sx_request_io_range
_sx_request_io_range:                   ; @sx_request_io_range
	.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
	ldp	w9, w8, [x0]
Lloh0:
	adrp	x10, _SX_BOARD_IS_PCI@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SX_BOARD_IS_PCI@GOTPAGEOFF]
Lloh2:
	adrp	x11, _SX_PCI_IO_SPACE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SX_PCI_IO_SPACE@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x12, _SX_IO_SPACE@GOTPAGE
Lloh6:
	ldr	x12, [x12, _SX_IO_SPACE@GOTPAGEOFF]
	tst	w10, w9
	csel	x9, x12, x11, eq
	ldr	w1, [x9]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x8
	bl	_request_region
	cmp	x0, #0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SX_BOARD_IS_PCI,4,2            ; @SX_BOARD_IS_PCI
	.comm	_SX_PCI_IO_SPACE,4,2            ; @SX_PCI_IO_SPACE
	.comm	_SX_IO_SPACE,4,2                ; @SX_IO_SPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"specialix IO8+"

	.no_dead_strip	_sx_request_io_range
.subsections_via_symbols
