	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comc_parse_pcidev
_comc_parse_pcidev:                     ## @comc_parse_pcidev
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_16
## %bb.1:
	cmpb	$58, (%rdi)
	jne	LBB0_16
## %bb.2:
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_16
## %bb.3:
	incq	%rdi
	movq	%rdi, -48(%rbp)
	leaq	-48(%rbp), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_16
## %bb.4:
	cmpb	$58, (%rdi)
	jne	LBB0_16
## %bb.5:
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_16
## %bb.6:
	incq	%rdi
	movq	%rdi, -48(%rbp)
	leaq	-48(%rbp), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_16
## %bb.7:
	movl	%eax, %r13d
	movb	(%rdi), %al
	cmpb	$58, %al
	jne	LBB0_8
## %bb.10:
	testl	%r13d, %r13d
	js	LBB0_16
## %bb.11:
	incq	%rdi
	movq	%rdi, -48(%rbp)
	leaq	-48(%rbp), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_16
## %bb.12:
	cmpb	$0, (%rcx)
	jne	LBB0_16
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_16
## %bb.14:
	movl	%eax, %ebx
	shll	$16, %ebx
	jmp	LBB0_15
LBB0_8:
	testb	%al, %al
	jne	LBB0_16
## %bb.9:
	movl	$1048576, %ebx                  ## imm = 0x100000
	testl	%r13d, %r13d
	js	LBB0_16
LBB0_15:
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_biospci_locator
	movl	%eax, %r15d
	orl	%ebx, %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_comc_parse_pcidev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comc_parse_pcidev
_comc_parse_pcidev:                     ; @comc_parse_pcidev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.1:
	mov	x19, x0
	mov	w0, #0
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_14
; %bb.2:
	tbnz	w19, #31, LBB0_14
; %bb.3:
	add	x0, x8, #1
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.4:
	mov	x21, x0
	mov	w0, #0
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_14
; %bb.5:
	tbnz	w21, #31, LBB0_14
; %bb.6:
	add	x0, x8, #1
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.7:
	mov	x22, x0
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_15
; %bb.8:
	tbnz	w22, #31, LBB0_13
; %bb.9:
	add	x0, x8, #1
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x9, [sp, #8]
	cmp	x9, x20
	b.eq	LBB0_13
; %bb.10:
	mov	x8, x0
	mov	w0, #0
	ldrb	w9, [x9]
	cbnz	w9, LBB0_14
; %bb.11:
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	lsl	w20, w8, #16
	b	LBB0_18
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	add	sp, sp, #64
	ret
LBB0_15:
	mov	w0, #0
	cbnz	w9, LBB0_14
; %bb.16:
	tbnz	w22, #31, LBB0_14
; %bb.17:
	mov	w20, #1048576
LBB0_18:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_biospci_locator
	orr	w0, w0, w20
	b	LBB0_14
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_comc_parse_pcidev
.subsections_via_symbols
