	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_cpureset
_fst_cpureset:                          ## @fst_cpureset
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_FST_FAMILY_TXU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movl	16(%r14), %edi
	movq	_PCI_INTERRUPT_LINE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-33(%rbp), %rdx
	callq	_pci_read_config_byte
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dbg
LBB0_3:
	movq	8(%r14), %rax
	movq	_CNTRL_9054@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$2, %rsi
	movl	$17423, %edi                    ## imm = 0x440F
	callq	_outw
	movq	8(%r14), %rax
	movq	(%r12), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$2, %rsi
	movl	$1039, %edi                     ## imm = 0x40F
	callq	_outw
	movq	_jiffies@GOTPCREL(%rip), %rbx
	cmpl	$-1, (%rbx)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_4
LBB0_10:
	movq	_CNTRL_9052@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%r14), %rdi
	callq	_inl
	movl	%eax, %ebx
	movl	%eax, %edi
	orl	$1073741824, %edi               ## imm = 0x40000000
	movq	(%r15), %rsi
	addq	8(%r14), %rsi
	callq	_outl
	andl	$-1073741825, %ebx              ## imm = 0xBFFFFFFF
	movq	(%r15), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outl                           ## TAILCALL
LBB0_5:
	movq	8(%r14), %rax
	movq	(%r12), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$2, %rsi
	movl	$9231, %edi                     ## imm = 0x240F
	callq	_outw
	cmpl	$-1, (%rbx)
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_6
LBB0_7:
	movq	8(%r14), %rax
	movq	(%r12), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$2, %rsi
	movl	$1039, %edi                     ## imm = 0x40F
	callq	_outw
	movl	16(%r14), %edi
	movl	(%r15), %esi
	movzbl	-33(%rbp), %edx
	callq	_pci_write_config_byte
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_DBG_ASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dbg
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_FST_FAMILY_TXU,8,3             ## @FST_FAMILY_TXU
	.comm	_PCI_INTERRUPT_LINE,4,2         ## @PCI_INTERRUPT_LINE
	.comm	_DBG_ASS,4,2                    ## @DBG_ASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error in reading interrupt line register\n"

	.comm	_CNTRL_9054,8,3                 ## @CNTRL_9054
L_.str.1:                               ## @.str.1
	.asciz	"Error in writing interrupt line register\n"

	.comm	_CNTRL_9052,8,3                 ## @CNTRL_9052
	.no_dead_strip	_fst_cpureset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_cpureset
_fst_cpureset:                          ; @fst_cpureset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FST_FAMILY_TXU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FST_FAMILY_TXU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x20, _PCI_INTERRUPT_LINE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PCI_INTERRUPT_LINE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #15
	bl	_pci_read_config_byte
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _DBG_ASS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBG_ASS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg
LBB0_3:
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x21, _CNTRL_9054@GOTPAGE
Lloh11:
	ldr	x21, [x21, _CNTRL_9054@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #2
	mov	w0, #17423
	bl	_outw
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #2
	mov	w0, #1039
	bl	_outw
Lloh12:
	adrp	x22, _jiffies@GOTPAGE
Lloh13:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_4
LBB0_5:
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x21, _CNTRL_9052@GOTPAGE
Lloh15:
	ldr	x21, [x21, _CNTRL_9052@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_inl
	mov	x20, x0
	orr	w0, w0, #0x40000000
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_outl
	and	w0, w20, #0xbfffffff
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_outl
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #2
	mov	w0, #9231
	bl	_outw
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_7
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x8, x8, x9
	add	x1, x8, #2
	mov	w0, #1039
	bl	_outw
	ldr	w0, [x19, #16]
	ldr	w1, [x20]
	ldrb	w2, [sp, #15]
	bl	_pci_write_config_byte
	cbz	x0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x8, _DBG_ASS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DBG_ASS@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_FST_FAMILY_TXU,8,3             ; @FST_FAMILY_TXU
	.comm	_PCI_INTERRUPT_LINE,4,2         ; @PCI_INTERRUPT_LINE
	.comm	_DBG_ASS,4,2                    ; @DBG_ASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error in reading interrupt line register\n"

	.comm	_CNTRL_9054,8,3                 ; @CNTRL_9054
l_.str.1:                               ; @.str.1
	.asciz	"Error in writing interrupt line register\n"

	.comm	_CNTRL_9052,8,3                 ; @CNTRL_9052
	.no_dead_strip	_fst_cpureset
.subsections_via_symbols
