	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_translate_addr          ## -- Begin function wlcore_translate_addr
	.p2align	4, 0x90
_wlcore_translate_addr:                 ## @wlcore_translate_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	16(%rdi), %ecx
	cmpl	%esi, %ecx
	jg	LBB0_3
## %bb.1:
	movl	20(%rdi), %edx
	addl	%ecx, %edx
	cmpl	%eax, %edx
	jle	LBB0_3
## %bb.2:
	subl	%ecx, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	8(%rdi), %ecx
	cmpl	%eax, %ecx
	jg	LBB0_6
## %bb.4:
	movl	12(%rdi), %edx
	addl	%ecx, %edx
	cmpl	%eax, %edx
	jle	LBB0_6
## %bb.5:
	subl	%ecx, %eax
	addl	20(%rdi), %eax
	popq	%rbp
	retq
LBB0_6:
	movl	(%rdi), %ecx
	cmpl	%eax, %ecx
	jg	LBB0_9
## %bb.7:
	movl	4(%rdi), %edx
	addl	%ecx, %edx
	cmpl	%eax, %edx
	jle	LBB0_9
## %bb.8:
	subl	%ecx, %eax
	addl	20(%rdi), %eax
	addl	12(%rdi), %eax
	popq	%rbp
	retq
LBB0_9:
	movl	24(%rdi), %ecx
	cmpl	%eax, %ecx
	jg	LBB0_12
## %bb.10:
	movl	28(%rdi), %edx
	addl	%ecx, %edx
	cmpl	%eax, %edx
	jle	LBB0_12
## %bb.11:
	subl	%ecx, %eax
	addl	20(%rdi), %eax
	addl	12(%rdi), %eax
	addl	4(%rdi), %eax
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_WARN
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HW address 0x%x out of range"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_translate_addr          ; -- Begin function wlcore_translate_addr
	.p2align	2
_wlcore_translate_addr:                 ; @wlcore_translate_addr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	ldr	w8, [x0, #16]
	cmp	w8, w1
	b.gt	LBB0_3
; %bb.1:
	ldr	w9, [x0, #20]
	add	w9, w9, w8
	cmp	w9, w2
	b.le	LBB0_3
; %bb.2:
	sub	w0, w2, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x0, #8]
	cmp	w8, w2
	b.gt	LBB0_6
; %bb.4:
	ldr	w9, [x0, #12]
	add	w9, w9, w8
	cmp	w9, w2
	b.le	LBB0_6
; %bb.5:
	ldr	w9, [x0, #20]
	sub	w8, w2, w8
	b	LBB0_9
LBB0_6:
	ldr	w8, [x0]
	cmp	w8, w2
	b.gt	LBB0_10
; %bb.7:
	ldr	w9, [x0, #4]
	add	w9, w9, w8
	cmp	w9, w2
	b.le	LBB0_10
; %bb.8:
	ldr	w9, [x0, #20]
	sub	w8, w2, w8
	add	w8, w8, w9
	ldr	w9, [x0, #12]
LBB0_9:
	add	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x0, #24]
	cmp	w8, w2
	b.gt	LBB0_13
; %bb.11:
	ldr	w9, [x0, #28]
	add	w9, w9, w8
	cmp	w9, w2
	b.le	LBB0_13
; %bb.12:
	ldr	w9, [x0, #20]
	sub	w8, w2, w8
	add	w8, w8, w9
	ldr	w9, [x0, #12]
	ldr	w10, [x0, #4]
	add	w8, w8, w9
	add	w0, w8, w10
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HW address 0x%x out of range"

.subsections_via_symbols
