	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gb_interface_read_ara_dme
_gb_interface_read_ara_dme:             ## @gb_interface_read_ara_dme
	.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	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	_TOSHIBA_DMID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	movq	_DME_TOSHIBA_GMP_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_gb_interface_dme_attr_get
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_DME_TOSHIBA_GMP_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_gb_interface_dme_attr_get
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_DME_TOSHIBA_GMP_SN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_gb_interface_dme_attr_get
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_DME_TOSHIBA_GMP_SN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_gb_interface_dme_attr_get
	jmp	LBB0_6
LBB0_1:
	addq	$20, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOSHIBA_DMID,8,3               ## @TOSHIBA_DMID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown manufacturer %08x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_DME_TOSHIBA_GMP_VID,4,2        ## @DME_TOSHIBA_GMP_VID
	.comm	_DME_TOSHIBA_GMP_PID,4,2        ## @DME_TOSHIBA_GMP_PID
	.comm	_DME_TOSHIBA_GMP_SN0,4,2        ## @DME_TOSHIBA_GMP_SN0
	.comm	_DME_TOSHIBA_GMP_SN1,4,2        ## @DME_TOSHIBA_GMP_SN1
	.no_dead_strip	_gb_interface_read_ara_dme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gb_interface_read_ara_dme
_gb_interface_read_ara_dme:             ; @gb_interface_read_ara_dme
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _TOSHIBA_DMID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOSHIBA_DMID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _DME_TOSHIBA_GMP_VID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DME_TOSHIBA_GMP_VID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, x19, #8
	mov	x0, x19
	bl	_gb_interface_dme_attr_get
	cbnz	w0, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _DME_TOSHIBA_GMP_PID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DME_TOSHIBA_GMP_PID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, x19, #12
	mov	x0, x19
	bl	_gb_interface_dme_attr_get
	cbnz	w0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _DME_TOSHIBA_GMP_SN0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DME_TOSHIBA_GMP_SN0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_gb_interface_dme_attr_get
	cbnz	w0, LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _DME_TOSHIBA_GMP_SN1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DME_TOSHIBA_GMP_SN1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_gb_interface_dme_attr_get
	b	LBB0_6
LBB0_5:
	add	x0, x19, #20
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TOSHIBA_DMID,8,3               ; @TOSHIBA_DMID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown manufacturer %08x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_DME_TOSHIBA_GMP_VID,4,2        ; @DME_TOSHIBA_GMP_VID
	.comm	_DME_TOSHIBA_GMP_PID,4,2        ; @DME_TOSHIBA_GMP_PID
	.comm	_DME_TOSHIBA_GMP_SN0,4,2        ; @DME_TOSHIBA_GMP_SN0
	.comm	_DME_TOSHIBA_GMP_SN1,4,2        ; @DME_TOSHIBA_GMP_SN1
	.no_dead_strip	_gb_interface_read_ara_dme
.subsections_via_symbols
