	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ruleset_main                   ## -- Begin function ruleset_main
	.p2align	4, 0x90
_ruleset_main:                          ## @ruleset_main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_setprogname
	cmpl	$1, %ebx
	jg	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movq	8(%r14), %rdi
	callq	_eatonum
	movl	%eax, -20(%rbp)
	movq	_mpfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DEVFSIO_SUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"devfs ruleset"

	.comm	_mpfd,4,2                       ## @mpfd
	.comm	_DEVFSIO_SUSE,4,2               ## @DEVFSIO_SUSE
L_.str.1:                               ## @.str.1
	.asciz	"ioctl DEVFSIO_SUSE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ruleset_main                   ; -- Begin function ruleset_main
	.p2align	2
_ruleset_main:                          ; @ruleset_main
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_setprogname
	cmp	w20, #1
	b.gt	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_eatonum
	str	w0, [sp, #12]
Lloh2:
	adrp	x8, _mpfd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mpfd@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _DEVFSIO_SUSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEVFSIO_SUSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"devfs ruleset"

	.comm	_mpfd,4,2                       ; @mpfd
	.comm	_DEVFSIO_SUSE,4,2               ; @DEVFSIO_SUSE
l_.str.1:                               ; @.str.1
	.asciz	"ioctl DEVFSIO_SUSE"

.subsections_via_symbols
