	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_get_vendor
_fw_get_vendor:                         ## @fw_get_vendor
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.3:
	movq	(%rsi), %rsi
	leaq	-96(%rbp), %rdi
	movl	$8, %edx
	movl	$42, %ecx
	callq	_cam_strvis
	movq	_vendors_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.4:
	movq	_VENDOR_ATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rcx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 40(%rcx)
	leaq	24(%rcx), %rcx
	jne	LBB0_5
## %bb.9:
	testq	%rbx, %rbx
	jne	LBB0_10
	jmp	LBB0_15
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_8:
	movq	(%r14), %rsi
	leaq	-96(%rbp), %rdi
	movl	$8, %edx
	movl	$42, %ecx
	callq	_cam_strvis
	movq	_vendors_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_10:
	leaq	-96(%rbp), %r12
	movq	_T_ANY@GOTPCREL(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	40(%r15), %rbx
	addq	$24, %r15
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_cam_strmatch
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r15), %rbx
	cmpq	(%r13), %rbx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	callq	_SID_TYPE
	cmpq	%rax, %rbx
	jne	LBB0_14
	jmp	LBB0_15
LBB0_6:
	movq	%rcx, %r15
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_vendors_list,8,3               ## @vendors_list
	.comm	_VENDOR_ATA,8,3                 ## @VENDOR_ATA
	.comm	_T_ANY,8,3                      ## @T_ANY
	.no_dead_strip	_fw_get_vendor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_get_vendor
_fw_get_vendor:                         ; @fw_get_vendor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
	cbz	x1, LBB0_7
; %bb.2:
	ldr	x1, [x1]
	add	x0, sp, #14
	mov	w2, #8
	mov	w3, #42
	bl	_cam_strvis
Lloh3:
	adrp	x8, _vendors_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vendors_list@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	ldr	x20, [x21, #16]
	cbz	x20, LBB0_13
; %bb.3:
Lloh6:
	adrp	x8, _VENDOR_ATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VENDOR_ATA@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	x0, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0]
	cmp	x9, x8
	b.eq	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x0, #40]
	add	x0, x0, #24
	cbnz	x9, LBB0_4
; %bb.6:
	cbnz	x20, LBB0_8
	b	LBB0_13
LBB0_7:
	ldr	x1, [x19]
	add	x0, sp, #14
	mov	w2, #8
	mov	w3, #42
	bl	_cam_strvis
Lloh9:
	adrp	x8, _vendors_list@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vendors_list@GOTPAGEOFF]
Lloh11:
	ldr	x21, [x8]
	ldr	x20, [x21, #16]
	cbz	x20, LBB0_13
LBB0_8:
Lloh12:
	adrp	x22, _T_ANY@GOTPAGE
Lloh13:
	ldr	x22, [x22, _T_ANY@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x0, x21, #24
	ldr	x20, [x21, #40]
	mov	x21, x0
	cbz	x20, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #14
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #14
	mov	x1, x20
	bl	_cam_strmatch
	cbnz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x20, [x21, #8]
	ldr	x8, [x22]
	cmp	x20, x8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_SID_TYPE
	cmp	x20, x0
	b.ne	LBB0_9
LBB0_13:
	mov	x0, x21
LBB0_14:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_vendors_list,8,3               ; @vendors_list
	.comm	_VENDOR_ATA,8,3                 ; @VENDOR_ATA
	.comm	_T_ANY,8,3                      ; @T_ANY
	.no_dead_strip	_fw_get_vendor
.subsections_via_symbols
