	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_pause_cpu_and_set_pc
_tg3_pause_cpu_and_set_pc:              ## @tg3_pause_cpu_and_set_pc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_CPU_STATE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	%rsi, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_PC@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tr32
	xorl	%r15d, %r15d
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.1:
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_CPU_MODE_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tr32
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.2:
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_CPU_MODE_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tr32
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.3:
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_CPU_MODE_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tr32
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_CPU_MODE_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	callq	_tr32
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	$-1, %esi
	callq	_tw32
	movq	_CPU_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_CPU_MODE_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tw32
	addq	(%r12), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_tw32_f
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_STATE,8,3                  ## @CPU_STATE
	.comm	_CPU_PC,8,3                     ## @CPU_PC
	.comm	_CPU_MODE,8,3                   ## @CPU_MODE
	.comm	_CPU_MODE_HALT,4,2              ## @CPU_MODE_HALT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_tg3_pause_cpu_and_set_pc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_pause_cpu_and_set_pc
_tg3_pause_cpu_and_set_pc:              ; @tg3_pause_cpu_and_set_pc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x22, _CPU_STATE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CPU_STATE@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x0, x8, x1
	mov	w1, #-1
	bl	_tw32
Lloh2:
	adrp	x21, _CPU_PC@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CPU_PC@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	ldr	x8, [x21]
	add	x0, x8, x20
	bl	_tr32
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x22]
	add	x0, x8, x20
	mov	w1, #-1
	bl	_tw32
Lloh4:
	adrp	x23, _CPU_MODE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _CPU_MODE@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x0, x8, x20
Lloh6:
	adrp	x24, _CPU_MODE_HALT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _CPU_MODE_HALT@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_tw32
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	mov	w0, #1000
	bl	_udelay
	ldr	x8, [x21]
	add	x0, x8, x20
	bl	_tr32
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x22]
	add	x0, x8, x20
	mov	w1, #-1
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, x20
	ldr	w1, [x24]
	bl	_tw32
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	mov	w0, #1000
	bl	_udelay
	ldr	x8, [x21]
	add	x0, x8, x20
	bl	_tr32
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x22]
	add	x0, x8, x20
	mov	w1, #-1
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, x20
	ldr	w1, [x24]
	bl	_tw32
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	mov	w0, #1000
	bl	_udelay
	ldr	x8, [x21]
	add	x0, x8, x20
	bl	_tr32
	cmp	x0, x19
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x22]
	add	x0, x8, x20
	mov	w1, #-1
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, x20
	ldr	w1, [x24]
	bl	_tw32
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	mov	w0, #1000
	bl	_udelay
	ldr	x8, [x21]
	add	x0, x8, x20
	bl	_tr32
	cmp	x0, x19
	b.ne	LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x22]
	add	x0, x8, x20
	mov	w1, #-1
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, x20
	ldr	w1, [x24]
	bl	_tw32
	ldr	x8, [x21]
	add	x0, x8, x20
	mov	x1, x19
	bl	_tw32_f
	mov	w0, #1000
	bl	_udelay
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_STATE,8,3                  ; @CPU_STATE
	.comm	_CPU_PC,8,3                     ; @CPU_PC
	.comm	_CPU_MODE,8,3                   ; @CPU_MODE
	.comm	_CPU_MODE_HALT,4,2              ; @CPU_MODE_HALT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_tg3_pause_cpu_and_set_pc
.subsections_via_symbols
