	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __igc_open
___igc_open:                            ## @__igc_open
	.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, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	___IGC_TESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r12), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_WARN_ON
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_2:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r12, %rdi
	callq	_igc_setup_all_tx_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movq	%r12, %rdi
	callq	_igc_setup_all_rx_resources
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:
	movq	%r12, %rdi
	callq	_igc_power_up_link
	movq	%r12, %rdi
	callq	_igc_configure
	movq	%r12, %rdi
	callq	_igc_request_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movl	24(%r12), %esi
	movq	%r14, %rdi
	callq	_netif_set_real_num_tx_queues
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movl	20(%r12), %esi
	movq	%r14, %rdi
	callq	_netif_set_real_num_rx_queues
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_7
LBB0_11:
	movq	%r12, %rdi
	callq	_igc_free_irq
LBB0_12:
	movq	%r12, %rdi
	callq	_igc_release_hw_control
	movq	%r12, %rdi
	callq	_igc_power_down_link
	movq	%r12, %rdi
	callq	_igc_free_all_rx_resources
LBB0_13:
	movq	%r12, %rdi
	callq	_igc_free_all_tx_resources
LBB0_14:
	movq	%r12, %rdi
	callq	_igc_reset
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	___IGC_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_napi_enable
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	_IGC_ICR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	%r12, %rdi
	callq	_igc_irq_enable
	movq	%r14, %rdi
	callq	_netif_tx_start_all_queues
	movl	$1, 28(%r12)
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_schedule_work
	movq	_IGC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	___IGC_TESTING,4,2              ## @__IGC_TESTING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	___IGC_DOWN,4,2                 ## @__IGC_DOWN
	.comm	_IGC_ICR,4,2                    ## @IGC_ICR
	.comm	_IGC_SUCCESS,4,2                ## @IGC_SUCCESS
	.no_dead_strip	___igc_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __igc_open
___igc_open:                            ; @__igc_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, ___IGC_TESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IGC_TESTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x19, #16
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_WARN_ON
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_2:
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x19
	bl	_igc_setup_all_tx_resources
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_igc_setup_all_rx_resources
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_igc_power_up_link
	mov	x0, x19
	bl	_igc_configure
	mov	x0, x19
	bl	_igc_request_irq
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_netif_set_real_num_tx_queues
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_netif_set_real_num_rx_queues
	mov	x22, x0
	cbz	w0, LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_igc_free_irq
LBB0_8:
	mov	x0, x19
	bl	_igc_release_hw_control
	mov	x0, x19
	bl	_igc_power_down_link
	mov	x0, x19
	bl	_igc_free_all_rx_resources
LBB0_9:
	mov	x0, x19
	bl	_igc_free_all_tx_resources
LBB0_10:
	mov	x0, x19
	bl	_igc_reset
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh6:
	adrp	x8, ___IGC_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___IGC_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_clear_bit
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x21, lsl #3]
	bl	_napi_enable
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_14
LBB0_15:
Lloh9:
	adrp	x8, _IGC_ICR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IGC_ICR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_rd32
	mov	x0, x19
	bl	_igc_irq_enable
	mov	x0, x20
	bl	_netif_tx_start_all_queues
	mov	w8, #1
	str	w8, [x19, #28]
	add	x0, x19, #4
	bl	_schedule_work
Lloh12:
	adrp	x8, _IGC_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IGC_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	___IGC_TESTING,4,2              ; @__IGC_TESTING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	___IGC_DOWN,4,2                 ; @__IGC_DOWN
	.comm	_IGC_ICR,4,2                    ; @IGC_ICR
	.comm	_IGC_SUCCESS,4,2                ; @IGC_SUCCESS
	.no_dead_strip	___igc_open
.subsections_via_symbols
