	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___devcgroup_inode_permission   ## -- Begin function __devcgroup_inode_permission
	.p2align	4, 0x90
___devcgroup_inode_permission:          ## @__devcgroup_inode_permission
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_S_ISBLK
	movq	_DEV_BLOCK@GOTPCREL(%rip), %rax
	movswl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	callq	_S_ISCHR
	movq	%rax, %r14
	movq	_DEV_CHAR@GOTPCREL(%rip), %rcx
	movq	_MAY_WRITE@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	movl	(%rax), %edx
	movl	$0, %eax
	andl	%r12d, %edx
	je	LBB0_2
## %bb.1:
	movq	_ACC_WRITE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
LBB0_2:
	movswl	(%rcx), %ebx
	movq	_MAY_READ@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r12d
	je	LBB0_4
## %bb.3:
	movq	_ACC_READ@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %r13d
LBB0_4:
	orl	%eax, %r13d
	movq	%r15, %rdi
	callq	_imajor
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_iminor
	testq	%r14, %r14
	cmovel	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movswl	%r13w, %ecx
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___devcgroup_check_permission   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_BLOCK,2,1                  ## @DEV_BLOCK
	.comm	_DEV_CHAR,2,1                   ## @DEV_CHAR
	.comm	_MAY_WRITE,4,2                  ## @MAY_WRITE
	.comm	_ACC_WRITE,2,1                  ## @ACC_WRITE
	.comm	_MAY_READ,4,2                   ## @MAY_READ
	.comm	_ACC_READ,2,1                   ## @ACC_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___devcgroup_inode_permission   ; -- Begin function __devcgroup_inode_permission
	.p2align	2
___devcgroup_inode_permission:          ; @__devcgroup_inode_permission
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_S_ISBLK
Lloh0:
	adrp	x8, _DEV_BLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_BLOCK@GOTPAGEOFF]
Lloh2:
	ldrsh	w22, [x8]
	ldr	w0, [x20]
	bl	_S_ISCHR
	mov	x21, x0
Lloh3:
	adrp	x8, _DEV_CHAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEV_CHAR@GOTPAGEOFF]
Lloh5:
	ldrsh	w23, [x8]
Lloh6:
	adrp	x8, _MAY_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAY_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ACC_WRITE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACC_WRITE@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w8, w19
	csel	w8, wzr, w9, eq
Lloh11:
	adrp	x9, _MAY_READ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAY_READ@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _ACC_READ@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ACC_READ@GOTPAGEOFF]
	ldrh	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w24, w9, w8
	mov	x0, x20
	bl	_imajor
	mov	x19, x0
	mov	x0, x20
	bl	_iminor
	mov	x2, x0
	cmp	x21, #0
	csel	w0, w22, w23, eq
	sxth	w3, w24
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___devcgroup_check_permission
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEV_BLOCK,2,1                  ; @DEV_BLOCK
	.comm	_DEV_CHAR,2,1                   ; @DEV_CHAR
	.comm	_MAY_WRITE,4,2                  ; @MAY_WRITE
	.comm	_ACC_WRITE,2,1                  ; @ACC_WRITE
	.comm	_MAY_READ,4,2                   ; @MAY_READ
	.comm	_ACC_READ,2,1                   ; @ACC_READ
.subsections_via_symbols
