	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_capi20_get_manufacturer        ## -- Begin function capi20_get_manufacturer
	.p2align	4, 0x90
_capi20_get_manufacturer:               ## @capi20_get_manufacturer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_get_capi_ctr_by_nr
	movq	_CAPI_REGNOTINSTALLED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%rax), %rdx
	movq	_CARD_RUNNING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.4:
	addq	$8, %rax
	jmp	LBB0_5
LBB0_1:
	movq	_capi_manufakturer@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_CAPI_MANUFACTURER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_strlcpy
	movq	_CAPI_NOERROR@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_capi_manufakturer,4,2          ## @capi_manufakturer
	.comm	_CAPI_MANUFACTURER_LEN,4,2      ## @CAPI_MANUFACTURER_LEN
	.comm	_CAPI_NOERROR,4,2               ## @CAPI_NOERROR
	.comm	_CARD_RUNNING,8,3               ## @CARD_RUNNING
	.comm	_CAPI_REGNOTINSTALLED,4,2       ## @CAPI_REGNOTINSTALLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_capi20_get_manufacturer        ; -- Begin function capi20_get_manufacturer
	.p2align	2
_capi20_get_manufacturer:               ; @capi20_get_manufacturer
	.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	x19, x1
	cbz	x0, LBB0_5
; %bb.1:
	bl	_get_capi_ctr_by_nr
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CARD_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CARD_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	add	x8, x0, #8
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _CAPI_REGNOTINSTALLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAPI_REGNOTINSTALLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _capi_manufakturer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _capi_manufakturer@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _CAPI_MANUFACTURER_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CAPI_MANUFACTURER_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_strlcpy
Lloh10:
	adrp	x8, _CAPI_NOERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CAPI_NOERROR@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_capi_manufakturer,4,2          ; @capi_manufakturer
	.comm	_CAPI_MANUFACTURER_LEN,4,2      ; @CAPI_MANUFACTURER_LEN
	.comm	_CAPI_NOERROR,4,2               ; @CAPI_NOERROR
	.comm	_CARD_RUNNING,8,3               ; @CARD_RUNNING
	.comm	_CAPI_REGNOTINSTALLED,4,2       ; @CAPI_REGNOTINSTALLED
.subsections_via_symbols
