	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpga_bridge_get                ## -- Begin function fpga_bridge_get
	.p2align	4, 0x90
_fpga_bridge_get:                       ## @fpga_bridge_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rdx
	movq	_fpga_bridge_class@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fpga_bridge_dev_match@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_class_find_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___fpga_bridge_get              ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fpga_bridge_class,4,2          ## @fpga_bridge_class
	.comm	_fpga_bridge_dev_match,4,2      ## @fpga_bridge_dev_match
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpga_bridge_get                ; -- Begin function fpga_bridge_get
	.p2align	2
_fpga_bridge_get:                       ; @fpga_bridge_get
	.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
	mov	x19, x1
	mov	x2, x0
Lloh0:
	adrp	x8, _fpga_bridge_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpga_bridge_class@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _fpga_bridge_dev_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fpga_bridge_dev_match@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, #0
	bl	_class_find_device
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___fpga_bridge_get
LBB0_2:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_fpga_bridge_class,4,2          ; @fpga_bridge_class
	.comm	_fpga_bridge_dev_match,4,2      ; @fpga_bridge_dev_match
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
