	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devtmpfs_create_node           ## -- Begin function devtmpfs_create_node
	.p2align	4, 0x90
_devtmpfs_create_node:                  ## @devtmpfs_create_node
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movq	_dev_mnt@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	leaq	-44(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_device_get_devnode
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	cmpl	$0, -44(%rbp)
	jne	LBB0_6
## %bb.5:
	movl	$384, -44(%rbp)                 ## imm = 0x180
LBB0_6:
	movq	%r15, %rdi
	callq	_is_blockdev
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_S_IFBLK@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_8:
	movq	_S_IFCHR@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	-44(%rbp), %eax
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	movq	_init_cred@GOTPCREL(%rip), %rdi
	callq	_override_creds
	movq	%rax, %r13
	movq	(%r14), %rsi
	movl	(%rsi), %edi
	movq	_LOOKUP_PARENT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdx
	callq	_vfs_path_lookup
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_create_path
	movq	(%r14), %rsi
	movl	(%rsi), %edi
	movl	(%r12), %ecx
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdx
	callq	_vfs_path_lookup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
LBB0_11:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_lookup_create
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_12
## %bb.15:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_12:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_sys_umask
	movl	%eax, %r13d
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	movl	-44(%rbp), %edx
	movl	(%r15), %ecx
	movq	%r12, %rsi
	callq	_vfs_mknod
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_sys_umask
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.13:
	movq	(%r12), %rax
	movq	%r14, (%rax)
LBB0_14:
	movq	%r12, %rdi
	callq	_dput
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_16:
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	callq	_mutex_unlock
	leaq	-56(%rbp), %rdi
	callq	_path_put
LBB0_17:
	movq	-64(%rbp), %rdi
	callq	_kfree
	movq	%r13, %rdi
	callq	_revert_creds
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_mnt,8,3                    ## @dev_mnt
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_S_IFBLK,4,2                    ## @S_IFBLK
	.comm	_S_IFCHR,4,2                    ## @S_IFCHR
	.comm	_init_cred,4,2                  ## @init_cred
	.comm	_LOOKUP_PARENT,4,2              ## @LOOKUP_PARENT
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devtmpfs_create_node           ; -- Begin function devtmpfs_create_node
	.p2align	2
_devtmpfs_create_node:                  ; @devtmpfs_create_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
Lloh0:
	adrp	x24, _dev_mnt@GOTPAGE
Lloh1:
	ldr	x24, [x24, _dev_mnt@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x1, sp, #20
	add	x2, sp, #24
	bl	_device_get_devnode
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_4
; %bb.3:
	mov	w8, #384
	str	w8, [sp, #20]
LBB0_4:
	mov	x0, x19
	bl	_is_blockdev
	cbz	x0, LBB0_8
; %bb.5:
Lloh2:
	adrp	x8, _S_IFBLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_IFBLK@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	w21, #0
	b	LBB0_18
LBB0_7:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_18
LBB0_8:
Lloh7:
	adrp	x8, _S_IFCHR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_IFCHR@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
Lloh9:
	adrp	x0, _init_cred@GOTPAGE
Lloh10:
	ldr	x0, [x0, _init_cred@GOTPAGEOFF]
	bl	_override_creds
	mov	x20, x0
	ldr	x1, [x24]
	ldr	w0, [x1]
Lloh11:
	adrp	x22, _LOOKUP_PARENT@GOTPAGE
Lloh12:
	ldr	x22, [x22, _LOOKUP_PARENT@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x4, sp, #8
	mov	x2, x21
	bl	_vfs_path_lookup
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_create_path
	ldr	x1, [x24]
	ldr	w0, [x1]
	ldr	w3, [x22]
	add	x4, sp, #8
	mov	x2, x21
	bl	_vfs_path_lookup
	mov	x21, x0
	cbnz	w0, LBB0_17
LBB0_11:
	add	x0, sp, #8
	mov	w1, #0
	bl	_lookup_create
	mov	x22, x0
	bl	_IS_ERR
	cbz	w0, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_16
LBB0_13:
	bl	_sys_umask
	mov	x23, x0
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
	ldr	w2, [sp, #20]
	ldr	w3, [x19]
	mov	x1, x22
	bl	_vfs_mknod
	mov	x21, x0
	mov	x0, x23
	bl	_sys_umask
	cbnz	w21, LBB0_15
; %bb.14:
	ldr	x8, [x22]
	str	x24, [x8]
LBB0_15:
	mov	x0, x22
	bl	_dput
LBB0_16:
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
	bl	_mutex_unlock
	add	x0, sp, #8
	bl	_path_put
LBB0_17:
	ldr	x0, [sp, #24]
	bl	_kfree
	mov	x0, x20
	bl	_revert_creds
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_mnt,8,3                    ; @dev_mnt
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_S_IFBLK,4,2                    ; @S_IFBLK
	.comm	_S_IFCHR,4,2                    ; @S_IFCHR
	.comm	_init_cred,4,2                  ; @init_cred
	.comm	_LOOKUP_PARENT,4,2              ; @LOOKUP_PARENT
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
