	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function el3_isa_id_sequence
_el3_isa_id_sequence:                   ## @el3_isa_id_sequence
	.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
	movq	%rdi, %r14
	movq	_id_port@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_outb
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_outb
	movl	$255, %r12d
	movl	$255, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_outb
	addl	%ebx, %ebx
	movswl	%bx, %eax
	movl	%eax, %ebx
	xorl	$207, %ebx
	testl	$256, %eax                      ## imm = 0x100
	cmovel	%eax, %ebx
	decl	%r12d
	jne	LBB0_1
## %bb.2:
	movq	_current_tag@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	(%r15), %esi
	leal	208(,%rcx,8), %edi
	callq	_outb
	movl	$7, %edi
	callq	_id_read_eeprom
	movl	$1, %ebx
	cmpl	$27984, %eax                    ## imm = 0x6D50
	jne	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_id_read_eeprom
	movl	%eax, %edi
	callq	_htons
	movl	%eax, (%r14)
	movl	$1, %edi
	callq	_id_read_eeprom
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 4(%r14)
	movl	$2, %edi
	callq	_id_read_eeprom
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 8(%r14)
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_id_port,4,2                    ## @id_port
	.comm	_current_tag,4,2                ## @current_tag
	.comm	_EL3_PNP,8,3                    ## @EL3_PNP
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_el3_cards,4,2                  ## @el3_cards
	.comm	_el3_debug,4,2                  ## @el3_debug
	.comm	_el3_devs,8,3                   ## @el3_devs
	.comm	_nopnp,4,2                      ## @nopnp
	.no_dead_strip	_el3_isa_id_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function el3_isa_id_sequence
_el3_isa_id_sequence:                   ; @el3_isa_id_sequence
	.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, x0
Lloh0:
	adrp	x21, _id_port@GOTPAGE
Lloh1:
	ldr	x21, [x21, _id_port@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #0
	bl	_outb
	ldr	w1, [x21]
	mov	w0, #0
	bl	_outb
	mov	w22, #255
	mov	w23, #207
	mov	w20, #255
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_outb
	lsl	w8, w20, #1
	sxth	w8, w8
	eor	w9, w8, w23
	tst	w8, #0x100
	csel	w20, w8, w9, eq
	subs	w22, w22, #1
	b.ne	LBB0_1
; %bb.2:
Lloh2:
	adrp	x8, _current_tag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current_tag@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w1, [x21]
	mov	w9, #216
	mov	w10, #208
	cmp	w8, #0
	csel	w0, w10, w9, eq
	bl	_outb
	mov	w0, #7
	bl	_id_read_eeprom
	mov	w8, #27984
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_id_read_eeprom
	bl	_htons
	str	w0, [x19]
	mov	w0, #1
	bl	_id_read_eeprom
	bl	_htons
	str	w0, [x19, #4]
	mov	w0, #2
	bl	_id_read_eeprom
	bl	_htons
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_id_port,4,2                    ; @id_port
	.comm	_current_tag,4,2                ; @current_tag
	.comm	_EL3_PNP,8,3                    ; @EL3_PNP
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_el3_cards,4,2                  ; @el3_cards
	.comm	_el3_debug,4,2                  ; @el3_debug
	.comm	_el3_devs,8,3                   ; @el3_devs
	.comm	_nopnp,4,2                      ; @nopnp
	.no_dead_strip	_el3_isa_id_sequence
.subsections_via_symbols
