	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_get_bus_info             ## -- Begin function e1000_get_bus_info
	.p2align	4, 0x90
_e1000_get_bus_info:                    ## @e1000_get_bus_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	_e1000_bus_type_pci@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_e1000_bus_speed_unknown@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	_e1000_bus_width_unknown@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_2:
	movq	_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_STATUS_PCIX_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_e1000_bus_type_pci@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, %rdx
	andl	%eax, %esi
	je	LBB0_4
## %bb.3:
	movq	_e1000_bus_type_pcix@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
LBB0_4:
	movq	%rdx, 8(%rbx)
	movl	32(%rbx), %esi
	movq	_E1000_DEV_ID_82546EB_QUAD_COPPER@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %esi
	jne	LBB0_7
## %bb.5:
	cmpq	%rcx, %rdx
	je	LBB0_6
## %bb.12:
	movq	_e1000_bus_speed_120@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_7:
	cmpq	%rcx, %rdx
	je	LBB0_13
## %bb.8:
	movq	_E1000_STATUS_PCIX_SPEED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	cmpl	$132, %ecx
	je	LBB0_16
## %bb.9:
	cmpl	$131, %ecx
	je	LBB0_17
## %bb.10:
	cmpl	$130, %ecx
	je	LBB0_6
## %bb.18:
	movq	_e1000_bus_speed_reserved@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_13:
	movq	_E1000_STATUS_PCI66@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.14:
	movq	_e1000_bus_speed_33@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_6:
	movq	_e1000_bus_speed_66@GOTPCREL(%rip), %rcx
LBB0_19:
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rbx)
	movq	_E1000_STATUS_BUS64@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_21
## %bb.20:
	movq	_e1000_bus_width_32@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_e1000_bus_width_64@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_16:
	movq	_e1000_bus_speed_100@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_17:
	movq	_e1000_bus_speed_133@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_bus_type_pci,8,3         ## @e1000_bus_type_pci
	.comm	_e1000_bus_speed_unknown,8,3    ## @e1000_bus_speed_unknown
	.comm	_e1000_bus_width_unknown,4,2    ## @e1000_bus_width_unknown
	.comm	_STATUS,4,2                     ## @STATUS
	.comm	_E1000_STATUS_PCIX_MODE,4,2     ## @E1000_STATUS_PCIX_MODE
	.comm	_e1000_bus_type_pcix,8,3        ## @e1000_bus_type_pcix
	.comm	_E1000_DEV_ID_82546EB_QUAD_COPPER,4,2 ## @E1000_DEV_ID_82546EB_QUAD_COPPER
	.comm	_e1000_bus_speed_66,8,3         ## @e1000_bus_speed_66
	.comm	_e1000_bus_speed_120,8,3        ## @e1000_bus_speed_120
	.comm	_E1000_STATUS_PCI66,4,2         ## @E1000_STATUS_PCI66
	.comm	_e1000_bus_speed_33,8,3         ## @e1000_bus_speed_33
	.comm	_E1000_STATUS_PCIX_SPEED,4,2    ## @E1000_STATUS_PCIX_SPEED
	.comm	_e1000_bus_speed_100,8,3        ## @e1000_bus_speed_100
	.comm	_e1000_bus_speed_133,8,3        ## @e1000_bus_speed_133
	.comm	_e1000_bus_speed_reserved,8,3   ## @e1000_bus_speed_reserved
	.comm	_E1000_STATUS_BUS64,4,2         ## @E1000_STATUS_BUS64
	.comm	_e1000_bus_width_64,4,2         ## @e1000_bus_width_64
	.comm	_e1000_bus_width_32,4,2         ## @e1000_bus_width_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_get_bus_info             ; -- Begin function e1000_get_bus_info
	.p2align	2
