	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_interface_create            ## -- Begin function gb_interface_create
	.p2align	4, 0x90
_gb_interface_create:                   ## @gb_interface_create
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$80, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, 72(%rbx)
	movq	%r15, 64(%rbx)
	movl	%r14d, 56(%rbx)
	leaq	52(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	44(%rbx), %rdi
	callq	_mutex_init
	leaq	40(%rbx), %rdi
	movq	_gb_interface_mode_switch_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%rbx, %rdi
	addq	$36, %rdi
	callq	_init_completion
	movq	_GB_INTERFACE_DEVICE_ID_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r15, 24(%rbx)
	movq	_greybus_bus_type@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_greybus_interface_type@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_interface_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_device_initialize
	movq	%r15, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_dev_set_name
	movq	_GB_INTERFACE_AUTOSUSPEND_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%rbx, %rdi
	callq	_trace_gb_interface_create
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_gb_interface_mode_switch_work,4,2 ## @gb_interface_mode_switch_work
	.comm	_GB_INTERFACE_DEVICE_ID_BAD,4,2 ## @GB_INTERFACE_DEVICE_ID_BAD
	.comm	_greybus_bus_type,4,2           ## @greybus_bus_type
	.comm	_greybus_interface_type,4,2     ## @greybus_interface_type
	.comm	_interface_groups,4,2           ## @interface_groups
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.%u"

	.comm	_GB_INTERFACE_AUTOSUSPEND_MS,4,2 ## @GB_INTERFACE_AUTOSUSPEND_MS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gb_interface_create            ; -- Begin function gb_interface_create
	.p2align	2
_gb_interface_create:                   ; @gb_interface_create
	.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	x21, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #80
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	stp	x21, x22, [x19, #64]
	add	x0, x19, #52
	str	w20, [x19, #56]
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_INIT_LIST_HEAD
	add	x0, x19, #44
	bl	_mutex_init
	add	x0, x19, #40
Lloh3:
	adrp	x8, _gb_interface_mode_switch_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gb_interface_mode_switch_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #36
	bl	_init_completion
Lloh6:
	adrp	x8, _GB_INTERFACE_DEVICE_ID_BAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GB_INTERFACE_DEVICE_ID_BAD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	x21, [x19, #24]
Lloh9:
	adrp	x8, _greybus_bus_type@GOTPAGE
Lloh10:
	ldr	x8, [x8, _greybus_bus_type@GOTPAGEOFF]
Lloh11:
	adrp	x9, _greybus_interface_type@GOTPAGE
Lloh12:
	ldr	x9, [x9, _greybus_interface_type@GOTPAGEOFF]
	stp	x9, x8, [x19, #8]
Lloh13:
	adrp	x8, _interface_groups@GOTPAGE
Lloh14:
	ldr	x8, [x8, _interface_groups@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x21]
	stp	w9, w8, [x19]
	mov	x0, x19
	bl	_device_initialize
	mov	x0, x21
	bl	_dev_name
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_dev_set_name
Lloh18:
	adrp	x8, _GB_INTERFACE_AUTOSUSPEND_MS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GB_INTERFACE_AUTOSUSPEND_MS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_trace_gb_interface_create
LBB0_2:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_gb_interface_mode_switch_work,4,2 ; @gb_interface_mode_switch_work
	.comm	_GB_INTERFACE_DEVICE_ID_BAD,4,2 ; @GB_INTERFACE_DEVICE_ID_BAD
	.comm	_greybus_bus_type,4,2           ; @greybus_bus_type
	.comm	_greybus_interface_type,4,2     ; @greybus_interface_type
	.comm	_interface_groups,4,2           ; @interface_groups
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.%u"

	.comm	_GB_INTERFACE_AUTOSUSPEND_MS,4,2 ; @GB_INTERFACE_AUTOSUSPEND_MS
.subsections_via_symbols
