	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmbus_add_channel_kobj         ## -- Begin function vmbus_add_channel_kobj
	.p2align	4, 0x90
_vmbus_add_channel_kobj:                ## @vmbus_add_channel_kobj
	.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
	movq	%rdi, %r15
	leaq	4(%rsi), %r14
	movl	(%rsi), %r8d
	movl	(%rdi), %eax
	movl	%eax, 4(%rsi)
	movq	_vmbus_chan_ktype@GOTPCREL(%rip), %rsi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_kobject_init_and_add
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_vmbus_chan_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	addq	$4, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_4
LBB0_3:
	movq	_KOBJ_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kobject_uevent
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vmbus_chan_ktype,4,2           ## @vmbus_chan_ktype
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_vmbus_chan_group,4,2           ## @vmbus_chan_group
L_.str.1:                               ## @.str.1
	.asciz	"Unable to set up channel sysfs files\n"

	.comm	_KOBJ_ADD,4,2                   ## @KOBJ_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmbus_add_channel_kobj         ; -- Begin function vmbus_add_channel_kobj
	.p2align	2
_vmbus_add_channel_kobj:                ; @vmbus_add_channel_kobj
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x19], #4
	ldr	w4, [x1]
	str	w8, [x20, #4]!
Lloh0:
	adrp	x1, _vmbus_chan_ktype@GOTPAGE
Lloh1:
	ldr	x1, [x1, _vmbus_chan_ktype@GOTPAGEOFF]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_kobject_init_and_add
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.1:
Lloh4:
	adrp	x1, _vmbus_chan_group@GOTPAGE
Lloh5:
	ldr	x1, [x1, _vmbus_chan_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _KOBJ_ADD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KOBJ_ADD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kobject_uevent
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_vmbus_chan_ktype,4,2           ; @vmbus_chan_ktype
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_vmbus_chan_group,4,2           ; @vmbus_chan_group
l_.str.1:                               ; @.str.1
	.asciz	"Unable to set up channel sysfs files\n"

	.comm	_KOBJ_ADD,4,2                   ; @KOBJ_ADD
.subsections_via_symbols
