	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_gpio_show_rev
_omap_gpio_show_rev:                    ## @omap_gpio_show_rev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$0, _omap_gpio_show_rev.called(%rip)
	jne	LBB0_3
## %bb.1:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_USHRT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	addq	(%rdi), %rax
	movq	%rax, %rdi
	callq	_readw_relaxed
	movl	%eax, %esi
	shrl	$4, %esi
	andl	$15, %esi
	andl	$15, %eax
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_info
	movb	$1, _omap_gpio_show_rev.called(%rip)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_omap_gpio_show_rev.called,1,2 ## @omap_gpio_show_rev.called
	.comm	_USHRT_MAX,8,3                  ## @USHRT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OMAP GPIO hardware version %d.%d\n"

	.no_dead_strip	_omap_gpio_show_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_gpio_show_rev
_omap_gpio_show_rev:                    ; @omap_gpio_show_rev
	.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
	adrp	x19, _omap_gpio_show_rev.called@PAGE
	ldrb	w8, [x19, _omap_gpio_show_rev.called@PAGEOFF]
	tbnz	w8, #0, LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _USHRT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USHRT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x0]
	add	x0, x9, x8
	bl	_readw_relaxed
	ubfx	w1, w0, #4, #4
	and	w2, w0, #0xf
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	w8, #1
	strb	w8, [x19, _omap_gpio_show_rev.called@PAGEOFF]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_omap_gpio_show_rev.called,1,2 ; @omap_gpio_show_rev.called
	.comm	_USHRT_MAX,8,3                  ; @USHRT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OMAP GPIO hardware version %d.%d\n"

	.no_dead_strip	_omap_gpio_show_rev
.subsections_via_symbols
