	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_write_sig_post_reset
_tg3_write_sig_post_reset:              ## @tg3_write_sig_post_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_ASF_NEW_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_2
## %bb.3:
	cmpl	$128, %ebx
	jne	LBB0_6
## %bb.4:
	movq	_DRV_STATE_UNLOAD_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_DRV_STATE_START_DONE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	_NIC_SRAM_FW_DRV_STATE_MBOX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tg3_write_mem                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASF_NEW_HANDSHAKE,4,2          ## @ASF_NEW_HANDSHAKE
	.comm	_NIC_SRAM_FW_DRV_STATE_MBOX,4,2 ## @NIC_SRAM_FW_DRV_STATE_MBOX
	.comm	_DRV_STATE_START_DONE,4,2       ## @DRV_STATE_START_DONE
	.comm	_DRV_STATE_UNLOAD_DONE,4,2      ## @DRV_STATE_UNLOAD_DONE
	.no_dead_strip	_tg3_write_sig_post_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_write_sig_post_reset
_tg3_write_sig_post_reset:              ; @tg3_write_sig_post_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ASF_NEW_HANDSHAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASF_NEW_HANDSHAKE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_tg3_flag
	cbz	x0, LBB0_4
; %bb.1:
	cmp	w20, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #128
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _DRV_STATE_UNLOAD_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRV_STATE_UNLOAD_DONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x8, _DRV_STATE_START_DONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRV_STATE_START_DONE@GOTPAGEOFF]
LBB0_6:
Lloh7:
	adrp	x9, _NIC_SRAM_FW_DRV_STATE_MBOX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NIC_SRAM_FW_DRV_STATE_MBOX@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tg3_write_mem
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ASF_NEW_HANDSHAKE,4,2          ; @ASF_NEW_HANDSHAKE
	.comm	_NIC_SRAM_FW_DRV_STATE_MBOX,4,2 ; @NIC_SRAM_FW_DRV_STATE_MBOX
	.comm	_DRV_STATE_START_DONE,4,2       ; @DRV_STATE_START_DONE
	.comm	_DRV_STATE_UNLOAD_DONE,4,2      ; @DRV_STATE_UNLOAD_DONE
	.no_dead_strip	_tg3_write_sig_post_reset
.subsections_via_symbols
