	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scx200_create_iface
_scx200_create_iface:                   ## @scx200_create_iface
	.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	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movl	36(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_scx200_acb_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_I2C_CLASS_HWMON@GOTPCREL(%rip), %rax
	movq	_I2C_CLASS_SPD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movq	%r14, 16(%rbx)
	movq	%rbx, %rdi
	callq	_mutex_init
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s ACB%d"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_scx200_acb_algorithm,4,2       ## @scx200_acb_algorithm
	.comm	_I2C_CLASS_HWMON,4,2            ## @I2C_CLASS_HWMON
	.comm	_I2C_CLASS_SPD,4,2              ## @I2C_CLASS_SPD
	.no_dead_strip	_scx200_create_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scx200_create_iface
_scx200_create_iface:                   ; @scx200_create_iface
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x20, #8
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w0, [x20, #36]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
Lloh5:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh8:
	adrp	x8, _scx200_acb_algorithm@GOTPAGE
Lloh9:
	ldr	x8, [x8, _scx200_acb_algorithm@GOTPAGEOFF]
Lloh10:
	adrp	x9, _I2C_CLASS_HWMON@GOTPAGE
Lloh11:
	ldr	x9, [x9, _I2C_CLASS_HWMON@GOTPAGEOFF]
Lloh12:
	adrp	x10, _I2C_CLASS_SPD@GOTPAGE
Lloh13:
	ldr	x10, [x10, _I2C_CLASS_SPD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x20, #8]
	stp	x19, x8, [x20, #16]
	mov	x0, x20
	bl	_mutex_init
LBB0_2:
	mov	x0, x20
	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	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s ACB%d"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_scx200_acb_algorithm,4,2       ; @scx200_acb_algorithm
	.comm	_I2C_CLASS_HWMON,4,2            ; @I2C_CLASS_HWMON
	.comm	_I2C_CLASS_SPD,4,2              ; @I2C_CLASS_SPD
	.no_dead_strip	_scx200_create_iface
.subsections_via_symbols
