	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __igb_open
___igb_open:                            ## @__igb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	40(%rax), %r15
	movq	___IGB_TESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%r14), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_WARN_ON
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_22
LBB0_2:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_pm_runtime_get_sync
LBB0_4:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_igb_setup_all_tx_resources
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.5:
	movq	%r14, %rdi
	callq	_igb_setup_all_rx_resources
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.6:
	movq	%r14, %rdi
	callq	_igb_power_up_link
	movq	%r14, %rdi
	callq	_igb_configure
	movq	%r14, %rdi
	callq	_igb_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:
	movl	32(%r14), %edi
	movl	36(%r14), %esi
	callq	_netif_set_real_num_tx_queues
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	movl	28(%r14), %esi
	movl	32(%r14), %edi
	callq	_netif_set_real_num_rx_queues
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_9
LBB0_17:
	movq	%r14, %rdi
	callq	_igb_free_irq
LBB0_18:
	movq	%r14, %rdi
	callq	_igb_release_hw_control
	movq	%r14, %rdi
	callq	_igb_power_down_link
	movq	%r14, %rdi
	callq	_igb_free_all_rx_resources
LBB0_19:
	movq	%r14, %rdi
	callq	_igb_free_all_tx_resources
LBB0_20:
	movq	%r14, %rdi
	callq	_igb_reset
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.21:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pm_runtime_put
LBB0_22:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	___IGB_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%r15d, %r15d
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_napi_enable
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_11
LBB0_12:
	movq	_E1000_TSICR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_E1000_ICR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	%r14, %rdi
	callq	_igb_irq_enable
	cmpq	$0, 8(%r14)
	je	LBB0_14
## %bb.13:
	movq	_E1000_CTRL_EXT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_rd32
	movq	_E1000_CTRL_EXT_PFRSTD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_wr32
LBB0_14:
	movq	%r12, %rdi
	callq	_netif_tx_start_all_queues
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pm_runtime_put
LBB0_16:
	movl	$1, 48(%r14)
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_schedule_work
	xorl	%r15d, %r15d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	___IGB_TESTING,4,2              ## @__IGB_TESTING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	___IGB_DOWN,4,2                 ## @__IGB_DOWN
	.comm	_E1000_TSICR,4,2                ## @E1000_TSICR
	.comm	_E1000_ICR,4,2                  ## @E1000_ICR
	.comm	_E1000_CTRL_EXT,4,2             ## @E1000_CTRL_EXT
	.comm	_E1000_CTRL_EXT_PFRSTD,4,2      ## @E1000_CTRL_EXT_PFRSTD
	.no_dead_strip	___igb_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __igb_open
___igb_open:                            ; @__igb_open
	.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, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x0, #40]
Lloh0:
	adrp	x8, ___IGB_TESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IGB_TESTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x23, x20, #24
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_WARN_ON
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_14
LBB0_2:
	cbnz	w19, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_pm_runtime_get_sync
LBB0_4:
	mov	x0, x22
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_igb_setup_all_tx_resources
	mov	x24, x0
	cbnz	w0, LBB0_12
; %bb.5:
	mov	x0, x20
	bl	_igb_setup_all_rx_resources
	mov	x24, x0
	cbnz	w0, LBB0_11
; %bb.6:
	mov	x0, x20
	bl	_igb_power_up_link
	mov	x0, x20
	bl	_igb_configure
	mov	x0, x20
	bl	_igb_request_irq
	mov	x24, x0
	cbnz	w0, LBB0_10
; %bb.7:
	ldp	w0, w1, [x20, #32]
	bl	_netif_set_real_num_tx_queues
	mov	x24, x0
	cbnz	w0, LBB0_9
; %bb.8:
	ldp	w1, w0, [x20, #28]
	bl	_netif_set_real_num_rx_queues
	mov	x24, x0
	cbz	w0, LBB0_15
LBB0_9:
	mov	x0, x20
	bl	_igb_free_irq
LBB0_10:
	mov	x0, x20
	bl	_igb_release_hw_control
	mov	x0, x20
	bl	_igb_power_down_link
	mov	x0, x20
	bl	_igb_free_all_rx_resources
LBB0_11:
	mov	x0, x20
	bl	_igb_free_all_tx_resources
LBB0_12:
	mov	x0, x20
	bl	_igb_reset
	cbnz	w19, LBB0_14
; %bb.13:
	mov	x0, x21
	bl	_pm_runtime_put
LBB0_14:
	mov	x0, x24
	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_15:
Lloh6:
	adrp	x8, ___IGB_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, ___IGB_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_clear_bit
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x23, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x23, lsl #3]
	bl	_napi_enable
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.lt	LBB0_17
LBB0_18:
Lloh9:
	adrp	x8, _E1000_TSICR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_TSICR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_rd32
Lloh12:
	adrp	x8, _E1000_ICR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E1000_ICR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_rd32
	mov	x0, x20
	bl	_igb_irq_enable
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_20
; %bb.19:
Lloh15:
	adrp	x23, _E1000_CTRL_EXT@GOTPAGE
Lloh16:
	ldr	x23, [x23, _E1000_CTRL_EXT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_rd32
Lloh17:
	adrp	x8, _E1000_CTRL_EXT_PFRSTD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E1000_CTRL_EXT_PFRSTD@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x23]
	bl	_wr32
LBB0_20:
	mov	x0, x22
	bl	_netif_tx_start_all_queues
	cbnz	w19, LBB0_22
; %bb.21:
	mov	x0, x21
	bl	_pm_runtime_put
LBB0_22:
	mov	w8, #1
	str	w8, [x20, #48]
	add	x0, x20, #4
	bl	_schedule_work
	mov	w24, #0
	b	LBB0_14
	.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
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	___IGB_TESTING,4,2              ; @__IGB_TESTING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	___IGB_DOWN,4,2                 ; @__IGB_DOWN
	.comm	_E1000_TSICR,4,2                ; @E1000_TSICR
	.comm	_E1000_ICR,4,2                  ; @E1000_ICR
	.comm	_E1000_CTRL_EXT,4,2             ; @E1000_CTRL_EXT
	.comm	_E1000_CTRL_EXT_PFRSTD,4,2      ; @E1000_CTRL_EXT_PFRSTD
	.no_dead_strip	___igb_open
.subsections_via_symbols
