	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_gpio_simple_xlate
_of_gpio_simple_xlate:                  ## @of_gpio_simple_xlate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	cmpl	$1, %eax
	jg	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_WARN_ON
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	%eax, (%rsi)
	setl	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	8(%r15), %rcx
	movq	(%rcx), %rax
	cmpq	8(%rbx), %rax
	jge	LBB0_3
## %bb.5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	8(%rcx), %rax
	movq	%rax, (%r14)
	movq	(%rcx), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_of_gpio_simple_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_gpio_simple_xlate
_of_gpio_simple_xlate:                  ; @of_gpio_simple_xlate
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	b	LBB0_6
LBB0_2:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w9, [x1]
	cmp	w9, w8
	cset	w0, lt
	bl	_WARN_ON
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	x0, [x8]
	ldr	x9, [x20, #8]
	cmp	x0, x9
	b.ge	LBB0_6
; %bb.4:
	cbz	x19, LBB0_7
; %bb.5:
	ldr	x9, [x8, #8]
	str	x9, [x19]
	ldr	x0, [x8]
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_of_gpio_simple_xlate
.subsections_via_symbols
