	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IFX_MEI_InitDevNode
_IFX_MEI_InitDevNode:                   ## @IFX_MEI_InitDevNode
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testl	%edi, %edi
	jne	LBB0_3
## %bb.1:
	movq	_dev_major@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_IFX_MEI_DEVNAME@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_bsp_mei_operations@GOTPCREL(%rip), %rdx
	callq	_register_chrdev
	movl	%eax, (%r15)
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_IFX_MEI_EMSG
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_major,4,2                  ## @dev_major
	.comm	_IFX_MEI_DEVNAME,4,2            ## @IFX_MEI_DEVNAME
	.comm	_bsp_mei_operations,4,2         ## @bsp_mei_operations
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"register_chrdev(%d %s) failed!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_IFX_MEI_InitDevNode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IFX_MEI_InitDevNode
_IFX_MEI_InitDevNode:                   ; @IFX_MEI_InitDevNode
	.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
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _dev_major@GOTPAGE
Lloh1:
	ldr	x20, [x20, _dev_major@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x19, _IFX_MEI_DEVNAME@GOTPAGE
Lloh3:
	ldr	x19, [x19, _IFX_MEI_DEVNAME@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh4:
	adrp	x2, _bsp_mei_operations@GOTPAGE
Lloh5:
	ldr	x2, [x2, _bsp_mei_operations@GOTPAGEOFF]
	bl	_register_chrdev
	str	w0, [x20]
	tbnz	w0, #31, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x0
	ldr	w2, [x19]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IFX_MEI_EMSG
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_major,4,2                  ; @dev_major
	.comm	_IFX_MEI_DEVNAME,4,2            ; @IFX_MEI_DEVNAME
	.comm	_bsp_mei_operations,4,2         ; @bsp_mei_operations
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"register_chrdev(%d %s) failed!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_IFX_MEI_InitDevNode
.subsections_via_symbols
