	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_prev_mark_path
_bnx2x_prev_mark_path:                  ## @bnx2x_prev_mark_path
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_bnx2x_prev_sem@GOTPCREL(%rip), %rdi
	callq	_down_interruptible
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_15
LBB0_2:
	movq	%r12, %rdi
	callq	_bnx2x_prev_path_get_entry
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.5:
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_BP_PATH
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_DP
	movq	$0, 8(%rbx)
	jmp	LBB0_14
LBB0_6:
	movq	_bnx2x_prev_sem@GOTPCREL(%rip), %rdi
	callq	_up
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r14)
	movl	(%rax), %edi
	callq	_PCI_SLOT
	movl	%eax, 20(%r14)
	movq	%r12, %rdi
	callq	_BP_PATH
	movl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	callq	_BP_PORT
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	jmp	LBB0_11
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_14
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_9:
	xorl	%edx, %edx
LBB0_11:
	movl	%edx, (%r14)
	movq	_bnx2x_prev_sem@GOTPCREL(%rip), %rdi
	callq	_down_interruptible
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_15
LBB0_13:
	movq	_NETIF_MSG_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_BP_PATH
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_DP
	addq	$4, %r14
	movq	_bnx2x_prev_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add
LBB0_14:
	movq	_bnx2x_prev_sem@GOTPCREL(%rip), %rdi
	callq	_up
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bnx2x_prev_sem,4,2             ## @bnx2x_prev_sem
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received %d when tried to take lock\n"

L_.str.1:                               ## @.str.1
	.asciz	"Re-Marking the path.\n"

	.comm	_NETIF_MSG_HW,4,2               ## @NETIF_MSG_HW
L_.str.2:                               ## @.str.2
	.asciz	"Removing AER indication from path %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate 'bnx2x_prev_path_list'\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"Marked path [%d] - finished previous unload\n"

	.comm	_bnx2x_prev_list,4,2            ## @bnx2x_prev_list
	.no_dead_strip	_bnx2x_prev_mark_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_prev_mark_path
_bnx2x_prev_mark_path:                  ; @bnx2x_prev_mark_path
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _bnx2x_prev_sem@GOTPAGE
Lloh1:
	ldr	x0, [x0, _bnx2x_prev_sem@GOTPAGEOFF]
	bl	_down_interruptible
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_15
LBB0_2:
	mov	x0, x19
	bl	_bnx2x_prev_path_get_entry
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.4:
Lloh4:
	adrp	x8, _NETIF_MSG_HW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETIF_MSG_HW@GOTPAGEOFF]
Lloh6:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BP_PATH
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_DP
	str	xzr, [x20, #8]
	b	LBB0_14
LBB0_5:
Lloh9:
	adrp	x0, _bnx2x_prev_sem@GOTPAGE
Lloh10:
	ldr	x0, [x0, _bnx2x_prev_sem@GOTPAGEOFF]
	bl	_up
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	str	w9, [x0, #24]
	ldr	w0, [x8]
	bl	_PCI_SLOT
	str	w0, [x20, #20]
	mov	x0, x19
	bl	_BP_PATH
	str	w0, [x20, #16]
	str	xzr, [x20, #8]
	cbz	w21, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_BP_PORT
	mov	w8, #1
	lsl	w8, w8, w0
	b	LBB0_11
LBB0_8:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_14
LBB0_9:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BNX2X_ERR
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_10:
	mov	w8, #0
LBB0_11:
	str	w8, [x20]
Lloh21:
	adrp	x0, _bnx2x_prev_sem@GOTPAGE
Lloh22:
	ldr	x0, [x0, _bnx2x_prev_sem@GOTPAGEOFF]
	bl	_down_interruptible
	cbz	w0, LBB0_13
; %bb.12:
	mov	x21, x0
	str	x21, [sp]
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	mov	x0, x20
	bl	_kfree
	mov	x20, x21
	b	LBB0_15
LBB0_13:
Lloh25:
	adrp	x8, _NETIF_MSG_HW@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETIF_MSG_HW@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BP_PATH
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_DP
	add	x0, x20, #4
Lloh30:
	adrp	x1, _bnx2x_prev_list@GOTPAGE
Lloh31:
	ldr	x1, [x1, _bnx2x_prev_list@GOTPAGEOFF]
	bl	_list_add
LBB0_14:
Lloh32:
	adrp	x0, _bnx2x_prev_sem@GOTPAGE
Lloh33:
	ldr	x0, [x0, _bnx2x_prev_sem@GOTPAGEOFF]
	bl	_up
	mov	w20, #0
LBB0_15:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_bnx2x_prev_sem,4,2             ; @bnx2x_prev_sem
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received %d when tried to take lock\n"

l_.str.1:                               ; @.str.1
	.asciz	"Re-Marking the path.\n"

	.comm	_NETIF_MSG_HW,4,2               ; @NETIF_MSG_HW
l_.str.2:                               ; @.str.2
	.asciz	"Removing AER indication from path %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate 'bnx2x_prev_path_list'\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"Marked path [%d] - finished previous unload\n"

	.comm	_bnx2x_prev_list,4,2            ; @bnx2x_prev_list
	.no_dead_strip	_bnx2x_prev_mark_path
.subsections_via_symbols
