	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_link_update
_qede_link_update:                      ## @qede_link_update
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_QEDE_FLAGS_LINK_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	(%r14), %r14
	movl	(%rbx), %edi
	callq	_netif_carrier_ok
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movl	(%rbx), %edi
	callq	_netif_tx_start_all_queues
	movl	(%rbx), %edi
	callq	_netif_carrier_on
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qede_rdma_dev_event_open       ## TAILCALL
LBB0_6:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DP_VERBOSE                     ## TAILCALL
LBB0_4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_NOTICE
	movl	(%rbx), %edi
	callq	_netif_tx_disable
	movl	(%rbx), %edi
	callq	_netif_carrier_off
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qede_rdma_dev_event_close      ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDE_FLAGS_LINK_REQUESTED,4,2  ## @QEDE_FLAGS_LINK_REQUESTED
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interface is not ready\n"

L_.str.1:                               ## @.str.1
	.asciz	"Link is up\n"

L_.str.2:                               ## @.str.2
	.asciz	"Link is down\n"

	.no_dead_strip	_qede_link_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_link_update
_qede_link_update:                      ; @qede_link_update
	.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, _QEDE_FLAGS_LINK_REQUESTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QEDE_FLAGS_LINK_REQUESTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x20, [x20]
	ldr	w0, [x19]
	bl	_netif_carrier_ok
	cbz	x20, LBB0_5
; %bb.2:
	cbnz	x0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	ldr	w0, [x19]
	bl	_netif_tx_start_all_queues
	ldr	w0, [x19]
	bl	_netif_carrier_on
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qede_rdma_dev_event_open
LBB0_4:
Lloh5:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DP_VERBOSE
LBB0_5:
	cbz	x0, LBB0_7
; %bb.6:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	ldr	w0, [x19]
	bl	_netif_tx_disable
	ldr	w0, [x19]
	bl	_netif_carrier_off
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qede_rdma_dev_event_close
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDE_FLAGS_LINK_REQUESTED,4,2  ; @QEDE_FLAGS_LINK_REQUESTED
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interface is not ready\n"

l_.str.1:                               ; @.str.1
	.asciz	"Link is up\n"

l_.str.2:                               ; @.str.2
	.asciz	"Link is down\n"

	.no_dead_strip	_qede_link_update
.subsections_via_symbols
