	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_sar
_reset_sar:                             ## @reset_sar
	.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	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_INPH_IA_DEV
	movq	%rax, %r14
	xorl	%ebx, %ebx
	movq	_PCIBIOS_SUCCESSFUL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	leaq	(%rbx,%rbp), %rdx
	addq	$-288, %rdx                     ## imm = 0xFEE0
	movl	%ebx, %esi
	callq	_pci_read_config_dword
	cmpl	(%r15), %eax
	jne	LBB0_7
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_2
## %bb.3:
	movq	_IPHASE5575_EXT_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_writel
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	-288(%rbp,%rbx), %edx
	movl	%ebx, %esi
	callq	_pci_write_config_dword
	cmpl	(%r15), %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_5
## %bb.6:
	movl	$5, %edi
	callq	_udelay
	xorl	%eax, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIBIOS_SUCCESSFUL,4,2         ## @PCIBIOS_SUCCESSFUL
	.comm	_IPHASE5575_EXT_RESET,8,3       ## @IPHASE5575_EXT_RESET
	.no_dead_strip	_reset_sar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_sar
_reset_sar:                             ; @reset_sar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_INPH_IA_DEV
	mov	x19, x0
	mov	x20, #0
	add	x22, sp, #8
Lloh3:
	adrp	x21, _PCIBIOS_SUCCESSFUL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PCIBIOS_SUCCESSFUL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	add	x2, x22, x20
	mov	x1, x20
	bl	_pci_read_config_dword
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #4
	cmp	x20, #256
	b.ne	LBB0_1
; %bb.3:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _IPHASE5575_EXT_RESET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IPHASE5575_EXT_RESET@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	mov	x20, #0
	add	x22, sp, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w2, [x22, x20]
	mov	x1, x20
	bl	_pci_write_config_dword
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #4
	cmp	x20, #256
	b.ne	LBB0_4
; %bb.6:
	mov	w0, #5
	bl	_udelay
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIBIOS_SUCCESSFUL,4,2         ; @PCIBIOS_SUCCESSFUL
	.comm	_IPHASE5575_EXT_RESET,8,3       ; @IPHASE5575_EXT_RESET
	.no_dead_strip	_reset_sar
.subsections_via_symbols
