	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_gpio_create
_intel_gpio_create:                     ## @intel_gpio_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	_intel_gpio_create.map_pin_to_reg(%rip), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	cmpq	%rbx, %rax
	jbe	LBB0_6
## %bb.1:
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	cmpq	$6, %rbx
	je	LBB0_7
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	movl	(%r13,%rbx,4), %eax
	movl	%eax, (%r14)
	movq	%r15, 64(%r14)
	leaq	8(%r14), %r12
	movl	28(%r14), %edi
	leaq	L_.str.1(%rip), %rax
	movsbl	(%rbx,%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%r14, %rax
	addq	$32, %rax
	movq	%rax, 16(%r14)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_set_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movq	_set_clock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_get_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_get_clock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_I2C_RISEFALL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movl	$2200, %edi                     ## imm = 0x898
	callq	_usecs_to_jiffies
	movl	%eax, 40(%r14)
	movq	%r14, 32(%r14)
	movq	%r12, %rdi
	callq	_i2c_bit_add_bus
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	callq	_kfree
LBB0_6:
	xorl	%r12d, %r12d
LBB0_7:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @intel_gpio_create.map_pin_to_reg
_intel_gpio_create.map_pin_to_reg:
	.long	0                               ## 0x0
	.long	132                             ## 0x84
	.long	133                             ## 0x85
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	128                             ## 0x80

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gma500 GPIO%c"

L_.str.1:                               ## @.str.1
	.asciz	"?BACDE?F"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.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	_I2C_RISEFALL_TIME,4,2          ## @I2C_RISEFALL_TIME
	.no_dead_strip	_intel_gpio_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_gpio_create
_intel_gpio_create:                     ; @intel_gpio_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _intel_gpio_create.map_pin_to_reg@PAGE
Lloh1:
	add	x23, x23, _intel_gpio_create.map_pin_to_reg@PAGEOFF
	mov	x0, x23
	bl	_ARRAY_SIZE
	cmp	x0, x22
	b.ls	LBB0_6
; %bb.1:
	mov	x20, #0
	cbz	x22, LBB0_7
; %bb.2:
	cmp	x22, #6
	b.eq	LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x19, x0
	ldr	w8, [x23, x22, lsl #2]
	str	w8, [x0]
	str	x21, [x0, #64]
	ldr	w0, [x0, #28]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	ldrsb	w3, [x8, x22]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x20, x19
	str	x8, [x20, #8]!
Lloh9:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	add	x8, x19, #32
	str	x8, [x19, #16]
Lloh12:
	adrp	x8, _set_data@GOTPAGE
Lloh13:
	ldr	x8, [x8, _set_data@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #60]
Lloh15:
	adrp	x8, _set_clock@GOTPAGE
Lloh16:
	ldr	x8, [x8, _set_clock@GOTPAGEOFF]
Lloh17:
	adrp	x9, _get_data@GOTPAGE
Lloh18:
	ldr	x9, [x9, _get_data@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #52]
Lloh21:
	adrp	x8, _get_clock@GOTPAGE
Lloh22:
	ldr	x8, [x8, _get_clock@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _I2C_RISEFALL_TIME@GOTPAGE
Lloh25:
	ldr	x9, [x9, _I2C_RISEFALL_TIME@GOTPAGEOFF]
Lloh26:
	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, x20
	bl	_i2c_bit_add_bus
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @intel_gpio_create.map_pin_to_reg
_intel_gpio_create.map_pin_to_reg:
	.long	0                               ; 0x0
	.long	132                             ; 0x84
	.long	133                             ; 0x85
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	128                             ; 0x80

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gma500 GPIO%c"

l_.str.1:                               ; @.str.1
	.asciz	"?BACDE?F"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.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	_I2C_RISEFALL_TIME,4,2          ; @I2C_RISEFALL_TIME
	.no_dead_strip	_intel_gpio_create
.subsections_via_symbols
