	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdev_load
_cdev_load:                             ## @cdev_load
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.2:
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	leaq	L_str.8(%rip), %rdi
	callq	_puts
	leaq	L_str.9(%rip), %rdi
	callq	_puts
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_make_dev_args_init
	movq	_my_devsw@GOTPCREL(%rip), %rax
	movq	%rax, -16(%rbp)
	movq	_UID_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_GID_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$384, -32(%rbp)                 ## imm = 0x180
	movq	_sdev@GOTPCREL(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	_make_dev_s
	jmp	LBB0_5
LBB0_3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_sdev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_destroy_dev
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_my_devsw,4,2                   ## @my_devsw
	.comm	_UID_ROOT,4,2                   ## @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ## @GID_WHEEL
	.comm	_sdev,4,2                       ## @sdev
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"cdev"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_str:                                  ## @str
	.asciz	"Unloaded kld character device driver"

L_str.6:                                ## @str.6
	.asciz	"\nSample Loaded kld character device driver"

L_str.7:                                ## @str.7
	.asciz	"Copyright (c) 1998"

L_str.8:                                ## @str.8
	.asciz	"Rajesh Vaidheeswarran"

L_str.9:                                ## @str.9
	.asciz	"All rights reserved"

	.no_dead_strip	_cdev_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdev_load
_cdev_load:                             ; @cdev_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x0, l_str.6@PAGE
Lloh1:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_str.7@PAGE
Lloh3:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
Lloh4:
	adrp	x0, l_str.8@PAGE
Lloh5:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x0, l_str.9@PAGE
Lloh7:
	add	x0, x0, l_str.9@PAGEOFF
	bl	_puts
	add	x0, sp, #8
	bl	_make_dev_args_init
Lloh8:
	adrp	x8, _my_devsw@GOTPAGE
Lloh9:
	ldr	x8, [x8, _my_devsw@GOTPAGEOFF]
	str	x8, [sp, #24]
Lloh10:
	adrp	x8, _UID_ROOT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UID_ROOT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh13:
	adrp	x8, _GID_WHEEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GID_WHEEL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	mov	w9, #384
	stp	w9, w8, [sp, #8]
Lloh16:
	adrp	x1, _sdev@GOTPAGE
Lloh17:
	ldr	x1, [x1, _sdev@GOTPAGEOFF]
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_make_dev_s
	b	LBB0_5
LBB0_3:
Lloh20:
	adrp	x0, l_str@PAGE
Lloh21:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh22:
	adrp	x8, _sdev@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sdev@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_destroy_dev
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh25:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_my_devsw,4,2                   ; @my_devsw
	.comm	_UID_ROOT,4,2                   ; @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ; @GID_WHEEL
	.comm	_sdev,4,2                       ; @sdev
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"cdev"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_str:                                  ; @str
	.asciz	"Unloaded kld character device driver"

l_str.6:                                ; @str.6
	.asciz	"\nSample Loaded kld character device driver"

l_str.7:                                ; @str.7
	.asciz	"Copyright (c) 1998"

l_str.8:                                ; @str.8
	.asciz	"Rajesh Vaidheeswarran"

l_str.9:                                ; @str.9
	.asciz	"All rights reserved"

	.no_dead_strip	_cdev_load
.subsections_via_symbols
