	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function store_guid
LCPI0_0:
	.short	255                             ## 0xff
	.short	255                             ## 0xff
	.short	255                             ## 0xff
	.short	255                             ## 0xff
	.space	2
	.space	2
	.space	2
	.space	2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_store_guid:                            ## @store_guid
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_dev_get_drvdata
	movq	%rax, %r15
	leaq	-46(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-42(%rbp), %r9
	leaq	-40(%rbp), %r10
	leaq	-38(%rbp), %r11
	leaq	-36(%rbp), %rax
	leaq	-34(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	pushq	%rbx
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_sscanf
	addq	$32, %rsp
	cmpl	$8, %eax
	jne	LBB0_10
## %bb.1:
	movzwl	-48(%rbp), %ecx
	cmpq	$255, %rcx
	ja	LBB0_10
## %bb.2:
	movzwl	-46(%rbp), %eax
	cmpq	$255, %rax
	ja	LBB0_10
## %bb.3:
	movzwl	-44(%rbp), %edx
	cmpq	$255, %rdx
	ja	LBB0_10
## %bb.4:
	movq	-42(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <255,255,255,255,u,u,u,u>
	pminuw	%xmm0, %xmm1
	pcmpeqw	%xmm0, %xmm1
	pcmpeqd	%xmm2, %xmm2
	pxor	%xmm1, %xmm2
	pmovsxwd	%xmm2, %xmm1
	movmskps	%xmm1, %esi
	testl	%esi, %esi
	jne	LBB0_10
## %bb.5:
	movzwl	-34(%rbp), %esi
	cmpl	$255, %esi
	ja	LBB0_10
## %bb.6:
	movd	%xmm0, %esi
	shlq	$48, %rsi
	shlq	$32, %rdx
	orq	%rsi, %rdx
	shlq	$16, %rax
	orq	%rdx, %rax
	orq	%rcx, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, 16(%r15)
	movl	$1, (%r15)
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	movq	%rax, (%rcx)
LBB0_9:
	movq	%r14, %rdi
	callq	_strlen
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ipath_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx"

L_.str.1:                               ## @.str.1
	.asciz	"attempt to set invalid GUID\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_guid
_store_guid:                            ; @store_guid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_dev_get_drvdata
	mov	x20, x0
	add	x8, sp, #24
	add	x3, x8, #2
	add	x4, x8, #4
	add	x5, x8, #6
	add	x6, x8, #8
	add	x7, x8, #10
	add	x9, x8, #12
	add	x8, x8, #14
	stp	x9, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x0, x19
	bl	_sscanf
	cmp	w0, #8
	b.ne	LBB0_10
; %bb.1:
	ldrh	w8, [sp, #24]
	cmp	x8, #255
	b.hi	LBB0_10
; %bb.2:
	ldrh	w9, [sp, #26]
	cmp	x9, #255
	b.hi	LBB0_10
; %bb.3:
	ldrh	w10, [sp, #28]
	cmp	x10, #255
	b.hi	LBB0_10
; %bb.4:
	ldur	d0, [sp, #30]
	movi	d1, #0xff00ff00ff00ff
	cmhi.4h	v1, v0, v1
	umov.h	w11, v1[0]
	umov.h	w12, v1[1]
	and	w12, w12, #0x1
	bfi	w11, w12, #1, #1
	umov.h	w12, v1[2]
	and	w12, w12, #0x1
	bfi	w11, w12, #2, #1
	umov.h	w12, v1[3]
	bfi	w11, w12, #3, #29
	tst	w11, #0xf
	b.ne	LBB0_10
; %bb.5:
	ldrh	w11, [sp, #38]
	cmp	w11, #255
	b.hi	LBB0_10
; %bb.6:
	umov.h	w11, v0[0]
	lsl	x10, x10, #32
	bfi	x10, x11, #48, #16
	bfi	x10, x9, #16, #16
	orr	x8, x10, x8
	cbz	x8, LBB0_10
; %bb.7:
	str	x8, [x20, #16]
	mov	w9, #1
	str	w9, [x20]
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_9
; %bb.8:
	str	x8, [x9]
LBB0_9:
	mov	x0, x19
	bl	_strlen
	b	LBB0_11
LBB0_10:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ipath_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx"

l_.str.1:                               ; @.str.1
	.asciz	"attempt to set invalid GUID\n"

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