	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_gpio_setup
_intel_gpio_setup:                      ## @intel_gpio_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	56(%rdi), %rdi
	leaq	16(%rbx), %r14
	callq	_get_gmbus_pin
	movl	(%rax), %edi
	callq	_GPIO
	movl	%eax, 8(%rbx)
	movq	%r14, (%rbx)
	movq	_set_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_set_clock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_get_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_get_clock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_intel_gpio_pre_xfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_intel_gpio_post_xfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_I2C_RISEFALL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$2200, %edi                     ## imm = 0x898
	callq	_usecs_to_jiffies
	movl	%eax, 24(%rbx)
	movq	%rbx, 16(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_set_data,4,2                   ## @set_data
	.comm	_set_clock,4,2                  ## @set_clock
	.comm	_get_data,4,2                   ## @get_data
	.comm	_get_clock,4,2                  ## @get_clock
	.comm	_intel_gpio_pre_xfer,4,2        ## @intel_gpio_pre_xfer
	.comm	_intel_gpio_post_xfer,4,2       ## @intel_gpio_post_xfer
	.comm	_I2C_RISEFALL_TIME,4,2          ## @I2C_RISEFALL_TIME
	.no_dead_strip	_intel_gpio_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_gpio_setup
_intel_gpio_setup:                      ; @intel_gpio_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #56]
	add	x20, x19, #16
	bl	_get_gmbus_pin
	ldr	w0, [x0]
	bl	_GPIO
	str	w0, [x19, #8]
	str	x20, [x19]
Lloh0:
	adrp	x8, _set_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _set_data@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #52]
Lloh3:
	adrp	x8, _set_clock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _set_clock@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _get_data@GOTPAGE
Lloh7:
	ldr	x9, [x9, _get_data@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #44]
Lloh9:
	adrp	x8, _get_clock@GOTPAGE
Lloh10:
	ldr	x8, [x8, _get_clock@GOTPAGEOFF]
Lloh11:
	adrp	x9, _intel_gpio_pre_xfer@GOTPAGE
Lloh12:
	ldr	x9, [x9, _intel_gpio_pre_xfer@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh15:
	adrp	x8, _intel_gpio_post_xfer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _intel_gpio_post_xfer@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _I2C_RISEFALL_TIME@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I2C_RISEFALL_TIME@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
	mov	w0, #2200
	bl	_usecs_to_jiffies
	str	w0, [x19, #24]
	str	x19, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_set_data,4,2                   ; @set_data
	.comm	_set_clock,4,2                  ; @set_clock
	.comm	_get_data,4,2                   ; @get_data
	.comm	_get_clock,4,2                  ; @get_clock
	.comm	_intel_gpio_pre_xfer,4,2        ; @intel_gpio_pre_xfer
	.comm	_intel_gpio_post_xfer,4,2       ; @intel_gpio_post_xfer
	.comm	_I2C_RISEFALL_TIME,4,2          ; @I2C_RISEFALL_TIME
	.no_dead_strip	_intel_gpio_setup
.subsections_via_symbols
