	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_dev_str_match
_pci_dev_str_match:                     ## @pci_dev_str_match
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.14:
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pci_dev_str_match_path
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movq	-56(%rbp), %r12
	je	LBB0_17
LBB0_13:
	movq	%r12, (%r14)
	movl	$1, %ebx
	jmp	LBB0_18
LBB0_1:
	addq	$4, %r12
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-38(%rbp), %rcx
	leaq	-36(%rbp), %r8
	leaq	-34(%rbp), %r9
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$4, %eax
	je	LBB0_5
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %rdx
	leaq	-38(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.4:
	movw	$0, -36(%rbp)
	movw	$0, -34(%rbp)
LBB0_5:
	movslq	-44(%rbp), %rax
	addq	%rax, %r12
	movq	%r12, -56(%rbp)
	movzwl	-40(%rbp), %eax
	testw	%ax, %ax
	je	LBB0_7
## %bb.6:
	cmpw	(%r15), %ax
	jne	LBB0_17
LBB0_7:
	movzwl	-38(%rbp), %eax
	testw	%ax, %ax
	je	LBB0_9
## %bb.8:
	cmpw	2(%r15), %ax
	jne	LBB0_17
LBB0_9:
	movzwl	-36(%rbp), %eax
	testw	%ax, %ax
	je	LBB0_11
## %bb.10:
	cmpw	4(%r15), %ax
	jne	LBB0_17
LBB0_11:
	movzwl	-34(%rbp), %eax
	testw	%ax, %ax
	je	LBB0_13
## %bb.12:
	cmpw	6(%r15), %ax
	je	LBB0_13
LBB0_17:
	movq	%r12, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_15:
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pci:"

L_.str.1:                               ## @.str.1
	.asciz	"%hx:%hx:%hx:%hx%n"

L_.str.2:                               ## @.str.2
	.asciz	"%hx:%hx%n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pci_dev_str_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_dev_str_match
_pci_dev_str_match:                     ; @pci_dev_str_match
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	x1, [sp, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.1:
	add	x2, sp, #40
	mov	x0, x20
	mov	x1, x21
	bl	_pci_dev_str_match_path
	tbnz	w0, #31, LBB0_17
; %bb.2:
	ldr	x8, [sp, #40]
	cbz	w0, LBB0_15
LBB0_3:
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_17
LBB0_4:
	add	x21, x21, #4
	add	x22, sp, #36
	add	x8, sp, #28
	add	x9, sp, #30
	stp	x8, x22, [sp, #8]
	str	x9, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #34
	add	x3, sp, #32
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #4
	b.eq	LBB0_7
; %bb.5:
	str	x22, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #34
	add	x3, sp, #32
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_16
; %bb.6:
	str	wzr, [sp, #28]
LBB0_7:
	ldrsw	x8, [sp, #36]
	add	x8, x21, x8
	str	x8, [sp, #40]
	ldrh	w9, [sp, #34]
	cbz	w9, LBB0_9
; %bb.8:
	ldrh	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_15
LBB0_9:
	ldrh	w9, [sp, #32]
	cbz	w9, LBB0_11
; %bb.10:
	ldrh	w10, [x20, #2]
	cmp	w9, w10
	b.ne	LBB0_15
LBB0_11:
	ldrh	w9, [sp, #30]
	cbz	w9, LBB0_13
; %bb.12:
	ldrh	w10, [x20, #4]
	cmp	w9, w10
	b.ne	LBB0_15
LBB0_13:
	ldrh	w9, [sp, #28]
	cbz	w9, LBB0_3
; %bb.14:
	ldrh	w10, [x20, #6]
	cmp	w9, w10
	b.eq	LBB0_3
LBB0_15:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_17
LBB0_16:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pci:"

l_.str.1:                               ; @.str.1
	.asciz	"%hx:%hx:%hx:%hx%n"

l_.str.2:                               ; @.str.2
	.asciz	"%hx:%hx%n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pci_dev_str_match
.subsections_via_symbols