_e1000_get_bus_info:                    ; @e1000_get_bus_info
	.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	x19, x0
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _e1000_bus_type_pci@GOTPAGE
Lloh1:
	ldr	x8, [x8, _e1000_bus_type_pci@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _e1000_bus_speed_unknown@GOTPAGE
Lloh4:
	ldr	x9, [x9, _e1000_bus_speed_unknown@GOTPAGEOFF]
	str	x8, [x19, #8]
Lloh5:
	ldr	x8, [x9]
	str	x8, [x19, #24]
Lloh6:
	adrp	x8, _e1000_bus_width_unknown@GOTPAGE
Lloh7:
	ldr	x8, [x8, _e1000_bus_width_unknown@GOTPAGEOFF]
	b	LBB0_14
LBB0_2:
Lloh8:
	adrp	x8, _STATUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STATUS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_er32
Lloh11:
	adrp	x8, _E1000_STATUS_PCIX_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E1000_STATUS_PCIX_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
Lloh14:
	adrp	x8, _e1000_bus_type_pcix@GOTPAGE
Lloh15:
	ldr	x8, [x8, _e1000_bus_type_pcix@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x8]
Lloh17:
	adrp	x8, _e1000_bus_type_pci@GOTPAGE
Lloh18:
	ldr	x8, [x8, _e1000_bus_type_pci@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	tst	w9, w0
	csel	x9, x8, x10, eq
	str	x9, [x19, #8]
	ldr	w10, [x19, #32]
Lloh20:
	adrp	x11, _E1000_DEV_ID_82546EB_QUAD_COPPER@GOTPAGE
Lloh21:
	ldr	x11, [x11, _E1000_DEV_ID_82546EB_QUAD_COPPER@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.3:
Lloh23:
	adrp	x10, _e1000_bus_speed_66@GOTPAGE
Lloh24:
	ldr	x10, [x10, _e1000_bus_speed_66@GOTPAGEOFF]
Lloh25:
	adrp	x11, _e1000_bus_speed_120@GOTPAGE
Lloh26:
	ldr	x11, [x11, _e1000_bus_speed_120@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, eq
	b	LBB0_13
LBB0_4:
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.5:
Lloh27:
	adrp	x8, _E1000_STATUS_PCIX_SPEED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _E1000_STATUS_PCIX_SPEED@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, #132
	b.eq	LBB0_10
; %bb.6:
	cmp	w8, #131
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #130
	b.ne	LBB0_12
; %bb.8:
Lloh30:
	adrp	x8, _e1000_bus_speed_66@GOTPAGE
Lloh31:
	ldr	x8, [x8, _e1000_bus_speed_66@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh32:
	adrp	x8, _E1000_STATUS_PCI66@GOTPAGE
Lloh33:
	ldr	x8, [x8, _E1000_STATUS_PCI66@GOTPAGEOFF]
Lloh34:
	adrp	x9, _e1000_bus_speed_66@GOTPAGE
Lloh35:
	ldr	x9, [x9, _e1000_bus_speed_66@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x10, _e1000_bus_speed_33@GOTPAGE
Lloh38:
	ldr	x10, [x10, _e1000_bus_speed_33@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	b	LBB0_13
LBB0_10:
Lloh39:
	adrp	x8, _e1000_bus_speed_100@GOTPAGE
Lloh40:
	ldr	x8, [x8, _e1000_bus_speed_100@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh41:
	adrp	x8, _e1000_bus_speed_133@GOTPAGE
Lloh42:
	ldr	x8, [x8, _e1000_bus_speed_133@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh43:
	adrp	x8, _e1000_bus_speed_reserved@GOTPAGE
Lloh44:
	ldr	x8, [x8, _e1000_bus_speed_reserved@GOTPAGEOFF]
LBB0_13:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh45:
	adrp	x8, _E1000_STATUS_BUS64@GOTPAGE
Lloh46:
	ldr	x8, [x8, _E1000_STATUS_BUS64@GOTPAGEOFF]
Lloh47:
	adrp	x9, _e1000_bus_width_64@GOTPAGE
Lloh48:
	ldr	x9, [x9, _e1000_bus_width_64@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x10, _e1000_bus_width_32@GOTPAGE
Lloh51:
	ldr	x10, [x10, _e1000_bus_width_32@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_bus_type_pci,8,3         ; @e1000_bus_type_pci
	.comm	_e1000_bus_speed_unknown,8,3    ; @e1000_bus_speed_unknown
	.comm	_e1000_bus_width_unknown,4,2    ; @e1000_bus_width_unknown
	.comm	_STATUS,4,2                     ; @STATUS
	.comm	_E1000_STATUS_PCIX_MODE,4,2     ; @E1000_STATUS_PCIX_MODE
	.comm	_e1000_bus_type_pcix,8,3        ; @e1000_bus_type_pcix
	.comm	_E1000_DEV_ID_82546EB_QUAD_COPPER,4,2 ; @E1000_DEV_ID_82546EB_QUAD_COPPER
	.comm	_e1000_bus_speed_66,8,3         ; @e1000_bus_speed_66
	.comm	_e1000_bus_speed_120,8,3        ; @e1000_bus_speed_120
	.comm	_E1000_STATUS_PCI66,4,2         ; @E1000_STATUS_PCI66
	.comm	_e1000_bus_speed_33,8,3         ; @e1000_bus_speed_33
	.comm	_E1000_STATUS_PCIX_SPEED,4,2    ; @E1000_STATUS_PCIX_SPEED
	.comm	_e1000_bus_speed_100,8,3        ; @e1000_bus_speed_100
	.comm	_e1000_bus_speed_133,8,3        ; @e1000_bus_speed_133
	.comm	_e1000_bus_speed_reserved,8,3   ; @e1000_bus_speed_reserved
	.comm	_E1000_STATUS_BUS64,4,2         ; @E1000_STATUS_BUS64
	.comm	_e1000_bus_width_64,4,2         ; @e1000_bus_width_64
	.comm	_e1000_bus_width_32,4,2         ; @e1000_bus_width_32
.subsections_via_symbols
