	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_gpio_sb_domain_translate
_xgene_gpio_sb_domain_translate:        ## @xgene_gpio_sb_domain_translate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, (%rsi)
	jne	LBB0_2
## %bb.1:
	movq	(%rdi), %rdi
	movq	8(%rsi), %rax
	movq	(%rax), %rsi
	cmpq	(%rdi), %rsi
	jge	LBB0_2
## %bb.3:
	movq	%rsi, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_xgene_gpio_sb_domain_translate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_gpio_sb_domain_translate
_xgene_gpio_sb_domain_translate:        ; @xgene_gpio_sb_domain_translate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.1:
	ldr	x10, [x0]
	ldr	x8, [x1, #8]
	ldr	x9, [x8]
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_3
; %bb.2:
	mov	w0, #0
	str	x9, [x2]
	ldr	x8, [x8, #8]
	str	w8, [x3]
	ret
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_xgene_gpio_sb_domain_translate
.subsections_via_symbols
