	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atpic_isa_identify
_atpic_isa_identify:                    ## @atpic_isa_identify
	.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
	movl	%esi, %eax
	movq	%rdi, %r14
	movq	_ISA_ORDER_SENSITIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rdi), %edx
	movl	%eax, %edi
	movl	$-1, %ecx
	callq	_BUS_ADD_CHILD
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_device_set_driver
	movq	_atpic_ids@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_isa_set_logicalid
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_isa_set_vendorid
	movq	_SYS_RES_IOPORT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ATPIC_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IO_ICU1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %r8d
	callq	_bus_set_resource
	movl	(%r14), %esi
	movq	_ATPIC_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IO_ICU2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %r8d
	callq	_bus_set_resource
	movq	_SYS_RES_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	movl	$16, %ecx
	movl	$1, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bus_set_resource               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISA_ORDER_SENSITIVE,4,2        ## @ISA_ORDER_SENSITIVE
	.comm	_atpic_ids,8,3                  ## @atpic_ids
	.comm	_SYS_RES_IOPORT,4,2             ## @SYS_RES_IOPORT
	.comm	_ATPIC_MASTER,4,2               ## @ATPIC_MASTER
	.comm	_IO_ICU1,4,2                    ## @IO_ICU1
	.comm	_ATPIC_SLAVE,4,2                ## @ATPIC_SLAVE
	.comm	_IO_ICU2,4,2                    ## @IO_ICU2
	.comm	_SYS_RES_IRQ,4,2                ## @SYS_RES_IRQ
	.no_dead_strip	_atpic_isa_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atpic_isa_identify
_atpic_isa_identify:                    ; @atpic_isa_identify
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _ISA_ORDER_SENSITIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISA_ORDER_SENSITIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	w2, [x0]
	mov	x0, x8
	mov	w3, #-1
	bl	_BUS_ADD_CHILD
	mov	x20, x0
	mov	x1, x19
	bl	_device_set_driver
Lloh3:
	adrp	x19, _atpic_ids@GOTPAGE
Lloh4:
	ldr	x19, [x19, _atpic_ids@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_isa_set_logicalid
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_isa_set_vendorid
Lloh5:
	adrp	x19, _SYS_RES_IOPORT@GOTPAGE
Lloh6:
	ldr	x19, [x19, _SYS_RES_IOPORT@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh7:
	adrp	x8, _ATPIC_MASTER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATPIC_MASTER@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _IO_ICU1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IO_ICU1@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w4, #2
	bl	_bus_set_resource
	ldr	w1, [x19]
Lloh13:
	adrp	x8, _ATPIC_SLAVE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATPIC_SLAVE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _IO_ICU2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IO_ICU2@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w4, #2
	bl	_bus_set_resource
Lloh19:
	adrp	x8, _SYS_RES_IRQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #16
	mov	w4, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bus_set_resource
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISA_ORDER_SENSITIVE,4,2        ; @ISA_ORDER_SENSITIVE
	.comm	_atpic_ids,8,3                  ; @atpic_ids
	.comm	_SYS_RES_IOPORT,4,2             ; @SYS_RES_IOPORT
	.comm	_ATPIC_MASTER,4,2               ; @ATPIC_MASTER
	.comm	_IO_ICU1,4,2                    ; @IO_ICU1
	.comm	_ATPIC_SLAVE,4,2                ; @ATPIC_SLAVE
	.comm	_IO_ICU2,4,2                    ; @IO_ICU2
	.comm	_SYS_RES_IRQ,4,2                ; @SYS_RES_IRQ
	.no_dead_strip	_atpic_isa_identify
.subsections_via_symbols
