	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schizo_read_config
_schizo_read_config:                    ## @schizo_read_config
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_device_get_softc
	movq	(%rax), %rcx
	movq	_SCHIZO_MODE_SCZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.1:
	cmpq	%rbx, 8(%rax)
	jne	LBB0_5
## %bb.2:
	movq	_STX_CS_DEVICE@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_STX_CS_FUNC@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_5
## %bb.4:
	movslq	%r12d, %rax
	addq	%r15, %rax
	cmpq	$128, %rax
	jle	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	addq	$24, %rsp
	jmp	LBB0_7
LBB0_5:
	movq	_PCI_REGMAX@GOTPCREL(%rip), %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_STX_CONF_OFF
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	%r14, %r9
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	callq	_ofw_pci_read_config_common
	addq	$40, %rsp
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCHIZO_MODE_SCZ,8,3            ## @SCHIZO_MODE_SCZ
	.comm	_STX_CS_DEVICE,8,3              ## @STX_CS_DEVICE
	.comm	_STX_CS_FUNC,8,3                ## @STX_CS_FUNC
	.comm	_PCI_REGMAX,4,2                 ## @PCI_REGMAX
	.no_dead_strip	_schizo_read_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schizo_read_config
_schizo_read_config:                    ; @schizo_read_config
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_device_get_softc
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SCHIZO_MODE_SCZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCHIZO_MODE_SCZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _STX_CS_DEVICE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STX_CS_DEVICE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _STX_CS_FUNC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _STX_CS_FUNC@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x23
	ccmp	x9, x22, #0, eq
	ccmp	x10, x21, #0, eq
	b.ne	LBB0_4
; %bb.2:
	add	x8, x20, w19, sxtw
	cmp	x8, #128
	b.le	LBB0_4
; %bb.3:
	mov	w0, #0
	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
LBB0_4:
Lloh9:
	adrp	x8, _PCI_REGMAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_REGMAX@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_STX_CONF_OFF
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	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
	b	_ofw_pci_read_config_common
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SCHIZO_MODE_SCZ,8,3            ; @SCHIZO_MODE_SCZ
	.comm	_STX_CS_DEVICE,8,3              ; @STX_CS_DEVICE
	.comm	_STX_CS_FUNC,8,3                ; @STX_CS_FUNC
	.comm	_PCI_REGMAX,4,2                 ; @PCI_REGMAX
	.no_dead_strip	_schizo_read_config
.subsections_via_symbols
