	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amba_find_device               ## -- Begin function amba_find_device
	.p2align	4, 0x90
_amba_find_device:                      ## @amba_find_device
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	$0, -16(%rbp)
	movq	%rsi, -8(%rbp)
	movq	%rdi, -32(%rbp)
	movl	%edx, -24(%rbp)
	movl	%ecx, -20(%rbp)
	movq	_amba_find_match@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_amba_bustype@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rdx
	xorl	%esi, %esi
	callq	_bus_for_each_dev
	movq	-16(%rbp), %rax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amba_bustype,4,2               ## @amba_bustype
	.comm	_amba_find_match,4,2            ## @amba_find_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amba_find_device               ; -- Begin function amba_find_device
	.p2align	2
_amba_find_device:                      ; @amba_find_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	stp	xzr, x1, [sp, #16]
	str	x0, [sp]
	stp	w2, w3, [sp, #8]
Lloh0:
	adrp	x8, _amba_find_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amba_find_match@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _amba_bustype@GOTPAGE
Lloh4:
	ldr	x0, [x0, _amba_bustype@GOTPAGEOFF]
	mov	x2, sp
	mov	x1, #0
	bl	_bus_for_each_dev
	ldr	x0, [sp, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_amba_bustype,4,2               ; @amba_bustype
	.comm	_amba_find_match,4,2            ; @amba_find_match
.subsections_via_symbols
