	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psb_intel_i2c_create           ## -- Begin function psb_intel_i2c_create
	.p2align	4, 0x90
_psb_intel_i2c_create:                  ## @psb_intel_i2c_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
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, 80(%rbx)
	movl	%r12d, 72(%rbx)
	movl	20(%rbx), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rcx
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rax
	addq	$24, %rax
	movq	%rax, 8(%rbx)
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	_set_data@GOTPCREL(%rip), %rax
	movq	%rax, 64(%rbx)
	movq	_set_clock@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_get_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_get_clock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	$20, 24(%rbx)
	movl	$2200, %edi                     ## imm = 0x898
	callq	_usecs_to_jiffies
	movl	%eax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movq	%rbx, %rdi
	callq	_i2c_bit_add_bus
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_data
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_set_clock
	movl	$20, %edi
	callq	_udelay
LBB0_4:
	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	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intel drm %s"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_get_data,4,2                   ## @get_data
	.comm	_get_clock,4,2                  ## @get_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psb_intel_i2c_create           ; -- Begin function psb_intel_i2c_create
	.p2align	2
_psb_intel_i2c_create:                  ; @psb_intel_i2c_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	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #88
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	x20, [x19, #80]
	str	w22, [x19, #72]
	ldr	w0, [x19, #20]
Lloh3:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x21
	bl	_snprintf
	mov	w8, #20
	mov	x9, x19
	str	w8, [x9, #24]!
Lloh8:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x20]
	stp	x8, x9, [x19]
Lloh11:
	adrp	x8, _set_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _set_data@GOTPAGEOFF]
Lloh13:
	adrp	x9, _set_clock@GOTPAGE
Lloh14:
	ldr	x9, [x9, _set_clock@GOTPAGEOFF]
	stp	x9, x8, [x19, #56]
Lloh15:
	adrp	x8, _get_data@GOTPAGE
Lloh16:
	ldr	x8, [x8, _get_data@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _get_clock@GOTPAGE
Lloh19:
	ldr	x9, [x9, _get_clock@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
	mov	w0, #2200
	bl	_usecs_to_jiffies
	str	w0, [x19, #40]
	str	x19, [x19, #32]
	mov	x0, x19
	mov	x1, x19
	bl	_i2c_set_adapdata
	mov	x0, x19
	bl	_i2c_bit_add_bus
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	bl	_set_data
	mov	x0, x19
	mov	w1, #1
	bl	_set_clock
	mov	w0, #20
	bl	_udelay
LBB0_4:
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intel drm %s"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_get_data,4,2                   ; @get_data
	.comm	_get_clock,4,2                  ; @get_clock
.subsections_via_symbols
